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
2k
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
2.8k
ReactiveCocoa NSSpain
robb
18
2.3k
Underscore.m + Asterism
robb
4
1.2k
ReactiveCocoa
robb
19
2.6k
Super Mario Masterclass
robb
2
260
Tetris Masterclass
robb
0
490
Other Decks in Programming
See All in Programming
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
コードレビューで学ぶ!Kotlinオブジェクト指向デザインパターン
akkie76
2
200
ScalarDBを用いたマイクロサービスにおけるデータ管理 (Database Engineering Meetup #2)
scalar
0
110
Anthropic Cookbook のおすすめレシピ
schroneko
7
870
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
290
Goのmultiple errorsについて (2024年4月版)
syumai
3
550
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
ONE WEDGE_company_guide
1wedge_one
0
450
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
Designing for tomorrow's programming workflows
honnibal
PRO
2
120
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
940
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
6
910
Featured
See All Featured
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Building a Scalable Design System with Sketch
lauravandoore
456
32k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
Raft: Consensus for Rubyists
vanstee
132
6.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
It's Worth the Effort
3n
180
27k
Atom: Resistance is Futile
akmur
259
25k
Producing Creativity
orderedlist
PRO
337
39k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.5k
Web Components: a chance to create the future
zenorocha
305
41k
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!