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
3.1k
ReactiveCocoa NSSpain
robb
18
2.5k
Underscore.m + Asterism
robb
4
1.2k
ReactiveCocoa
robb
19
2.8k
Super Mario Masterclass
robb
2
320
Tetris Masterclass
robb
0
530
Other Decks in Programming
See All in Programming
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
710
ビルドプロセスをデバッグしよう!
yt8492
0
170
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
3
1.7k
Google Opalで使える37のライブラリ
mickey_kubo
3
180
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
300
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
5
1.1k
Amazon ECS Managed Instances が リリースされた!キャッチアップしよう!! / Let's catch up Amazon ECS Managed Instances
cocoeyes02
0
120
CSC305 Lecture 12
javiergs
PRO
0
250
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
140
contribution to astral-sh/uv
shunsock
0
570
data-viz-talk-cz-2025
lcolladotor
0
100
エンジニアに事業やプロダクトを理解してもらうためにやってること
murabayashi
0
100
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Music & Morning Musume
bryan
46
6.9k
Designing Experiences People Love
moore
142
24k
For a Future-Friendly Web
brad_frost
180
10k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
The Pragmatic Product Professional
lauravandoore
36
7k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
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!