Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between iPhone development and Mac OSX development [closed]

This question is for all the programmers who code in iphone as well as the Mac OSX platform.

I have been searching on Google for quite some time, but I could not find any good answer, and so I am posting the question here. Please apologize if this is not a programming question.

  1. Question on development overview:

    I would like to know how the iphone development tools are different from Mac OSX development tools.

  2. Question on the programming language:

    Is the programming done in objective-c for mac-osx as well ? Will it be the same syntax and format (for example, to create a button or textField)... ?

  3. Question on the libraries:

    If the programming is done in Xcode, how will the classes and libraries for touch and navigation be for the development in Mac OSX. ? And is there an interface builder ?

  4. Question on Simulation and Testing:

    Is it as easy as iPhone development to simulate and test the app in a Simulator ?

like image 634
Legolas Avatar asked Jul 01 '11 21:07

Legolas


People also ask

What is the difference between OSX and iOS?

The macOS, previously MacOS X, is a desktop operating system that runs on Macintosh computers, and iOS is a mobile operating system that runs on apple's iPhones.

Do you need a Mac for iPhone development?

Yes, you need a Mac. It's the basic requirement for iOS development. To develop an iPhone (or iPad) app, you need to first get a Mac with Intel-based processor running on Mac OS X version 10.8 (or up). Probably you still own a PC, the cheapest option is to purchase the Mac Mini.

Is used to develop apps for macOS and iOS?

The Apple SDKs are sets of tools and APIs that you can use to develop apps for iOS, macOS, and tvOS. Each SDK includes a number of system APIs and frameworks that you can use to build your app's UI and functionality, and interact with OS features.

What is macOS development?

To become a macOS developer, you will need two things: A Mac running macOS Big Sur: The macOS operating system only runs on Apple computers, so you need a Mac both to develop and run macOS apps. Xcode: This is the IDE used to create macOS apps. You'll learn how to install this later in this section.


Video Answer


2 Answers

  • Tools are the same, you'll use Xcode just as with iOS Development.

  • The same language and syntax is used.

  • There are some differences, the most important being Garbage Collection, which is available on the Mac but not on iOS. View Controllers also play a different role and, of course, different libraries and APIs are used. Most of the UI elements you're used to on the iPhone (tabbar, navbars, ...) are not present on the Mac..

  • In terms of testing, it is pretty straightforward like on the iPhone.

like image 35
Iñigo Beitia Avatar answered Oct 09 '22 02:10

Iñigo Beitia


  1. Many different UI elements and interactions.
  2. The same.
  3. Different.
  4. IMHO yes.

You may want to check out these posts to help you transition:

Jumping from iOS to OSX

Removing iOS SDKs from OSX

like image 178
PengOne Avatar answered Oct 09 '22 01:10

PengOne