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
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
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.3k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
640
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
380
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
22
22k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
770
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
190
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
720
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
150
Featured
See All Featured
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Balancing Empowerment & Direction
lara
6
1.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The browser strikes back
jonoalderson
0
1.8k
Faster Mobile Websites
deanohume
310
32k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Building AI with AI
inesmontani
PRO
1
1.3k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Building Applications with DynamoDB
mza
96
7.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
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