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
310
Tetris Masterclass
robb
0
520
Other Decks in Programming
See All in Programming
Conform を推す - Advocating for Conform
mizoguchicoji
3
700
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
700
SpringBoot3.4の構造化ログ #kanjava
irof
3
1k
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
220
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
280
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
12
4.4k
AIプログラミング雑キャッチアップ
yuheinakasaka
1
580
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
400
AWS Organizations で実現する、 マルチ AWS アカウントのルートユーザー管理からの脱却
atpons
0
160
DROBEの生成AI活用事例 with AWS
ippey
0
140
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
250
負債になりにくいCSSをデザイナとつくるには?
fsubal
10
2.5k
Featured
See All Featured
Building an army of robots
kneath
303
45k
Designing for humans not robots
tammielis
250
25k
Scaling GitHub
holman
459
140k
The Cult of Friendly URLs
andyhume
78
6.2k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Designing Experiences People Love
moore
140
23k
Designing for Performance
lara
604
68k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
9
500
4 Signs Your Business is Dying
shpigford
182
22k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Into the Great Unknown - MozCon
thekraken
35
1.6k
Building Applications with DynamoDB
mza
93
6.2k
Transcript
MANTLE2.0 WHAT’S NEW IN ✉ robb@robb.is @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!