• 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: encodeWithCoder for a BOOL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encodeWithCoder for a BOOL?


  • Subject: Re: encodeWithCoder for a BOOL?
  • From: Raphael Sebbe <email@hidden>
  • Date: Mon, 8 Apr 2002 07:56:27 +0200

Hi,

You can try that:

[coder encodeValueOfObjCType:@encode(BOOL) at:&myBool];


Raphael

On Monday, April 8, 2002, at 12:42 AM, Marc Respass wrote:

Hi,

I am using NSCoder to save documents in my application. I just added a BOOL and I'd like to save that too. Can I use encodeWithCoder for that? It doesn't seem so reading NSCoder.

Thanks
Marc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: encodeWithCoder for a BOOL?
      • From: Marcel Weiher <email@hidden>
References: 
 >encodeWithCoder for a BOOL? (From: Marc Respass <email@hidden>)

  • Prev by Date: Re: Question about System Services
  • Next by Date: Scripting, OSA style
  • Previous by thread: encodeWithCoder for a BOOL?
  • Next by thread: Re: encodeWithCoder for a BOOL?
  • Index(es):
    • Date
    • Thread