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
Accessibility APIでテキストの内容、位置、サイズを取得する実装パターン
kishikawakatsumi
0
91
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
300
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
200
Running Swift without an OS
kishikawakatsumi
0
1.2k
浮動小数の比較について
kishikawakatsumi
0
640
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
280
愛される翻訳の秘訣
kishikawakatsumi
3
510
Private APIの呼び出し方
kishikawakatsumi
3
1.1k
iOSでSVG画像を扱う
kishikawakatsumi
0
270
Other Decks in Programming
See All in Programming
ChromeでローカルLLM
ryu1013
0
110
sbt 2.0: takeoff
eed3si9n
0
150
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
160
速習iPhone Duo対応
yuukiw00w
2
980
パスワード再設定メールのURLについて知っておこう
uyuki234
0
140
Are APIs Still Relevant in the AI Era?
soyuka
0
460
setup-vp GitLab対応の裏側
naokihaba
0
160
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
170
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
580
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Featured
See All Featured
Being A Developer After 40
akosma
92
590k
Code Review Best Practice
trishagee
74
20k
Technical Leadership for Architectural Decision Making
baasie
3
600
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
800
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
We Have a Design System, Now What?
morganepeng
55
8.4k
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