Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 26, 2008, 06:02 AM   #1
deepak832
macrumors newbie
 
Join Date: Jun 2008
How to start code writing

Hello EveryOne, i am a new developer for iphone i just written hello world program, but i like to make a web based application for i-phone. So any one can please guide me in that, how can i start writing my code, i mean from where, because i have no idea about iphone application development at all.


Thanks in advance.
deepak832 is offline   0 Reply With Quote
Old Jun 26, 2008, 06:43 AM   #2
Enuratique
macrumors 6502
 
Join Date: Apr 2008
If it's a web based application, why not just implement the application in a language you're more familiar with and access the site via Safari on the iPhone?

I guess what is it that your program is going to do and why does it have to be written natively for the iPhone?
__________________
24" Aluminum iMac, 2.8 GHz, 4 GB RAM, 500 GB HD, 8800 GS; Black 32GB iPhone 4; Black 30GB 5th Gen iPod
Enuratique is offline   0 Reply With Quote
Old Jun 26, 2008, 11:48 PM   #3
deepak832
Thread Starter
macrumors newbie
 
Join Date: Jun 2008
Thanks

Thanks Enuratique for reply, acutely i like to make my application for i phone. i already made that application for WAP, WEB and other phones also, but for phone's application i added more extra feature which is not in web application. so, please help me to implement my application in iphone only..


Thanks in advance.
deepak832 is offline   0 Reply With Quote
Old Jun 27, 2008, 09:39 AM   #4
Enuratique
macrumors 6502
 
Join Date: Apr 2008
From the Mac Programming Thread page, there are 4 very useful links at the top which should help you get on your way towards iPhone success.

I must caution you, though, that Objective-C doesn't have a lot of the niceties that other programming languages have for you (namely garbage collection) so just be prepared for a lot more work than you anticipate. Learning a new language always has its unproductive time when you're just learning stuff without making an progress.
__________________
24" Aluminum iMac, 2.8 GHz, 4 GB RAM, 500 GB HD, 8800 GS; Black 32GB iPhone 4; Black 30GB 5th Gen iPod
Enuratique is offline   0 Reply With Quote
Old Jun 27, 2008, 09:57 AM   #5
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
There's a pretty heavyweight progression that I think is really needed to become a proficient iPhone programmer. IMO, you need to learn:
C
Objective-C
Cocoa (including Interface Builder)
Cocoa Touch

In that order. It may be possible to skip the C step if you are already familiar with procedural programming and don't mind learning C-isms like pointers while you're learning Objective-C.

Now that the iPhone is the new, shiny development platform many people are trying to jump to the last stage, Cocoa Touch. This is unreasonable for a developer if you have no background in Objective-C and Cocoa.

I've said this quite a few times and it hasn't seemed to deter anyone from jumping to Cocoa Touch right away, but I'll stubbornly keep posting this and hopefully it will save someone time they would have wasted trying to write their first Objective-C program for the iPhone.

-Lee
lee1210 is offline   0 Reply With Quote
Old Jun 27, 2008, 03:50 PM   #6
Enuratique
macrumors 6502
 
Join Date: Apr 2008
Quote:
Originally Posted by lee1210 View Post
There's a pretty heavyweight progression that I think is really needed to become a proficient iPhone programmer. IMO, you need to learn:
C
Objective-C
Cocoa (including Interface Builder)
Cocoa Touch

In that order. It may be possible to skip the C step if you are already familiar with procedural programming and don't mind learning C-isms like pointers while you're learning Objective-C.

Now that the iPhone is the new, shiny development platform many people are trying to jump to the last stage, Cocoa Touch. This is unreasonable for a developer if you have no background in Objective-C and Cocoa.

I've said this quite a few times and it hasn't seemed to deter anyone from jumping to Cocoa Touch right away, but I'll stubbornly keep posting this and hopefully it will save someone time they would have wasted trying to write their first Objective-C program for the iPhone.

-Lee
<rant>

I completely agree, Lee. You can tell lately by a lot of new threads that there are people who are quite obviously not programmers by trade or at the very least have been taught the fundamentals of programming in an academic setting. Things like memory management, the basics of consulting documentation before posting a very basic "plz help me write this program" (usually in fractured English) (granted, Apple's documentation is hard to navigate via the web, atleast having the documentation locally can search if you know what to search for). I fear a lot of people have been accepted into the developer program that aren't programmers and will end up releasing very shoddy programs and tarnishing the "just works" / high quality I've come to expect from Apple and their 3rd parties. As you say, they see the iPhone as the new hotness and want to jump right in not even knowing how to write a good program let alone a good Objective C program.

</rant>
__________________
24" Aluminum iMac, 2.8 GHz, 4 GB RAM, 500 GB HD, 8800 GS; Black 32GB iPhone 4; Black 30GB 5th Gen iPod

Last edited by Enuratique; Jun 27, 2008 at 03:58 PM.
Enuratique is offline   0 Reply With Quote
Old Jun 27, 2008, 04:09 PM   #7
elppa
macrumors 68040
 
elppa's Avatar
 
Join Date: Nov 2003
Quote:
Originally Posted by Enuratique View Post
<rant>

I completely agree, Lee. You can tell lately by a lot of new threads that there are people who are quite obviously not programmers by trade or at the very least have been taught the fundamentals of programming in an academic setting. Things like memory management, the basics of consulting documentation before posting a very basic "plz help me write this program" (usually in fractured English) (granted, Apple's documentation is hard to navigate via the web, atleast having the documentation locally can search if you know what to search for). I fear a lot of people have been accepted into the developer program that aren't programmers and will end up releasing very shoddy programs and tarnishing the "just works" / high quality I've come to expect from Apple and their 3rd parties. As you say, they see the iPhone as the new hotness and want to jump right in not even knowing how to write a good program let alone a good Objective C program.

</rant>
And if they do release very shoddy programs then Apple won't publish them to the App Store. It's one of the advantages of Apple's “closed” system that critics are so quick to bemoan.
elppa is offline   0 Reply With Quote
Old Jun 27, 2008, 05:37 PM   #8
Enuratique
macrumors 6502
 
Join Date: Apr 2008
Quote:
Originally Posted by elppa View Post
And if they do release very shoddy programs then Apple won't publish them to the App Store. It's one of the advantages of Apple's “closed” system that critics are so quick to bemoan.
I haven't read anything anywhere that states Apple will review each application before releasing it to AppStore... I'm not saying you're wrong but I just haven't read anything stating that. Unless someone already accepted to the iPhone Developer Program has received documentation corroborating this and wants to chime in, I think once the floodgates are open, it will be too resource intensive of a task to review each app - really use all of its features to make sure there are no leaks/crashes/etc. Plus, wouldn't people bitch that they paid their fee to Apple and that Apple needs to honor that end of the contract by posting the App to AppStore?

I guess they may rely on end-user ratings a la iTunes Music.
__________________
24" Aluminum iMac, 2.8 GHz, 4 GB RAM, 500 GB HD, 8800 GS; Black 32GB iPhone 4; Black 30GB 5th Gen iPod
Enuratique is offline   0 Reply With Quote
Old Jun 27, 2008, 06:03 PM   #9
yeroen
macrumors 6502a
 
yeroen's Avatar
 
Join Date: Mar 2007
Location: Cambridge, MA
I've commented on this before, but I agreee that the quality of posts on this forum has nosedived ever since the iPhone SDK was released. 95% of new posts tend be of the form 'i've never written programmed before, but I want to write the next photoshop for the iPhone'.

It'd be like me visiting a surgical forum and asking 'I've never performed heart bypass surgery before, but would like to give it a go. I have a scalpel, arthroscope, one of those machines that go beep, and some anesthesia. Now how do I do blah blah blah blah blah blah blah'.

It's not that people are asking beginner questions. It's the expectation that their questions have a cookbook answer.
__________________
all Jarvis, all the time

Last edited by yeroen; Jun 27, 2008 at 06:09 PM.
yeroen is offline   0 Reply With Quote
Old Jun 27, 2008, 06:15 PM   #10
elppa
macrumors 68040
 
elppa's Avatar
 
Join Date: Nov 2003
Quote:
Originally Posted by Enuratique View Post
I haven't read anything anywhere that states Apple will review each application before releasing it to AppStore... I'm not saying you're wrong but I just haven't read anything stating that.
Apple Accepting iPhone Apps Into App Store
Quote:
Developers may submit their applications now for availability in the App Store. Apple must approve all applications that are submitted.
Daring Fireball
Quote:
The App Store isn’t going to be like VersionTracker or MacUpdate, where every piece of junk gets listed as it’s submitted.
elppa is offline   0 Reply With Quote
Old Jun 27, 2008, 06:22 PM   #11
rev316
macrumors regular
 
Join Date: Nov 2004
Well said ^.

Nobody here wants to discourage you. But rather inform you of the amount of commitment needed. Motivation is key, find a "reachable/attainable" project you may build yourself into writing. While I'll agree Objective-C is a fairly straight forward syntax language, it incorporates a lot of complex design, models, methodologies, and paradigms. All of which takes time and practice to learn. I don't agree that you need to learn C first.
rev316 is offline   0 Reply With Quote
Old Jun 27, 2008, 07:39 PM   #12
yoavcs
macrumors regular
 
Join Date: Apr 2004
Location: Israel
Quote:
Originally Posted by yeroen View Post
...
It'd be like me visiting a surgical forum and asking 'I've never performed heart bypass surgery before, but would like to give it a go. I have a scalpel, arthroscope, one of those machines that go beep, and some anesthesia. Now how do I do blah blah blah blah blah blah blah'.
...
Well there you go, an arthroscope has absolutely nothing to do with heart surgery.
yoavcs is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Learning to Code: Where to Start? ToomeyND Mac Programming 11 Mar 5, 2014 01:27 PM
Library for simple Face and QR Code/Bar Code/Etc detection DarthFoley iPhone/iPad Programming 0 Jan 26, 2014 12:11 PM
What's the best text editor for writing code, with Autosave and Versions? printz Mac Applications and Mac App Store 6 Apr 8, 2013 09:51 AM
Writing an app that previews the result of a small part of code Soulstorm Mac Programming 5 Aug 31, 2012 10:52 PM

Forum Jump

All times are GMT -5. The time now is 06:55 AM.

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

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