justinleung's Avatar
justinleung 4
7 Asked
33 Answered
2 Best
0
No one has voted on this question yet :(
3 years, 5 months ago

How to self-learn programing for OSX and iPhone?

What are the steps I need to learn to program in OSX?
What language should I learn? Python?
Any good guides?
I consider myself a smart smart user, with little experience with command line.
Tip for best answer: M$5.00
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

8 Answers

0
garryvictor1's Avatar
garryvictor1 | 3 years, 5 months ago
4
If you are a beginner, then start with the basic. I think, you should start studying JAVA or Turbo C before studying advanced programming languages because the concept of advanced PL like that used in OSX and iPhone came from these PLs.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
justinleung's Avatar
justinleung | 3 years, 5 months ago Report

Thanks. Any good places to learn Java?

garryvictor1's Avatar
garryvictor1 | 3 years, 5 months ago Report

You can download an ebook here:

https://jedi.dev.java.net/servlets/ProjectDocumentList?folderID=8597&expandFolder=8597&folderID=8597

Since you are a beginner, choose Introduction to Programming 1. Do you already have java installed in your computer? If you have questions, just approach me.

Report Abuse

Post Reply Cancel
0
nelisx's Avatar
nelisx | 3 years, 5 months ago
4

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel
0
lyonsden's Avatar
lyonsden | 3 years, 5 months ago
4
Join the Apple Developers Program (ADC) - it's free, and there is A LOT of useful information there.

Download the iPhone SDK, and go through the Coding How-To's and other resources there.

To me, coding is the easy part - coming up with great ideas is the hard part.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
justinleung's Avatar
justinleung | 3 years, 5 months ago Report

Thanks for the links and input, but I'm looking more for the very basics.

Report Abuse

Post Reply Cancel
0
drmatt's Avatar
drmatt | 3 years, 5 months ago
5
I am also working to shift from Java to Objective-C. I am a novice programmer. I developed the first Java for Beginners (non-programmers) course at Sun (when Java first came out). With that in mind...

I found the on-line materials on Apple's developer site to be lacking. I've found it difficult to learn Cocoa programming techniques and how to use Xcode.

I just picked up "Cocoa Programming for Mac OS X" by Aaron Hillegass. So far, it's been useful and starts you at the beginning, guides you through basic Objective-C and how to build interfaces. It also guides you through using the Xcode tools. It also seems to give a good basic understanding of object programming.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel
0
shareme's Avatar
shareme | 3 years, 5 months ago
4
I am doing it now..but my background is java which is similar to Object C

ObejctC is for iPhone and OSX both..Python is not on iPhone..

Have you downloaded the iPhone SDK from Apple yet?

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
shareme's Avatar
shareme | 3 years, 5 months ago Report

Sorry for the delay was working on code.

I started at the age of 12 in mid 1970s when there were no tutorials or web to learn from. Seriously you have so damn easy now.

Best way to start is get on the iPhone forums and start asking questions..some inspiration reading does not hurt as well..read about Steve Woz and the homebrew club or Linus and Linux..

justinleung's Avatar
justinleung | 3 years, 5 months ago Report

How did you first get into programing? Classes? Guides? I need to understand the basics.

Report Abuse

Post Reply Cancel
0
sturmeh's Avatar
sturmeh | 3 years, 5 months ago
4
Not exactly the ideal answer you were looking for, but...
You best be off learning Objective C, which is a mac specific programming language, I'm not proficient in it so I can't help you with that.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel
0
powerfulmask's Avatar
powerfulmask | 3 years, 5 months ago
4
LOOK GOOD ANSWERS FOR HERE

http://www.13idol.com/mac/program.html

DOWNLOAD PDF FORMAT OSX PROGRAMMING HERE

http://www.ebook3000.com/Beginning-Mac-OS-X-Programming_23344.html


Introduction

In September 1998, I asked the 44,000 members of the Apple EvangeList to help me start to program on my Macintosh. If you're haven't heard of the Evangelistas, it's a mailing list of pro-Mac info, software discounts, programming jobs and Windows nightmares (*snicker*) that we 4% never have to deal with. And as this page illustrates, those Mac nuts can be ever so helpful. To wit:

I received 184 responses, including programmers from Canada, England, Japan, New Zealand(!) and Vietnam(!!) (Wow, does EarthLink have a POP there??) My favorite was the Windows programmer who wants to write for Mac in his free time (you go, Matt! Woof, woof, woof!!)

Two initial pieces of advice became apparent:

1. Learn a language first, then learn the Mac Toolbox (the Mac-specific routines like the grow box in the corner of the window, etc.)

2. Get the latest documentation and books that you can. The Mac OS is a moving target; Apple is always tweaking and improving. A BIG case-in-point is OS X; Jobs asked for the elimination of the least-used 30% of the Toolbox "calls" to make the OS run faster and smoother.

Now, onward in our education!

Languages

Well, I guess I asked for it; I had forgotten how many different programming languages were out there! (There are actually over 100.) As one respondent said, "The more I learned about programming, the more my language of choice changed." Like anything, each one has its benefits and each its concerns.

BASIC (74 responses)
Far and away the most popular response, for 3 reasons:

1. It's easy to learn.
2. It's been mentioned on the EvangeList many times.
3. I mentioned using (AppleSoft) BASIC myself 15 years ago.

Remember though, as the name implies, the language is somewhat rudimentary. You won't be able to access all of the Mac Toolbox calls, and therefore may not be able to program everything you want.

C / C++ (~40 responses; it was sort of assumed in my post)
Fast and ubiquitous (that means "it's everywhere"), but much more complex and difficult to learn. Some even said "frustrating" and "hate it", but it is essentially the de facto standard that Mac AND Windows apps are being programmed in today. Because of its complexity, you'll have a steeper learning curve, but you can create quick, professional quality software. One writer suggested that C was easy, it was learning the 4000 Mac Toolbox routines that was difficult.

C is a subset of C++; more than one source suggested starting with C++. Yet another claimed you must have a foundation in C before starting to learn the object-oriented approach of C++, because most books' examples are in C. *sigh*

AppleScript (9 responses)
AppleScript is the Mac's "built-in" programming language. It's slower than the high-tech C, there's a lot you cannot do with it, and there's less documentation, but "for smaller tasks, it can be a true gem". One interesting example is cgi scripts for a webpage. Another advantage is the use of common English commands.

There is no user interface, but a complimentary piece of software exists called FaceSpan that adds graphical elements to your AppleScript applications, such as menus and dialog boxes.

And there is a new editor for AppleScript, called Smile. It claims to make AppleScript even more friendly. "Even children" can use it, say the creators.

MacPerl (3 responses)
This is another scripting language like AppleScript, but it is based on Unix. It is used extensively in designing websites.

OTHERS
These languages all received mention by one or two members:

Java ("easy, even fun", but doesn't use the Toolbox)
Pascal (included in the CodeWarrior development environment, see below)
Objective-C ("much better than Java"; came to Apple from the NeXT acquisition and may be incorporated into OS X)
Prograph CPX ("A very good first programming language... the only [one] truly visual... my 13-year-old could follow the tutorials.")
LISP (it's been around for 40 years)
Chipmunk BASIC (equivalent to AppleSoft BASIC that I worked with in 1982!)
tcl (cross-platform, "useful in creating graphical user interfaces")
TrueBasic
Python "extremely well-designed and useful"
4th Dimension
Mops (public domain, "good for beginners... more productive")
Squeak (free, all platforms, "the only completely object-oriented language")
Oberon

Personally, I'm really looking for the most common, supported language, especially as a beginner. Once I can whiz around on the standard, THEN I'll look at the tweaky stuff. Even if they are "better", I wouldn't want to learn how to drive in a Lamborghini.

LOOK FOR CODING AND SAMPLE CODE HELPSOF IPHONE
http://developer.apple.com/iphone/

I hear that Python is a good object-orientated Lang. and a bit Easy

Then there is Pearl and Ruby

Hey if you not such an advanced user (i.e Like me, a looser)
Why don't U try Building an Applescript Studio-based Application
Thats Simple but efficient.

Unless you Building some-sort of game then a buddy of mine uses Java and sez that its the best because you can Port it to other platforms

That's bout the extent of "My Ocean of Knowledge"
Not much but I hope that I've Helped

SOURCES:


http://www.unix.com/os-x-apple/12352-help-what-best-language-use-build-osx-application.html

PROGRAMMING GUIDES AS FOLLOWS

http://developer.apple.com/DOCUMENTATION/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_intro/chapter_1_section_1.html


http://www.wrox.com/WileyCDA/WroxTitle/Beginning-Mac-OS-X-Programming.productCd-0764573993,descCd-DOWNLOAD.html

http://www.borkware.com/corebook/


http://www.ebook3000.com/upimg/userup/0810/240H022A57.jpg

Every Mac OS X system comes with all the essentials required for programming: free development tools, resources, and utilities. However, finding the place to begin may be challenging, especially if you have no prior development knowledge. This comprehensive guide offers you an ideal starting point to writing programs on Mac OS X, with coverage of the latest release - 1.4 "Tiger."
With its hands-on approach, the book examines a particular element and then presents step-by-step instructions that walk you through how to use that element when programming. You'll quickly learn how to efficiently start writing programs on Mac OS X using languages such as C, Objective-C(r), and AppleScript(r), technologies such as Carbon(r) and Cocoa(r), and other Unix tools. In addition, you'll discover techniques for incorporating the languages in order to create seamless applications. All the while, you can follow along on your own system so that you'll be prepared to apply your new Mac OS X skills to real-world projects.
What you will learn from this book
The major role the new Xcode plays in streamlining Mac OS X development
The process for designing a graphical user interface on Mac OS X that conforms to Apple's guidelines
How to write programs in the C and Objective-C programming languages
The various scripting languages available on the Mac OS X system and what tasks each one is best suited to perform
How to write shell scripts that interact with pre-installed command-line tools

Download:

http://depositfiles.com/files/g6qqny8gm

http://w13.easy-share.com/1702140802.html

MAC TRAINING GUIDE

http://mactrainingguide.com/2008/12/10-iphone-programming-resources-online/

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
justinleung's Avatar
justinleung | 3 years, 5 months ago Report

Thank you for your thorough answer.

Report Abuse

Post Reply Cancel
0
waitingforjune's Avatar
waitingforjune | 3 years, 5 months ago
4
As some mentioned before, I am working on making the transition from Java to Objective-C (which the iPhone apps are programming in). My recommendation would be to download the iPhone SDK, read the tutorials and documentation, and dive in. That is, of course, assuming you have programming experience. If not, Java is a good object-orientated language to start with, as it is cross-platform and has fantastic documentation (Javadocs and Sun tutorials). Books specific to iPhone development would probably be a plus, but you could likely get by with just online tutorials.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
waitingforjune's Avatar
waitingforjune | 3 years, 5 months ago Report

I realized I did not notice that the question asked about OS X development in addition to iPhone development. However, the iPhone SDK is just Xcode with some extra iPhone-specific stuff, and as far as I know, OS X uses Objective-C as well, so most of my answer should apply to both OS X and iPhone development.

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates