PDA

View Full Version : Never coded before; need advice!




tweaknmod
Jul 17, 2012, 12:03 PM
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!



Catfish_Man
Jul 17, 2012, 01:12 PM
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)...

tweaknmod
Jul 17, 2012, 02:08 PM
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! :)

larswik
Jul 17, 2012, 02:19 PM
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

iMacFarlane
Jul 17, 2012, 02:31 PM
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!

DrMotownMac
Jul 17, 2012, 02:41 PM
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!

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?

robvas
Jul 17, 2012, 03:40 PM
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.

nishioka
Jul 17, 2012, 03:47 PM
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.

SnowLeopard2008
Jul 17, 2012, 03:51 PM
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.

bit density
Jul 17, 2012, 03:53 PM
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.

DrMotownMac
Jul 17, 2012, 04:12 PM
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....:eek:

firewood
Jul 17, 2012, 04:41 PM
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.

larswik
Jul 17, 2012, 04:58 PM
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.

Judas1
Jul 18, 2012, 03:56 AM
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!

tweaknmod
Jul 18, 2012, 03:22 PM
Thank you to everyone who posted! :)

It appears I have a lot of reading to do...