MacOS X Programming Reference

Asked 2 years ago, Updated 2 years ago, 44 views

I would like to create a regular GUI program for MacOS X.

I have experience in developing GUI programs on Windows and old MacOS (the era of Chinese characters talk). I'm just a user of MacOS X.

Please tell me the recommended books and websites for studying MacOS X programs. Also, I have no plans to touch iOS at this time.

I would appreciate it if you could create a program in a tutorial format to a certain extent.

Japanese materials are desirable, but English is fine as long as they are of good quality. (e.g. Ruby on Rails Tutorial https://www.railstutorial.org/ in Rails) Also, as long as it's not particularly expensive, you can pay for it.

objective-c macos

2022-09-29 21:53

5 Answers

Essentially what you need to know about OSX application development is

  • Knowledge of programming languages such as Swift and Objective-C
  • Knowledge of Cocoa Framework
  • Knowledge of development environments such as Xcode

I think there is.

Here are some recommended books for each item.(I don't have any books yet.)

First of all, there are probably few or none of the latest information on Xcode 6.1, so it's best to refer to Apple documentation.

Or rather, you should look at Apple's official documentation.

I think it's better to learn Swift now because

  • Swift information is already sufficient
  • Swift is faster and easier to learn than Swift and Objective-C.
  • Perhaps Objective-C will disappear?

I think that's why I'll introduce Swift's book in this answer.

As mentioned in the previous answer, I recommend that you do iOS development first.I will not comment on this particular point.To add,

  • OSX can develop more non-coding, such as Core Data.

That's how it feels.

Details! Swift iPhone App Development Introductory Note Swift 1.1+Xcode 6.1+iOS 8.1 is recommended.

http://www.amazon.co.jp/%E8%A9%B3%E7%B4%B0%EF%BC%81Swift-iPhone%E3%82%A2%E3%83%97%E3%83%AA%E9%96%8B%E7%99%BA-%E5%85%A5%E9%96%80%E3%83%8E%E3%83%BC%E3%83%88-Swift-Xcode-ebook/dp/B00QT1VE2W/ref=sr_1_2?ie=UTF8&qid=1418799331&sr=8-2&keywords=Swift+%E5%85%A5%E9%96%80

Basically, it's an iOS book, but I think it says basic Xcode and how to write Swift.It's like looking at it roughly.

Mr. Hagiwara, who is famous for Detailed Objective-C, recently published Detailed Swift.I mean, I think this person's book is all I need for Objective-C and Swift references.

I'll tell you first.Especially here

There's no book with the latest information!!!!

As you mentioned earlier, Aaron Hiregas wrote, "MACOS X COCOA Programming Fourth Edition", which is from the era of Xcode 4.6, so you should refer to Apple's official or blog post for the latest information.

However, I think the basic information is on board, so I think it's worth reading it for that reason.

It goes without saying that Apple documents are the best, but for Xcode 5 books, Xcode 5 thorough explanation for iOS/OSX is recommended.

Basically, the functionality of the development environment itself has not changed much since Xcode5, so I think this book + Apple document is enough.

Also, there is a FRP trend these days, or ReactiveCocoa, but if you get used to the Cocoa application, you should take a quick look at the article.However, there are probably no books on Reactive Cocoa.


2022-09-29 21:53

Let's start with Apple's official tutorial.

Your First Mac App

It's a book, but Aaron Hillegass's Cocoa Programming for OS X is easy to understand.English is relatively easy, and each chapter introduces various functions of cocoa while creating a sample program, so it is not difficult to approach.
There is also a Japanese version, but it's a little old, so I might not be able to keep up with the recent updates around AppKit (this can be said in Japanese mac development books in general...).

http://www.amazon.co.jp/s/ref=dp_byline_sr_book_1?ie=UTF8&field-author=Aaron+Hillegass&search-alias=books-us&text=Aaron+Hillegass&sort=relevancerank

"However, it is difficult to say ""what is objective-c?"", so in that case, I think it would be better to start with the manual of objective-c."


2022-09-29 21:53

I think you have the impression that it's a detour, but I think it's good to have a little bit of a nibble at iOS development. The reason is

  • Many basic libraries are common: Many standard libraries, such as Foundation Framework and image processing, except around the UI, are common, so you can write the logic part in the same way.
  • More resources: iOS information is now overwhelmingly more on the web than OSX information, so if you look at features such as Google search, you have a lot of iOS resources. You need some iOS knowledge to take advantage of them.
  • Common development environment: Xcode can develop both iOS and OSX, but it's hard to master itself, but once you get used to iOS, you can use OSX the same way.

In my case, it was easier than I expected when I tried because I personally had to customize an open-source OSX app one day. Of course, I had to learn about the UI, but I had the impression that iOS was a stronger foundation.


2022-09-29 21:53

Is Objective-C brighter?

https://developer.apple.com/jp/documentation/Cocoa/Conceptual/ObjCTutorial/ObjCTutorial.pdf Cocoa Application Tutorial

It's an old document, so it's different in appearance and usability from the current Xcode, so I'm not sure if it's a good recommendation, but the basic flow of Cocoa app creation hasn't changed as part of it, so it might be helpful.Currently, Interface Builder is integrated with Xcode, so you can open and edit the Nib file in Xcode.


2022-09-29 21:53

I recommend a course called cs193p at Stanford University.Watch videos and slides free of charge on iTunes U.It's a very clear and easy explanation.I almost taught myself with this.Regarding the iOS course, I think the explanation of MVC model and the explanation of Objective-C and Xcode will be helpful.

http://www.stanford.edu/class/cs193p/cgi-bin/drupal/

ps. I used to make kanji talk. I miss it.Around System 7. :-)


2022-09-29 21:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.