Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

firewood

macrumors G3
Jul 29, 2003
8,141
1,384
Silicon Valley
Code it up in HTML and Javascript for a web page. If that's too complicated for you, Objective C and Cocoa have a far steeper learning curve.

You can even use the Dashcode SDK to build your web page, which will give you some familiarity with the iPhone SDK tools.
 

m00h

macrumors newbie
Jul 30, 2008
4
0
Switzerland
Hi all

So there is really no way around those 99$/year? I understand that apple doesnt want crapware coming to the iPhone, but there must be some kind of way get your Apps to your device. At least apple could have an option for free, but with no possibility to upload it to the store.

What if you save the application on your mac and send it to the phone via SSH? Or how are all the other cydia and installer.app related programmers doing it?

I have some little programming skills in PHP,MySql, Basic and C++ and I just want to play around with the SDK, learn some stuff from existing apps etc...and I'm not paying 99$ just for that, thats sure:rolleyes:
 

elistan

macrumors 6502a
Jun 30, 2007
997
443
Denver/Boulder, CO
Apple provides an iPhone simulator to test your apps on. It has some limitations, like it can only be rotated in 90 degree increments, but for playing around it should get you started.
 

firewood

macrumors G3
Jul 29, 2003
8,141
1,384
Silicon Valley
If you want to run apps on the iPhone for free, write them in Javascript for a web page, and run these web apps in Safari.

If you just want to learn to write Objective C apps for the iPhone for free, use the SDK simulator, which is free if you agree to the NDA and SDK license, and test your apps on your Mac in the iPhone Simulator.

If you want to run apps on your factory OS iPhone or iPod Touch, offer to pay the $99 for the developer program and wait to be accepted. If you can follow a moderately complicated procedure, you can use ad hoc provisioning to allow up to 100 other people to run your apps.

If you have a jailbroken phone or touch, there are other software tools and options available. Just look for them on the web.

.
 

Niiro13

macrumors 68000
Feb 12, 2008
1,719
0
Illinois
A text editor huh, is there good documentation with the SDK then? Like I said I am used to .NET and Java where I used the NetBeans SDK which gives you some guidance on command syntax etc... Should I be planning a run to the bookstore tonight too and if so what am I looking for? I've seen Objective C and X Code as key words that have jumped out at me as things to look for, any other suggestions?

Really, programming contains the same ideas (except Objective-C which changes things just slightly). If you know how to write a bubble sort, then it's the same for all languages, just changing syntax. The documentation provided is really good. That's all you need, actually.

In fact, since you're used to Java, you don't necessarily need a book. Just use the SDK's documentation. I too was used to Java. Never even touched on C. And yet the SDK documentation was enough for me to pretty much make anything that I wanted.

I've not used the SDK but if the interface builder is anything like .NET surely you can just link a sound file to a button and forego any code to make a soundboard? Although maybe you're talking about how to make apps in general from your mention of loops, etc.?

No, Interface Builder just builds the interface. In order to do anything with the button, you have to tie the Interface Builder file to a real file in Xcode, then tie the button to the object that you initialized in Xcode. Then you also need to tie the button to a method which is also written in Xcode.

Hi all

So there is really no way around those 99$/year? I understand that apple doesnt want crapware coming to the iPhone, but there must be some kind of way get your Apps to your device. At least apple could have an option for free, but with no possibility to upload it to the store.

What if you save the application on your mac and send it to the phone via SSH? Or how are all the other cydia and installer.app related programmers doing it?

I have some little programming skills in PHP,MySql, Basic and C++ and I just want to play around with the SDK, learn some stuff from existing apps etc...and I'm not paying 99$ just for that, thats sure:rolleyes:

If you jailbroke the iPhone, then I think you can SSH it into the device.

And you're paying $99 to test on your device. The simulator is free with the SDK (Which is also free). The only thing you can't do with the simulator is use the accelerometer short of orientation.
 

egor

macrumors regular
Jun 3, 2004
151
0
No, Interface Builder just builds the interface. In order to do anything with the button, you have to tie the Interface Builder file to a real file in Xcode, then tie the button to the object that you initialized in Xcode. Then you also need to tie the button to a method which is also written in Xcode.

Fair enough. I assumed Apple would have made implementing interface-sounds a bit easier (not that it'd be much work once you'd written the function, I assume there's already some pretty high level sound stuff in the API).
 

chachat

macrumors newbie
Feb 23, 2008
27
0
San Francisco
Would anyone have recommendations on a text/tutorial on programming in C and then Objective C in order to begin the process of programming apps for the iPhone? No experience with programming to this point, so a basic introductory text would be best I suppose...

Thanks...
 

TripleJ

macrumors regular
Jul 30, 2008
128
0
Would anyone have recommendations on a text/tutorial on programming in C and then Objective C in order to begin the process of programming apps for the iPhone? No experience with programming to this point, so a basic introductory text would be best I suppose...

Thanks...

I found this one to be a good start: http://cocoadevcentral.com/d/learn_objectivec/

If you haven't done programming before, read this one first to get a few basic concepts, then the one above after: http://cocoadevcentral.com/articles/000081.php
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.