aryaxt / OCMapper

Objective-C library to easily map NSDictionary to model objects, works perfectly with Alamofire. ObjectMapper works similar to GSON
MIT License
347 stars 45 forks source link

Fix converting classes to Json that are part of "sub bundles" #34

Closed mikumi closed 8 years ago

mikumi commented 9 years ago

Fixes #23

Fix converting classes to Json that are part of 'sub bundles' of the main app (e.g. unit tests or cocoa pods).

This will:

Feedback appreciated. Please let me know if there is a better solution :-)

aryaxt commented 9 years ago

Awesome thanks, will look into it

aryaxt commented 8 years ago

sorry completely forgot to get back to this, and haven't looked into my repos forever? was there a problem with the code? have you been using it?

bestimmaa commented 8 years ago

Same problem here, will give this a try!

mikumi commented 8 years ago

Sorry, I can't provide much input anymore. When I closed this PR 3 weeks ago, I couldn't even remember I ever used OCMapper, or what it does (no offense! :-). @bestimmaa I hope the proposed fix still helps though, maybe you could leave a quick note?

bestimmaa commented 8 years ago

Of course I will report back :) Thanks for all the work you put into this. Anything else you are using for object mapping now? Like your lightweight approach but still exploring possibilities

mikumi commented 8 years ago

Hm I have used https://github.com/Mantle/Mantle a few times, but it looks like it's designed for Objective-C. But to be honest I have often also just rolled my own manual json<->object mapping solutions