• 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: Grief with porting IB palettes to plugins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grief with porting IB palettes to plugins


  • Subject: Re: Grief with porting IB palettes to plugins
  • From: "Michael B. Johnson" <email@hidden>
  • Date: Thu, 1 Nov 2007 16:16:15 -0700

sounds like some sort of conflict between IB expecting keyed coding and you not giving it (or vice versa).

Does your custom archiving supported keyed coding?  Does it detect it in the archiver?

i.e. I have code like:

if ([decoder allowsKeyedCoding]) {
NSKeyedUnarchiver* coder = (NSKeyedUnarchiver*)decoder;

if ([decoder containsValueForKey:FOLSheet__width] && [decoder containsValueForKey:FOLSheet__height]) {
CGFloat width = [coder decodeDoubleForKey:FOLSheet__width];
CGFloat height = [coder decodeDoubleForKey:FOLSheet__height];
[self setSize:NSMakeSize(width, height)];
}
} else {
NSLog(@"FOLSheet only supports keyed decoding!");
}

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
  • Follow-Ups:
    • Re: Grief with porting IB palettes to plugins
      • From: Ricky Sharp <email@hidden>
References: 
 >Grief with porting IB palettes to plugins (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: atos and DWARF
  • Next by Date: Re: Grief with porting IB palettes to plugins
  • Previous by thread: Grief with porting IB palettes to plugins
  • Next by thread: Re: Grief with porting IB palettes to plugins
  • Index(es):
    • Date
    • Thread