• 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
Unarchiving a plugin custom control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unarchiving a plugin custom control


  • Subject: Unarchiving a plugin custom control
  • From: Anders Lassen <email@hidden>
  • Date: Mon, 21 Jul 2008 04:05:57 +0200

Hi,

I am working on a custom control, which has a few simple properties.

The object is a subclass of NSBox, and is therefore initialized with initWithCoder.

When the object is created for the first time and nothing has been saved to the archive, all properties are set to zero values.

My problem is that I would like to bypass the decoding when the achive is "empty", and assign other default values (than zero).

I wonder whether this is possible?


_______________________________________________

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


  • Follow-Ups:
    • Re: Unarchiving a plugin custom control
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Newbie CALayer Questions
  • Next by Date: Design question, which controller class to use
  • Previous by thread: Re: Newbie CALayer Questions
  • Next by thread: Re: Unarchiving a plugin custom control
  • Index(es):
    • Date
    • Thread