Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 17, 2012, 12:03 PM   #1
tweaknmod
macrumors member
 
Join Date: Feb 2012
Location: Ottawa, Ontario
Never coded before; need advice!

I'm interested in trying my hand at coding. Specifically, I would like to learn how to code tweaks and modification style programs for OSX. Examples: Nocturne, BetterTouchTool, Dragthing, etc.

What kind of coding should I be looking into? Are there any beginner guides that you might be able to point me to?

Thanks in advance!
__________________
Sony Xperia Z - cm 10.1 (boo tall iPhones)
2012 MBA i7, 8GB, 500HDD
:apple" iPad mini - LTE
...all tweaked and modded beyond recognition
tweaknmod is offline   0 Reply With Quote
Old Jul 17, 2012, 01:12 PM   #2
Catfish_Man
macrumors 68030
 
Catfish_Man's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Send a message via AIM to Catfish_Man
Quote:
Originally Posted by tweaknmod View Post
I'm interested in trying my hand at coding. Specifically, I would like to learn how to code tweaks and modification style programs for OSX. Examples: Nocturne, BetterTouchTool, Dragthing, etc.

What kind of coding should I be looking into? Are there any beginner guides that you might be able to point me to?

Thanks in advance!
Modifying other programs without access to their source is extremely tricky stuff. It'll take you years to be able to do that. Something like Nocturne might be doable as a regular-ish Cocoa app though (by overlaying the screen with a transparent window and applying core image filters to it or something)...
Catfish_Man is offline   1 Reply With Quote
Old Jul 17, 2012, 02:08 PM   #3
tweaknmod
Thread Starter
macrumors member
 
Join Date: Feb 2012
Location: Ottawa, Ontario
Quote:
Originally Posted by Catfish_Man View Post
Modifying other programs without access to their source is extremely tricky stuff. It'll take you years to be able to do that. Something like Nocturne might be doable as a regular-ish Cocoa app though (by overlaying the screen with a transparent window and applying core image filters to it or something)...
So I should start with "Cocoa"?

Ok cool, thanks!
__________________
Sony Xperia Z - cm 10.1 (boo tall iPhones)
2012 MBA i7, 8GB, 500HDD
:apple" iPad mini - LTE
...all tweaked and modded beyond recognition
tweaknmod is offline   0 Reply With Quote
Old Jul 17, 2012, 02:19 PM   #4
larswik
macrumors 65816
 
Join Date: Sep 2006
If you have never programmed before I would start with something that teaches you the fundamentals of programming so you grasp the concept.

I would try and start with C.

-Lars
__________________
I know more than yesterday.
Lars
larswik is offline   0 Reply With Quote
Old Jul 17, 2012, 02:31 PM   #5
iMacFarlane
macrumors 65816
 
iMacFarlane's Avatar
 
Join Date: Apr 2012
Location: Phaselocking Psychos somewhere on Pandora
If you have never coded before, not even BASIC or PASCAL or C, there's quite a bit of homework to get up and running.

The following books can't be recommended enough to get you going:

http://www.amazon.com/Programming-Objective-C-Edition-Developers-Library/dp/0321811909/ref=dp_ob_title_bk

http://www.amazon.com/Objective-C-Programming-Ranch-Guide-Guides/dp/0321706285/ref=tmm_pap_title_popover?ie=UTF8&qid=1342553325&sr=1-3

http://www.amazon.com/Cocoa-Programming-Mac-4th-Edition/dp/0321774086/ref=pd_sim_b_4

Have fun!
__________________
Knowledge is power. Learn something new every day!
iMacFarlane is offline   0 Reply With Quote
Old Jul 17, 2012, 02:41 PM   #6
DrMotownMac
macrumors regular
 
Join Date: Jul 2008
Quote:
Originally Posted by iMacFarlane View Post
Thanks for the advice, as I'm in a similar situation to the original poster. I just started reading "Objective-C Programming: The Big Nerd Ranch Guide." Do you think people like us should read "Programming in Objective-C " (the Kochan book) FIRST, before the Big Nerd Ranch Guide? Or does it really matter what order we do this in? Also, if I read one of those Objective-C books (and presumably really understand it), do I really need to read the other, or could I just move on to the Cocoa Programming book?

Finally, what about programming for iOS? Is it best to get the Mac programming down first, then move on to iOS programming, and which books are best in that area?
DrMotownMac is offline   0 Reply With Quote
Old Jul 17, 2012, 03:40 PM   #7
robvas
macrumors 68000
 
Join Date: Mar 2009
Location: USA
Quote:
Originally Posted by DrMotownMac View Post
Thanks for the advice, as I'm in a similar situation to the original poster. I just started reading "Objective-C Programming: The Big Nerd Ranch Guide." Do you think people like us should read "Programming in Objective-C " (the Kochan book) FIRST, before the Big Nerd Ranch Guide? Or does it really matter what order we do this in? Also, if I read one of those Objective-C books (and presumably really understand it), do I really need to read the other, or could I just move on to the Cocoa Programming book?

Finally, what about programming for iOS? Is it best to get the Mac programming down first, then move on to iOS programming, and which books are best in that area?
The Big Nerd Ranch Objective-C book is a lighter, more introductory text. You can move on to a book about Cocoa or Cocoa Touch after you've read it.

You don't need to learn Mac programming before iOS. But you do need to know Objective-C.
robvas is offline   0 Reply With Quote
Old Jul 17, 2012, 03:47 PM   #8
nishioka
macrumors member
 
Join Date: Mar 2011
Quote:
Originally Posted by DrMotownMac View Post
Finally, what about programming for iOS? Is it best to get the Mac programming down first, then move on to iOS programming, and which books are best in that area?
I'm looking through Big Nerd Ranch's iOS book now. Pretty detailed, but assumes familiarity with Objective-C - or at least with object-oriented programming in another language. I come from a VB.NET/C# background and it's pretty easy to follow.
nishioka is offline   0 Reply With Quote
Old Jul 17, 2012, 03:51 PM   #9
SnowLeopard2008
macrumors 603
 
SnowLeopard2008's Avatar
 
Join Date: Jul 2008
Location: Silicon Valley
Send a message via AIM to SnowLeopard2008
I'd start with C. That gives you a solid foundation. Then I'd go with C++. And Objective-C right after that. Don't start the top of the pyramid and go down, do the opposite.
__________________
YouTube | @beautifulcode
Mac Pro | Thunderbolt Display | iPhone 5 | iPad mini | Apple TV | AirPort Extreme | iPad signed by Steve Wozniak
SnowLeopard2008 is offline   0 Reply With Quote
Old Jul 17, 2012, 03:53 PM   #10
bit density
macrumors 6502
 
Join Date: Mar 2004
Location: Seattle
Don't go all back to the basics. Have your dream, your idea, and execute it. So it will be hard, your motivated to figure out how to do exactly what you want to do. By the end you'll be a subject matter expert about this. It may have taken you awhile, it may be easy for you, doesn't matter.

Starting with the basics will also take a long time, but it will be peppered with stuff that has very little meaning for you, and won't be interesting.

Try and do what it is that you want to do. First step of asking here, was fine. But ask in a few places. Read some stuff. Find some webpages. Maybe there is a course on ItunesU...

There is nothing to hold you back. Just do it.
__________________
-- Bit Density --
bit density is offline   1 Reply With Quote
Old Jul 17, 2012, 04:12 PM   #11
DrMotownMac
macrumors regular
 
Join Date: Jul 2008
Quote:
Originally Posted by bit density View Post
Don't go all back to the basics. Have your dream, your idea, and execute it. So it will be hard, your motivated to figure out how to do exactly what you want to do. By the end you'll be a subject matter expert about this. It may have taken you awhile, it may be easy for you, doesn't matter.

Starting with the basics will also take a long time, but it will be peppered with stuff that has very little meaning for you, and won't be interesting.

Try and do what it is that you want to do. First step of asking here, was fine. But ask in a few places. Read some stuff. Find some webpages. Maybe there is a course on ItunesU...

There is nothing to hold you back. Just do it.
I LOVE inspirational posts like this!! I WILL do it! Right after I figure out how....
DrMotownMac is offline   1 Reply With Quote
Old Jul 17, 2012, 04:41 PM   #12
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
Learning C and Objective C right away is way too much like going back to college, that hard deadly course that more than a few people flunk or drop out of.

I would start with an old out of print book on Basic or Logo for the Apple II. Or a kids programming site for something like Alice. Or maybe one of those Javascript tutorials that runs right in Safari.

Moving up after some practice coding is easier than going directly for the high bar.
firewood is offline   0 Reply With Quote
Old Jul 17, 2012, 04:58 PM   #13
larswik
macrumors 65816
 
Join Date: Sep 2006
Quote:
Originally Posted by bit density View Post
Don't go all back to the basics. Have your dream, your idea, and execute it. So it will be hard, your motivated to figure out how to do exactly what you want to do. By the end you'll be a subject matter expert about this. It may have taken you awhile, it may be easy for you, doesn't matter.

Starting with the basics will also take a long time, but it will be peppered with stuff that has very little meaning for you, and won't be interesting.

Try and do what it is that you want to do. First step of asking here, was fine. But ask in a few places. Read some stuff. Find some webpages. Maybe there is a course on ItunesU...

There is nothing to hold you back. Just do it.

This I disagree with and here is why. More and more people who don't know how to write programs scour the internet and look for the code they can just copy and paste as they Frankenstein their apps together. Then when they can't find code parts they come to forums asking things like "Can you write this code for me?"

Because there is so many code snippets online today people can almost get away with making an app and not learning anything which will cause the user to develop bad learning habits.

But I do totally agree with most of it. Nothing should hold you back and go for it. But if you start to high you can get frustrated and give up "Thinking" it is to hard, when it is not if you started correctly.

I started off like you. It was to hard. I went back and learned C which made taking the step to Object - C much easier.
__________________
I know more than yesterday.
Lars
larswik is offline   1 Reply With Quote
Old Jul 18, 2012, 03:56 AM   #14
Judas1
macrumors 6502a
 
Join Date: Aug 2011
You need to start with a simple programming language that you can learn basic concepts like declarations, assignments, performing operations, making arguments, difference between iterations and recursions, making functions, executing functions, etc. I hear that higher level languages like java are easier to learn these things. Afterward, you might be able to go for objective c. I've never tried objective c so I don't know how hard it is. But I did learn C++, and it was pretty difficult to learn, and this was after I had already taken an introductory class in programming that only taught the basics. Good luck!
Judas1 is offline   0 Reply With Quote
Old Jul 18, 2012, 03:22 PM   #15
tweaknmod
Thread Starter
macrumors member
 
Join Date: Feb 2012
Location: Ottawa, Ontario
Thank you to everyone who posted!

It appears I have a lot of reading to do...
__________________
Sony Xperia Z - cm 10.1 (boo tall iPhones)
2012 MBA i7, 8GB, 500HDD
:apple" iPad mini - LTE
...all tweaked and modded beyond recognition
tweaknmod 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
Storage advice? (a lot of advice...) thefredelement Mac Pro 0 May 21, 2014 08:07 PM
need advice! m.alkraidees MacBook Pro 0 Jun 11, 2013 10:02 PM
OS X: How to edit hard-coded controller responses? Morgan Stack Mac and PC Games 0 Apr 27, 2013 12:28 PM
iPhone In Call Options - Hand coded or provided? drewyboy iPhone/iPad Programming 0 Feb 22, 2013 08:32 AM
Colour-coded (Apple) keys onto Moshi Luna keyboard? malch Mac Peripherals 0 Nov 12, 2012 03:34 PM

Forum Jump

All times are GMT -5. The time now is 10:47 AM.

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

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