Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.objective-c > #49

New lib, KeyValueObjectMapping: Parsing any key/value type to an object

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Diego Chohfi <dchohfi@gmail.com>
Newsgroups comp.lang.objective-c
Subject New lib, KeyValueObjectMapping: Parsing any key/value type to an object
Date Thu, 10 May 2012 13:04:41 -0700 (PDT)
Organization http://groups.google.com
Lines 7
Message-ID <31390013.490.1336680281582.JavaMail.geo-discussion-forums@pbnf3> (permalink)
NNTP-Posting-Host 189.25.51.216
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1336680282 13599 127.0.0.1 (10 May 2012 20:04:42 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Thu, 10 May 2012 20:04:42 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=189.25.51.216; posting-account=s-mLTgoAAADfWqnx3Y1eGwbaS91OM7Nf
User-Agent G2/1.0
Xref csiph.com comp.lang.objective-c:49

Show key headers only | View raw


Hey guys, I've made a new library that makes life easy when you need to deal with key/value types. Based on convention over configuration you can parse any kind of key/value to an specific type using a single method.

You can override default behavior and add custom configs to the framework to deal with NSArray of objects (since objective-c don't support typed lists), aggregate properties and much more.

Check out and please, feel free to fork and send me a pull request. And asks for any new features will be a pleasure to be implemented.

github: https://github.com/dchohfi/KeyValueObjectMapping

Back to comp.lang.objective-c | Previous | Next | Find similar


Thread

New lib, KeyValueObjectMapping: Parsing any key/value type to an object Diego Chohfi <dchohfi@gmail.com> - 2012-05-10 13:04 -0700

csiph-web