Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 13, 2013, 07:58 AM   #1
Mvkoe
macrumors member
 
Join Date: Aug 2008
Location: Belgium
Creating Mac apps.

Hey

I'm willing to start programming for mac, but I'm a bit lost on the programming of opening a new view/window with apps for mac.

I have a bit of experience with programming for iPhone, and from that i know that you can push views, working with segue's and stuff. But in mac programming it's a bit different. I can't seem to find some books or tutorials on simple things, like when i click a button a new window will appear with some stuff that i would get from the previous window. Like iPhone programming you could use the push to segue thingy.

Does anyone can say some good books on start making apps for mac ?

Regards.
Mvkoe is offline   0 Reply With Quote
Old Sep 13, 2013, 09:13 AM   #2
robvas
macrumors 68000
 
Join Date: Mar 2009
Location: USA
This is the classic guide to Mac programming:

http://www.bignerdranch.com/book/coc..._x_th_edition_

Apple has some free material here:

https://developer.apple.com/library/...roduction.html
robvas is offline   0 Reply With Quote
Old Sep 13, 2013, 11:44 AM   #3
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Segues and storyboards are a relatively recent addition to the iOS SDK (they're about 2 years old now,) that haven't been added to the OS X SDK yet. They aren't really needed, though, because whereas in iOS apps normally have strictly defined flows to them, OS X apps often don't. There's a menubar that can be accessed at any time which is often full of ways of jumping between different parts of an OS X application, for example.

The closest thing you can do is instead use XIBs, which are available for and have roughly the same features in both OS X and iOS.

Alternatively, you're not limited to Xcode / Obj-C / Cocoa when you do Mac development. There are numerous other IDEs and languages you could choose to write OS X applications in. You could choose to use Python or Java, instead, which have the advantage of being (relatively) easy to port to other platforms. Unless you want to sell your app via the Mac App Store. Apple requires those apps to be native. But again, unlike with iOS where Apple's store is the only way of distributing your apps, on OS X you could set up your own store online, or distribute through Amazon, or Steam, to name a few options.
__________________
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
ArtOfWarfare is online now   0 Reply With Quote
Old Sep 13, 2013, 11:50 AM   #4
Mvkoe
Thread Starter
macrumors member
 
Join Date: Aug 2008
Location: Belgium
Quote:
Originally Posted by ArtOfWarfare View Post
Segues and storyboards are a relatively recent addition to the iOS SDK (they're about 2 years old now,) that haven't been added to the OS X SDK yet. They aren't really needed, though, because whereas in iOS apps normally have strictly defined flows to them, OS X apps often don't. There's a menubar that can be accessed at any time which is often full of ways of jumping between different parts of an OS X application, for example.

The closest thing you can do is instead use XIBs, which are available for and have roughly the same features in both OS X and iOS.

Alternatively, you're not limited to Xcode / Obj-C / Cocoa when you do Mac development. There are numerous other IDEs and languages you could choose to write OS X applications in. You could choose to use Python or Java, instead, which have the advantage of being (relatively) easy to port to other platforms. Unless you want to sell your app via the Mac App Store. Apple requires those apps to be native. But again, unlike with iOS where Apple's store is the only way of distributing your apps, on OS X you could set up your own store online, or distribute through Amazon, or Steam, to name a few options.
Thanks for the comments! Yea i know about Java, i've started programming there, but now i want to go the objective-c road on, for making apps for in the mac app store.
Mvkoe is offline   0 Reply With Quote
Old Sep 14, 2013, 11:11 PM   #5
MeUnix
macrumors 6502
 
Join Date: Aug 2013
Location: San Francisco
Quote:
Originally Posted by Mvkoe View Post



Does anyone can say some good books on start making apps for mac ?

Regards.
A good book to learn Obj-C so you can make apps for the Mac App Store is "Learn Objective-C on the Mac: For OS X and iOS; Second Edition" by Scott Knaster, Waqar Malik, Mark Dalrymple.

This is the book I started with when I started learning Obj-C for OS X.

Hope this helps!
__________________
13" ALUM MacBook, 2.0 GHz, 6 GB RAM, 120 GB SSD, OS X 10.9 Mavericks ; 13" ALUM MacBook, 2.0 GHz, 4 GB RAM, 160 GB HDD, OS X 10.8.5 ML iPhone 4S 16GB iOS 7.0.2
MeUnix is offline   0 Reply With Quote
Old Sep 15, 2013, 10:08 AM   #6
Miguel Cunha
macrumors regular
 
Join Date: Sep 2012
Location: Braga, Portugal
Since I also want to begin learning Objective-C, can anyone give me feedback on this book?

Programming in Objective-C (5th Edition) (Developer's Library) by Stephen Kochan.

Thank you in advance.
Miguel Cunha is offline   0 Reply With Quote
Old Sep 19, 2013, 06:47 AM   #7
Ja Di ksw
macrumors 65816
 
Join Date: Apr 2003
Send a message via AIM to Ja Di ksw
Quote:
Originally Posted by Miguel Cunha View Post
Since I also want to begin learning Objective-C, can anyone give me feedback on this book?

Programming in Objective-C (5th Edition) (Developer's Library) by Stephen Kochan.

Thank you in advance.
Kochan is good, I'm reading him now. His books are usually on the recommended reading list.

Also, as one noobie learning to another, good luck
__________________
Fetch Daddy's blue fright wig! I must be handsome when I unleash my rage.
Ja Di ksw is offline   0 Reply With Quote
Old Sep 19, 2013, 10:40 AM   #8
Miguel Cunha
macrumors regular
 
Join Date: Sep 2012
Location: Braga, Portugal
Quote:
Originally Posted by Ja Di ksw View Post
Kochan is good, I'm reading him now. His books are usually on the recommended reading list.

Also, as one noobie learning to another, good luck
thank you Ja Di ksw, not only for the recommendation, but also also for your support.

Best wishes for you as well.
Miguel Cunha is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Any Apps for creating MaryBeaureaux Mac Applications and Mac App Store 0 Oct 28, 2013 04:05 PM
Redesigning one of the best form and document creating apps for iOS - your thoughts CrystalWorks iPad Apps 4 May 29, 2013 11:05 AM
Creating 12 Apps in 12 Months - App 3 Complete TheFinch iPhone and iPod touch Apps 2 Oct 2, 2012 09:28 PM
Creating 12 Apps in 12 Months - App 2 Complete TheFinch iPhone and iPod touch Apps 5 Sep 2, 2012 09:23 PM
Creating 12 Apps in 12 Months - App 1 Complete TheFinch iPhone and iPod touch Apps 0 Aug 10, 2012 11:28 PM

Forum Jump

All times are GMT -5. The time now is 08:30 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC