Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filling an object but not creating it #48

Open
QuentinArnault opened this issue Feb 26, 2014 · 1 comment
Open

filling an object but not creating it #48

QuentinArnault opened this issue Feb 26, 2014 · 1 comment

Comments

@QuentinArnault
Copy link

Hi,

I had a look at your library, and I thing it can help me a lot. But I would like to use it for filling properties of an existing object.

Something like
MyClass *myObject = [[MyClass alloc] init]; NSDictionary *fixture = ...; [myObject parseDictionary:fixture];

But I did not find how to do it? I saw then custom initializer, but I prefer to create directly my instances.

Regards,
Quentin Arnault

@jdmunro
Copy link

jdmunro commented Feb 28, 2014

I'd also be interested in that. It is common with Core Data applications to update existing objects, rather than always creating new ones. I guess you could fudge it in with the custom initialiser blocks for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants