Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-01-2009, 04:38 PM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 4
Default Location Of iPhone Examples?

Greetings All,

I am very new to the Mac, having programmed Windows and mainframe all of my 25 years thus far. Just got an iMac and have been familiarizing myself with all of the Mac OS X things. So far so good. I've been familiarizing myself with Objective-C and come from C, C++ and C# experience.

I have downloaded and installed the iPhone SDK 2.2.1 and have opened up XCode and would like to work with a sample application. I see many samples that came with the installation but it seems to me that these are primarily Mac examples. I tried to open the directory of iPhone examples and there is a text file in there stating that I should refer to the XCode directory under "Documentation":

Sample code and example applications for the iPhone SDK are available as part of the iPhone Reference Library. You can find them in Xcode in the Documentation window, or online at iPhone Dev Center - Apple Developer Connection.


The only entry in that window close to an "x" is "wxWidgets" and I dont think this is what they are referring to. Should I be looking elsewhere? I went online to that URL specified and it does show sample code but I am not sure what to do with the code - specifically how to get it down to the Mac and where it gets installed...

Can anyone provide some tips or hints regarding the iPhone samples?

Thanks!
Anthony
MediaPlex is offline   Reply With Quote
Old 04-01-2009, 09:23 PM   #2 (permalink)
Crafty Veteran
 
Magic Hands's Avatar
 
Join Date: Nov 2008
Location: Memphis, TN
Age: 23
Posts: 436
Send a message via Skype™ to Magic Hands
Default

Have you registered as a developer?
__________________
Magic Hands is offline   Reply With Quote
Old 04-01-2009, 09:52 PM   #3 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 4
Default

Quote:
Originally Posted by Magic Hands View Post
Have you registered as a developer?
Yes, and I went to the site which was listed in the readme text file, and I do see those samples. But I am wondering - are they on the hard drive from the install? If so, then where? If not, how do I get them off the Apple site and onto my hard drive? And, should they go in a specific directory? And recommendations?

Remember, I just figured out how to install the SDK and using DMG files, etc. I am very new to the Mac but learning quickly..
MediaPlex is offline   Reply With Quote
Old 04-01-2009, 11:18 PM   #4 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: Toronto, ON
Posts: 111
Default

Check the Help > Documentation in the file menu up top or press control-command-?

In the top, click the Browse icon and browse around the documentation for iPhone development. Be sure to download and choose the iPhone dev library on the left. There are most examples in Tools > User Experience as far as I know.
CanadaDev is offline   Reply With Quote
Old 04-02-2009, 12:27 AM   #5 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 4
Default

Quote:
Originally Posted by CanadaDev View Post
Check the Help > Documentation in the file menu up top or press control-command-?

In the top, click the Browse icon and browse around the documentation for iPhone development. Be sure to download and choose the iPhone dev library on the left. There are most examples in Tools > User Experience as far as I know.
Ok, what I have been doing is downloading the ones which I'd like to play around with - from the web site. However, I had thought that these (and/or others) were already installed into some sample directory when I installed the iPhone SDK.
MediaPlex is offline   Reply With Quote
Old 04-02-2009, 07:39 AM   #6 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: Toronto, ON
Posts: 111
Default

No, I think all the samples are located on Apple's servers regardless of what you download. So they don't take up hard drive space for no reason, I guess.
CanadaDev is offline   Reply With Quote
Old 04-02-2009, 12:25 PM   #7 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 4
Default

Quote:
Originally Posted by CanadaDev View Post
No, I think all the samples are located on Apple's servers regardless of what you download. So they don't take up hard drive space for no reason, I guess.
Cool. Just wanted to make sure I am not missing anything. I am learning from the samples I am downloading. Got a lonnnng way to go!
MediaPlex is offline   Reply With Quote
Old 04-02-2009, 12:53 PM   #8 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: Toronto, ON
Posts: 111
Default

Quote:
Originally Posted by MediaPlex View Post
Cool. Just wanted to make sure I am not missing anything. I am learning from the samples I am downloading. Got a lonnnng way to go!
Hehe, same here. Unlike you, I have no background in C, etc.
CanadaDev is offline   Reply With Quote
Reply

Bookmarks

Tags
2.2.1, iphone sdk, sample code

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



» Advertisements
» Online Users: 258
14 members and 244 guests
2WeeksToGo, AdamL, ADY, BrianSlick, Dani77, Dattee, headkaze, mer10, prchn4christ, smithdale87, timle8n1, Touchmint, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,879
Threads: 89,228
Posts: 380,747
Top Poster: BrianSlick (7,129)
Welcome to our newest member, mgon987
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:49 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0