The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2008, 10:00 AM
aamodr's Avatar
Green Apple
 
Join Date: Nov 2007
Device + Firmware: iPhone 2.0
Operating System: OSX leopard
Location: Mumbai
Posts: 62
Thanks: 49
Thanked 3 Times in 2 Posts
modding for beginners

Could some one please tell me which language am i to learn to start writing programs for the iPhone or mac
i mean from the start like i am in kindergarten.....
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2 (permalink)  
Old 06-29-2008, 10:02 AM
Poseidon79's Avatar
Moderator
 
Join Date: Jan 2008
Device + Firmware: AT&T 2G 2.2.1 & 3GS
Operating System: Leopard / XP/Windows 7
Location: Austin, TX
Posts: 4,030
Thanks: 154
Thanked 708 Times in 501 Posts

Moved to development section
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 06-29-2008, 04:17 PM
What's Jailbreak?
 
Join Date: Jun 2008
Device + Firmware: iPod Touch 16GB 1.1.4
Operating System: Vista
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts

The language to learn is Objective C. I'm in the process of learning it myself. If you already know C or C++, Objective C is backwards compatible (I think). If you're just beginning programming, I guess look for an Objective C tutorial. Or C, or C++, because they're good to know too.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 06-29-2008, 10:17 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,206
Thanks: 43
Thanked 197 Times in 158 Posts

Not sure what you mean by backwards compatible.

Objective-C is a superset of C with additional object-oriented features. Objective-C++ is a similar extension of C++, but it has two not too compatible object-oriented extensions.

I suggest reading the stickies and getting some Cocoa books.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 07-02-2008, 10:20 PM
What's Jailbreak?
 
Join Date: Jun 2008
Device + Firmware: iPhone 1.1.4
Operating System: Vista Business, OS X Leopard, XP
Location: TX/OK
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts

I'm in the same boat. I've been reading through all the apple docs in the SDK and on the site, but there isn't much on the actual code, they're basically explaining like you already know objective-c or the variations.

Are there any good books on objective-c? I know java, VB, and cobol (lol yea cobol, which i'll never use) right now...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6 (permalink)  
Old 07-08-2008, 09:35 AM
Farani's Avatar
Green Apple
 
Join Date: Jul 2007
Posts: 54
Thanks: 8
Thanked 2 Times in 2 Posts

There are two good books for mac programming... programming for the iphone is just an extension of that. I'm in the process of learning to program for the mac myself... I have a C++ background so I'm still learning the syntactical and logical differences between it and Objective-C. I've also only been on a mac for about a year so I'm learning XCode, too. Anywho...

"Programming in Objective-C" Stephen G. Kochan
There is going to be a "Programming in Objective-C 2.0" Comming out soon...

"Cocoa Programming for Mac OS X" THIRD EDITION by Aaron Hillegass.

There is going to be a specific book out by Erica Sadun on actually using the SDK to build iphone apps but it won't be out until October and she can't even talk about the book because of the NDA right now. But until then, those 2 books, and then reading through the frameworks are your best bet. Hope that helps!

Last edited by Farani; 07-08-2008 at 11:04 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Farani For This Useful Post:
midgetadam (07-20-2008)
  #7 (permalink)  
Old 07-17-2008, 07:58 AM
mtwiford's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 16gb + 2.0.2 Jailbroken
Operating System: OSX Leopard 10.5.4
Posts: 272
Thanks: 7
Thanked 41 Times in 32 Posts

+1 I have a real interest in programming and have done some minor programming, mainly on the web though. If you find any good sources let me know. I think I bought the book that Farani is talking about; "Cocoa Programming for Mac OS X" but I think it also assumes that you have experience with C++. Any help would be great guys..........someone take me under your wing!!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 07-17-2008, 06:27 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,206
Thanks: 43
Thanked 197 Times in 158 Posts

Post specific questions and we can try to answer...

There is also the jailbreak application book from O'Reilly - I haven't read my copy yet but it may prove helpful for beginners.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 07-17-2008, 07:11 PM
mtwiford's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 16gb + 2.0.2 Jailbroken
Operating System: OSX Leopard 10.5.4
Posts: 272
Thanks: 7
Thanked 41 Times in 32 Posts

hey where are you in VA? I am in va beach area. I just want to learn to program mac apps. Thats pretty much it. I guess I should start with learning C++, then cocoa?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old 07-19-2008, 07:24 AM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 2
Thanks: 2
Thanked 1 Time in 1 Post

Quote:
Originally Posted by mtwiford View Post
hey where are you in VA? I am in va beach area. I just want to learn to program mac apps. Thats pretty much it. I guess I should start with learning C++, then cocoa?
I'm in the same boat as you. Wanting to write apps for the iPhone but needing a starting point.

From reading different posts on forums regarding Cocoa etc. I think starting to learn C is the best thing to do. I don't know the differences between C and C++ but I think C it the way to go.

Once you've learnt the basics of C, you can then move onto Cocoa....

I have read a great tutorial called "C is for Cocoa"... (click here)... This should get you going!

Chris
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 07-19-2008, 02:35 PM
Green Apple
 
Join Date: Apr 2008
Device + Firmware: 2.1 jb
Operating System: imac
Location: Germany
Posts: 46
Thanks: 1
Thanked 8 Times in 7 Posts

is there a german one anywhere
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 07-20-2008, 04:25 AM
Green Apple
 
Join Date: Sep 2007
Posts: 58
Thanks: 0
Thanked 23 Times in 9 Posts

I guess it also depends on how much (other) programming you've done in the past too.

I'd recommend starting on this website: Cocoa Dev Central

Read through all the tutorials to get an understanding. It'll help to re-visit these tutorials about once a week as they'll make more sense and you'll pick up things you missed.

Next, you should signup to the iPhone developer program (it's free) and download the SDK (Mac only):
iPhone Dev Center

From here you can download sample code to achieve 90% of the things you'll need in an application.

Follow the "Creating an iPhone Application" getting started document - This is a detailed guide to creating a basic "Hello World" example.

Finally, once you have the SDK installed and you've started using Xcode just click "Help -> Documentation" and from here you can search all of the iPhone APIs etc.

Basically, get comfortable with object-C, Cocoa and then play with the sample code.

If you like learning from books then the best one at the moment would probably be:
Cocoa Programming for Mac OS X, Third Edition
by Aaron Hillegass
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13 (permalink)  
Old 07-22-2008, 07:44 PM
Green Apple
 
Join Date: May 2008
Device + Firmware: iPod Touch 2.0
Operating System: XP v1
Location: Macedon NY
Posts: 31
Thanks: 0
Thanked 2 Times in 2 Posts

i wish i had a mac.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14 (permalink)  
Old 07-22-2008, 10:30 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,206
Thanks: 43
Thanked 197 Times in 158 Posts

The toolchain works with Windows for 1.1.4 and less. It can be used for 2.0 but I think that is still hard to setup right now.

C++ isn't as important as the basics of C, then Objective-C's extensions. I only use Objective-C++ to pick up a few C-99 style and C++ style idioms I am used to (variable decleration everywhere, etc.). Mostly I stick to the Objective-C stuff.

Southside VA (halfway across the state )
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15 (permalink)  
Old 08-23-2008, 04:43 PM
Green Apple
 
Join Date: Jun 2008
Device + Firmware: iPod 2.2.1 1st gen
Operating System: Too many computers to list
Location: SpyderRevolution headquaters
Posts: 43
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via AIM to Hackin' Fool

Most of yall are on the right path with trying to learn C or cocoa or C++ first. I want to give you a warning not to try to start out on Obj-C. If you do you will end up giving up and never get a program written because you wont find a beginners guide to Obj-C. I started out on Java, then C++, then C just so it would be easier to learn Obj-C, then Obj-C.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Tags
cocoa programming

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Go to Top
ModMyI

All times are GMT -6. The time now is 05:49 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 | Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408