Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
3k
ReactiveCocoa NSSpain
robb
18
2.4k
Underscore.m + Asterism
robb
4
1.2k
ReactiveCocoa
robb
19
2.7k
Super Mario Masterclass
robb
2
320
Tetris Masterclass
robb
0
520
Other Decks in Programming
See All in Programming
Memory API : Patterns, Performance et Cas d'Utilisation
josepaumard
1
160
ASP.NETアプリケーションのモダナイゼーションについて
tomokusaba
0
240
KawaiiLT 登壇資料 キャリアとモチベーション
hiiragi
0
160
The Implementations of Advanced LR Parser Algorithm
junk0612
1
1.3k
RubyKaigi Dev Meeting 2025
tenderlove
1
1.2k
一緒に働きたくなるプログラマの思想 #QiitaConference
mu_zaru
78
20k
大LLM時代にこの先生きのこるには-ITエンジニア編
fumiyakume
7
3.3k
MCP調べてみました! / Exploring MCP
uhzz
2
2.3k
Vibe Coding の話をしよう
schroneko
13
3.6k
Bedrock × Confluenceで簡単(?)社内RAG
iharuoru
1
110
ニーリーQAのこれまでとこれから
nealle
2
140
GitHub Copilot for Azureを使い倒したい
ymd65536
1
300
Featured
See All Featured
It's Worth the Effort
3n
184
28k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
105
19k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Faster Mobile Websites
deanohume
306
31k
How GitHub (no longer) Works
holman
314
140k
Being A Developer After 40
akosma
91
590k
Writing Fast Ruby
sferik
628
61k
Practical Orchestrator
shlominoach
187
11k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Statistics for Hackers
jakevdp
798
220k
[RailsConf 2023] Rails as a piece of cake
palkan
54
5.5k
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!