• 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: Nib owner's outlets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nib owner's outlets


  • Subject: Re: Nib owner's outlets
  • From: Rainer Brockerhoff <email@hidden>
  • Date: Fri, 25 Jan 2002 20:02:37 -0200

>From: "Erik M. Buck" <email@hidden>
>Date: Fri, 25 Jan 2002 14:46:30 -0600
>
>Below you have provided excellent analysis of the type of information that I
>must put in documentation and a trap to avoid. As an experienced programmer
>very familiar with Cocoa, I guess I read between the lines automatically.
>Your simple post explaining the deductions needed clarifies the issue to me
>and shows be how I can be more explicit than Apple's documentation.
>
>From: "David Rehring" <email@hidden>
> > You have to 'read between the lines'.
>>
> > Start with "if the window has not yet been loaded".
>>
>> This implies that sometimes, NSWindowController objects will have been
>> created, but the associated nib would NOT be loaded [so any associated
>> outlets that would be filled in when the nib is loaded would not be
> > changed].

Right. To my mind (clouded by perhaps too-hurried reading) saying "if the window has not yet been loaded" implied that in some rare cases this might happen, and not describe a usual happening; yet in my tests, the window is never loaded, except by calling -[NSWindowController window].

Also, it's a mental jump - especially when you're in newbie mode and reading up on a complex new technlogy - to link "window loading" to "nib outlet connecting". This implies that you have a complete mental model of all processes already built up; but then, if you have that you usually won't be reading documentation either ;-)

Finally, not everybody dominates English so perfectly as to be able to extract such subtle nuances 100% of the time. English is my third language (fourth if you count school French), and even though I think I manage reasonably well, this one - and several even more embarrassing ones - went right by me.


--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Jan. 2002)


  • Prev by Date: Re: How viable is Cocoa development?
  • Next by Date: Re: How to defer NSDocument:writeToFile:ofType ?
  • Previous by thread: Re: Nib owner's outlets
  • Next by thread: Faster way to draw strings?
  • Index(es):
    • Date
    • Thread