port an iOS (iPhone) app to mac?

  1. There’s no easy way. It’s that simple. Depressingly, you simply have to become good at programming the Mac.

  2. “I’m pretty sure all the UIView stuff will work in that class” — unfortunately, no. Everything is different that enough you have to work hard.

It’s not a fun gig. Make sure you really, really think it’s worth it financially.

Apart from anything else, be aware of the “sibling views don’t work on OSX” problem if you stack up a lot of views in your iOS app. Essentially, you will have to change to using layers (instead of simply views) on the Mac if you rely on nested hierarchies of views here and there on the phone!

Click this link: Is there a proper way to handle overlapping NSView siblings? for the gory details on that particular problem!

Leave a Comment