简体   繁体   中英

Turn iOS project to OSX

what is the easiest and fastest way to turn iOS project to work on OSX. I've already added OSX to project, and tried to use ios storboard. But it just load empty window. Is there any simply, tricky way to do this? I dont want to rebuild entire UI, and link all outlets, etc..

Although quite similar in some respect, iOS and OS X are completely different when it comes to interface. Main difference being that UIKit doesn't exist on OS X meaning that your UI isn't compatible with OS X.

All your UI code will need to be started from scratch but most of the backing logic should be ok depending on how you've architectured your application.

As mentioned by Mikael in the comments, AppKit for UIKit Developers is a great article for iOS Developers looking to expand onto OS X.

Also, Separated at birth: Why Apple won't merge OS X and iOS is also another good article to give you a better understanding on why it works like this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM