I want to know whether it is possible to run an iphonic application both in iphone and mac.If it is possible can you guys suggest me how it would be done.
Anyone’s help will be deeply appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is the option in Xcode to create
Universalapps. However, this will only cover iDevices. If you wish to compile the same code for MacOS as well you need to do it by inserting preprocessor conditionalsThat’s because the Mac and iOS APIs are at some point different (there are some classes that exclusively exist for each platform, e.g.
UIKit/AppKit)