Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cocoa Kucha Berlin 2013
Search
Robert Böhnke
January 22, 2014
Programming
2
2.1k
Cocoa Kucha Berlin 2013
My talk on "What's new in Mantle 2.0" for the Cocoa Kucha 2013 Berlin.
Robert Böhnke
January 22, 2014
Tweet
Share
More Decks by Robert Böhnke
See All by Robert Böhnke
Brooklyn iOS Developer Meetup February 2014
robb
8
3.2k
ReactiveCocoa NSSpain
robb
18
2.5k
Underscore.m + Asterism
robb
4
1.2k
ReactiveCocoa
robb
19
2.8k
Super Mario Masterclass
robb
2
340
Tetris Masterclass
robb
0
530
Other Decks in Programming
See All in Programming
配送計画の均等化機能を提供する取り組みについて(⽩⾦鉱業 Meetup Vol.21@六本⽊(数理最適化編))
izu_nori
0
150
非同期処理の迷宮を抜ける: 初学者がつまづく構造的な原因
pd1xx
1
720
開発に寄りそう自動テストの実現
goyoki
2
980
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
380
認証・認可の基本を学ぼう前編
kouyuume
0
240
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
150
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
140
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.2k
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
7.2k
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
160
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
680
TestingOsaka6_Ozono
o3
0
160
Featured
See All Featured
How GitHub (no longer) Works
holman
316
140k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Docker and Python
trallard
47
3.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Into the Great Unknown - MozCon
thekraken
40
2.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Agile that works and the tools we love
rasmusluckow
331
21k
Why Our Code Smells
bkeepers
PRO
340
57k
Code Reviewing Like a Champion
maltzj
527
40k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Transcript
MANTLE2.0 WHAT’S NEW IN ✉
[email protected]
@ceterum_CENSEO
@interface GHIssue : MTLModel <MTLJSONSerializing> @property (readonly, copy) NSURL
*URL; @property (readonly, copy) NSData *updatedAt; @end
[MTLJSONAdapter modelOfClass:GHIssue.class fromDictionary:dictionary error:&error];
#1 GOODBYE GITHUB.com/github Issue #200 [DONE]
github.com/mantleframework Issue #200 [DONE]
#2 EXPLICIT PROPERTY MAPPING Issue #149 [merged]
// 1.x + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"userID": @"id",
@"cacheKey": NSNull.null // implicit: // @"username": @"username" }; } Issue #149 [merged]
// 2.0 + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"userID": @"id",
@"username": @"username" }; } Issue #149 [merged]
@property (…) NSString *id @property (…) NSString *profile_url Issue #149
[merged]
#3 TRANSFORMER ERROR HANDLING Issue #153 [merged]
Issue #153 [merged] @protocol <MTLTransformerErrorHandling> ! - (id)transformedValue:(id)value success:(BOOL *)success
error:(NSError **)error; ! @end
#4 AuTOMATIC VALUE TRANSFORMERS Issue #188 [WIP]
Issue #188 [WIP] kCFBooleanTrue != @YES
Issue #188 [WIP] -[MTLJSONAdapter transformerForModelPropertiesOfClass:] ! -[MTLJSONAdapter transformerForModelPropertiesOfObjCType:]
#5 PROPERTY STORAGE BEHAVIOR* Issue #210 [WIP]
Issue #210 [WIP] -[MTLModel description] -[MTLModel isEqual:] -[MTLModel dictionaryValue]
#6 Longer-lived adapters Issue #151 [WIP]
Issue #151 [WIP] ?
questions? File A RADAR Issue
THANKS!