Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Breaking changes for Foundation API
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kishikawa Katsumi
July 14, 2015
Programming
9.2k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Breaking changes for Foundation API
Kishikawa Katsumi
July 14, 2015
More Decks by Kishikawa Katsumi
See All by Kishikawa Katsumi
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
240
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
180
Running Swift without an OS
kishikawakatsumi
0
1.1k
浮動小数の比較について
kishikawakatsumi
0
620
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
280
愛される翻訳の秘訣
kishikawakatsumi
3
500
Private APIの呼び出し方
kishikawakatsumi
3
1k
iOSでSVG画像を扱う
kishikawakatsumi
0
270
Build your own WebP codec in Swift
kishikawakatsumi
2
2.8k
Other Decks in Programming
See All in Programming
Jetpack Compose メカニズム
skydoves
0
420
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
620
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
200
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
220
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
120
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
170
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
480
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
200
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
110
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
180
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
170
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
240
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
540
Become a Pro
speakerdeck
PRO
31
6.3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Ruling the World: When Life Gets Gamed
codingconduct
0
330
Exploring anti-patterns in Rails
aemeredith
4
510
Six Lessons from altMBA
skipperchong
29
4.5k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Design in an AI World
tapps
1
320
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
Transcript
Breaking changes for Foundation API in iOS 9
https://github.com/kishikawakatsumi/ Kishikawa Katsumi http://kishikawakatsumi.hatenablog.com/
None
Next Realm Meetup • 7/23ʢʣ • 19:00ʙ • Sansanגࣜձࣾ
NSMutableDictionary - (void)setObject:(nullable ObjectType)obj forKeyedSubscript:(KeyType <NSCopying>)key Xcode 7beta
NSMutableDictionary - (void)setObject:(nullable ObjectType)obj forKeyedSubscript:(KeyType <NSCopying>)key Xcode 7beta
nilΛೖ͢Δͱྫ֎ => ཁૉͷআ NSMutableDictionary<NSString *, NSNumber *> *dic = [[NSMutableDictionary
alloc] init]; dic[@"key"] = @(1); NSLog(@"%@", dic); // => {"key": 1} dic[@"key"] = nil; NSLog(@"%@", dic); // => {}
Xcode 6.x dic[@"key"] = nil; // NSInvalidArgumentException
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init]; dictionary[@"id"] = model.identifier; if
(self.name) { dictionary[@"name"] = model.name; } if (self.email) { dictionary[@"email"] = model.email; }
NS_REFINED_FOR_SWIFT Xcode 7beta
#if !defined(SWIFT_CLASS_EXTRA) || (defined(SWIFT_SDK_OVERLAY_FOUNDATION_EPOCH) && SWIFT_SDK_OVERLAY_FOUNDATION_EPOCH >= 5) - (nullable
id)decodeObjectOfClasses:(nullable NSSet<Class> *)classes forKey:(NSString *)key NS_AVAILABLE(10_8, 6_0) NS_REFINED_FOR_SWIFT; #else - (nullable id)decodeObjectOfClasses:(nullable NSSet<Class> *)classes forKey:(NSString *)key NS_AVAILABLE(10_8, 6_0); #endif