PDA

View Full Version : Writing your own Apps?



meverz
19th September 2009, 07:54 PM
Is it possible to write your own apps for Ipod touch/ Iphone? I have some programming experience, doing a couple of C and C++ courses back in uni. There are two simple apps (1 of which is really simple), I would love to have. I can't find anything in the store that comes close, so I may have to just program them myself.

gehenna
19th September 2009, 08:07 PM
You'd need to sign up for the Apple Developer Program, there's two types - Mac and iPhone. Have a look here (http://developer.apple.com/) for info.

marc
19th September 2009, 08:10 PM
Sure. Sign up here: Apple Developer Connection (http://developer.apple.com/)

You'll have to pay USD$99 to be able to compile to your device or submit your app to the App Store. You can sign up, download the SDK and play with the iPhone Simulator for free though.

cartz
19th September 2009, 08:48 PM
Is it possible to write your own apps for Ipod touch/ Iphone? I have some programming experience, doing a couple of C and C++ courses back in uni. There are two simple apps (1 of which is really simple), I would love to have. I can't find anything in the store that comes close, so I may have to just program them myself.

My experience was pretty much limited to Basic programming on the likes of the ZX Spectrum and C64 in high school 25 years ago and I managed to get an app out there.

You're way ahead of me in having used C before so you'll be right. It may still take a while to get your head around the objective C stuff but there are plenty of code examples and tutorials out there.

I found the books 'Learn Objective C on the Mac' and 'Beginning iPhone Development' both published by Apress helped me heaps. But if you don't want to purchase books you'll find heaps of stuff on the net.

Go for it! :)

meverz
19th September 2009, 09:00 PM
Thanks for your swift replies guys.

I'll have to work out whether it is worth the 100 bucks or so. I will guess it probably will be, but can you give me some idea of how complicated I can expect writing apps to be? As someone who has used C++ (and C) should I have any troubles?

Thanks

Edit: Looks like it should be a goer. Might have to just put it off until I have some time in the holidays.

southfreo
20th September 2009, 10:32 AM
Heres a link that may help :-

How to become an iPhone developer in eight easy steps | Technology | guardian.co.uk (http://www.guardian.co.uk/technology/gamesblog/2009/feb/10/gameculture-apple)

You have the background with C/C++, you just need to learn the syntax of how Objective C sends messages around using [obj msg:X:Y] rather than obj->msg(X,Y) (ref Objective-C - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Objective-C#Messages))

Also spend some time reviewing the memory management (or lack of) which will need to master in a more complex app.

The sample Apple provides really cover everything to create basic applications, there are also support forums from Apple and on the net which answer most questions you will have.

Once you have something working, and are thinking of publishing on the store,if you don't have a graphic design background, get someone to "makeover" the UI in photoshop for that professional polished look.

matthew858
20th September 2009, 12:14 PM
Once you have something working, and are thinking of publishing on the store,if you don't have a graphic design background, get someone to "makeover" the UI in photoshop for that professional polished look.

Southfreo is totally right. How the app looks is everything. If your app looks bad, people will avoid it at all costs, as there is usually an app that does everything for the same cost as your app, but looks better.

meverz
20th September 2009, 04:35 PM
Thanks guys. It looks like it is definitely doable. Now just need to find the time. I'll probably have to put it off to the summer holidays, but it looks like it should be a good summer project.

Not sure I'll ever get to the stage of actually publishing it on the store (doubly sure for charging for it), but I'll definitely get someone to go over the UI if I do.

Soliah
21st September 2009, 12:11 AM
Thanks guys. It looks like it is definitely doable. Now just need to find the time. I'll probably have to put it off to the summer holidays, but it looks like it should be a good summer project.

Not sure I'll ever get to the stage of actually publishing it on the store (doubly sure for charging for it), but I'll definitely get someone to go over the UI if I do.

Definitely doable. I wouldn't recommend enrolling in the program unless you're really keen on publishing an app and want access to developer seeds of the SDK (Apple periodically seeds beta's of the next firmware releases to developers enrolled in the program).

You mentioned knowledge of C++/C which is a very good foundation to come from. In fact, you can even include raw C code in Obj-C classes. However, any knowledge in OO would be far more beneficial as Obj-C and iPhone/Mac development in general is heavily geared towards OOP. So long as you've covered general OO concepts in C++ as well as design patterns (MVC (http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) and Delegate (http://en.wikipedia.org/wiki/Delegation_pattern) in particular) you shouldn't have too much trouble picking up Obj-C.