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

Support for OS X platform? #33

Open erinhochstatter opened 9 years ago

erinhochstatter commented 9 years ago

I was hoping to use this for an OS X / Swift project, but noticed that it only supports iOS. Is this something that you're considering adding? If you could point me in the right direction, maybe I could try getting it to work.

aryaxt commented 9 years ago

What issue are you having? I'm sure it should be pretty simple to make to compatible with OSX. Will look into it

aryaxt commented 9 years ago

Update podspec to support both iOS and OSX

s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.8'
erinhochstatter commented 9 years ago

This is perfect, thanks!

aryaxt commented 9 years ago

Will add this to the next version

haxpor commented 8 years ago

It doesn't work for me. I added

s.ios.deployment_target = '5.0' s.osx.deployment_target = '10.8'

to podspec file. And in Podfile, I use

pod 'OCMapper', :path => "CustomPodspecs/OCMapper.podspec".

It doesn't fetch source code from github. Did I miss anything?

haxpor commented 8 years ago

It's okay now, if I use local podspec I need to have source code ready there. Thanks, it works now.