• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode example project – text field and a save button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode example project – text field and a save button


  • Subject: Re: Xcode example project – text field and a save button
  • From: Greg Guerin <email@hidden>
  • Date: Sun, 21 Jun 2009 15:41:00 -0700

Aleksandersen Daniel wrote:

I am new to Xcode and Objective–C. I am looking for some example code to get me started.


http://developer.apple.com/samplecode/


Also, the class reference documentation frequently links to Companion Guides, and they may refer to specific sample code projects, or they often provide inline sample code. For example, start at the class reference for NSSavePanel:


http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/nssavepanel_Class/Reference/Reference.html

Then click the Application File Management link listed under Companion Guides, and then click the Using a Save Panel link. Boom, there's a sample.


A broader approach is to google for things. A tactic I use is to add the keyword "tutorial", "sample", or "example" to the Cocoa class- names I'm interested in. For example, Cocoa's primary Save dialog class is NSSavePanel, so try these keyword sets:


  NSSavePanel tutorial
  NSSavePanel example
  NSSavePanel sample

Sometimes adding the keyword "download" improves results, sometimes it doesn't.

  -- GG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Debug View Layout
  • Next by Date: Text Editor in 3.1.3 is very slow
  • Previous by thread: Re: Xcode example project – text field and a save button
  • Next by thread: Text Editor in 3.1.3 is very slow
  • Index(es):
    • Date
    • Thread