Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

grandM

macrumors 68000
Original poster
Oct 14, 2013
1,551
309
As apple moves forward into merging iOS and macOS is it worth the hassle to learn macOS API still?
Are there good recent books on macOS coding?
Isn't it better learning kotlin or java and running your program on all environments in a java VM or is performance bogus?
 
The difference between the macOS API and iOS API is very marginal from a coding perspective. Java VMs suck for performance.

Learn Objective-C and Swift.
are there good recent books on macOS api
 
The difference between the macOS API and iOS API is very marginal from a coding perspective. Java VMs suck for performance.

Learn Objective-C and Swift.
how bad is the performance impact of java VM actually?
 
One benchmark from 2011 done by Google measured the difference between Java and C++ (not that different from Obj-C or Swift on Mac) could be as high as a factor of 10.

Source:

https://days2011.scala-lang.org/sites/days2011/files/ws3-1-Hundt.pdf

As far as good books for Swift or Objective-C, I know Apple has a coding curriculum that teaches coding in their languages, but I could not personally recommend one as I am self-taught.
 
  • Like
Reactions: grandM
I doesnt really matter which API. Everything just like open file, draw some thing, call some function. Not importtant. Do you see any Apple software more special than Windows or Ubuntu software? The fact it, what you can do? What kind of computation you want to do?
 
IMO this June will tell.

I work with both UIKit and AppKit and at the moment UIKit is limited in comparison to AppKit. With that said, UIKit, due to a more rapid, larger audience, and consistent update cycle is much nicer to work with in many cases.

I think it's going to boil down to the depth of the experience you want in a macOS app for a long while: something small and quick, Marzipan. Something more depth, like window control, go with AppKit.

I personally am hoping two thing from Marzipan: UIKit being force to adopt some of the deeper experiential frameworks from the Mac to allow for more complex iPad apps (plz give me tableview columns) and AppKit to pull some of the view layering techniques and practices common in UIKit API back.

Stick with the core languages, though, because no matter what Apple decides to do, you'll be able to take the best avenue.
 
  • Like
Reactions: grandM
I remember the old school day, when the industry introduced RAD (Rapid Application Development), and Microsoft voluntarily innovation University program and Visual Basic. A breakthrough that bring coding principle to the students at almost any discipline. Decade later, Sun's Java follows, then Google's Android.
Now people talk about big data, AI, etc, coding is no more a job of scientist, but one of tailors instead.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.