• 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
Newbie questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie questions


  • Subject: Newbie questions
  • From: Xavier Elizalde <email@hidden>
  • Date: Tue, 25 Apr 2006 22:42:06 +1000

I've been reading O'Reilly's "Learning Cocoa with Objective-C", even though I'm using XCode 2.2.1 on OS X 10.4.6, just to get my feet wet. The fact that the developing tools have changed makes it more of a learning experience to figure out how to adapt to the differences. But I'm on the last few chapters and I've come across some problems that have stumped me, despite searching the web and documentation.

1. It says on page 294 in Chapter 15 that you can override preference settings with "Application -[Key name] [Value name]" from the Terminal. But whenever I try to do that, it gives me an error, saying there is no directory with the same name as the [Key name] in my home directory. Is there a newer way to do this that works properly?

2. On page 296, the third exercise at the end of Chapter 15 says to modify the example application "so that it reads its application defaults from a .plist file contained as a resource in its application bundle" rather than in ~/Library/Preferences. I can't figure out how to do that.

Can anyone offer any comments? I would appreciate it. Thanks.


Xavier _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Newbie questions
      • From: Ondra Cada <email@hidden>
    • Re: Newbie questions
      • From: Paul Lynch <email@hidden>
  • Prev by Date: Re: Temporary object created at runtime with Core Data
  • Next by Date: Re: Slow performance of PDFDocument dataRepresentation method
  • Previous by thread: Re: Slow performance of PDFDocument dataRepresentation method
  • Next by thread: Re: Newbie questions
  • Index(es):
    • Date
    • Thread