• 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: File's Owner
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File's Owner


  • Subject: Re: File's Owner
  • From: mmalc crawford <email@hidden>
  • Date: Sun, 25 May 2008 10:17:00 -0700


On May 25, 2008, at 6:31 AM, Andy Lee wrote:

The File's Owner is the hole -- the one thing that *isn't* created in the nib.
First Responder and Application are also not created in the nib.  :)

Indeed, that's why I didn't sleep so well -- something was nagging as I clicked Send just before dozing off, but I couldn't stay awake any longer to figure it out...
(Although perhaps I've also got a little too used to looking at a different sort of nib file over the last couple of months...)
That and the memory management errors in the code:


- (void)createNibForWindowWithButton:(NSString *)fileName {

	// ...
	[NSKeyedArchiver archiveRootObject:nib toFile:fileName];
	[aWindow release];
	[aButton release];
}


I hesitate to re-enter this thread, I really do. But I think those of us who have been trying to help might want to re-consider how we've been answering, as well as how the questions have been posed. There have been many fine, thorough answers to Johnny's question. The fact that none of them have seemed to help should tell us something.

That's a fair comment, but I'd nevertheless be interested to know if the code-based "explanation" helped (Johnny or anyone else).

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: File's Owner (From: Johnny Lundy <email@hidden>)
 >Re: File's Owner (From: mmalc crawford <email@hidden>)
 >Re: File's Owner (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Faster way to test pixels?
  • Next by Date: Re: File's Owner
  • Previous by thread: Re: File's Owner
  • Next by thread: Re: File's Owner
  • Index(es):
    • Date
    • Thread