• 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: NSToolbar Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar Problem


  • Subject: Re: NSToolbar Problem
  • From: Will Mason <email@hidden>
  • Date: Fri, 1 Apr 2005 10:37:00 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

> /* don't have a clue */
> - (id)initWithCoder:(NSCoder *)coder {
> 	NSLog(@"Initing custom cell");
> 	[super initWithCoder:coder];
> 	_imageLeft = [coder decodeObjectForKey:@"kLeftImage"];
> 	_imageLeftPress = [coder decodeObjectForKey:@"kLeftImagePress"];
> 	_imageLeftRoll = [coder decodeObjectForKey:@"kLeftImageRoll"];
> 	return self;
> }

[NSCoder decodeObjectForKey:] returns an autoreleased object. These
objects, therefore, are getting cleaned up very shortly after creation.
You might try retaining them.

Will
 _______________________________________________
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

References: 
 >Re: NSToolbar Problem (From: Julian Cain <email@hidden>)

  • Prev by Date: Re: NSToolbar Problem
  • Next by Date: execute binary with root privileges
  • Previous by thread: Re: NSToolbar Problem
  • Next by thread: Re: A more attractive NSSlider?
  • Index(es):
    • Date
    • Thread