Is it possible to develop an application for iMac that is portable to the iPad?

Are development environments the same? Does the iPad support Java?

+3
source share
4 answers

For development for iMac and iPad, you can use Xcode for both. Types of projects will vary.

I would not worry about Java if you are working on Apple platforms. Use Objective-C instead.

For Mac desktops, you usually use the NSFoundation and Cocoa framework. For mobile devices, you will use the NSFoundation and UIKit framework. Note that base data types reuse the same structure (NSFoundation), but the scope for graphical interfaces is different. This means that you can create common code if you use only NSFoundation. But you cannot use the same code to work with graphical interfaces. This makes sense, as the graphical interfaces for the desktop and mobile devices are very different.

+3
source

iPad ++, Objective-C JavaScript. . , iPad , , cocoa touch, cocoa Mac.

+1

Apple XCode IDE Mac OS X, iOS-. Mac, , - , , .

, Java iPad, , , . - , Apple Flash.

, .

+1

You can use Xcode / Objective-C for both, but at least the user interface code will be completely different. You may be able to exchange some backend code and libraries.

Java is not supported on the iPad. You get into C / C ++ / Objective-C and JavaScript.

+1
source

Source: https://habr.com/ru/post/1761846/


All Articles