• 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: =?WINDOWS-1252?Q?Re:_[SOLVED_- _But...]_"Subclassing_NSTableView ?= …"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: =?WINDOWS-1252?Q?Re:_[SOLVED_- _But...]_"Subclassing_NSTableView ?= …"


  • Subject: Re: =?WINDOWS-1252?Q?Re:_[SOLVED_- _But...]_"Subclassing_NSTableView ?= …"
  • From: publiclook <email@hidden>
  • Date: Sun, 16 Feb 2003 20:03:16 -0500

On Sunday, February 16, 2003, at 07:05 PM, Fridiric BLANC wrote:

Looks like you forgot about NSCoding...
Without creating the two methods in your subclass, they NSArchiver will crap out...
You're right. Thank you very much. I've managed to get things work a little bit earlier thanks to the same info Enrico gave me :) ! But I really did appreciate your help! Thanks. I would enjoy to know how you've find info about this process ('cause it seems I haven't read the same info yet)


How to find out about "this process":

You want to use the NSArchiver class so a quick search on google for the terms "apple cocoa NSArchiver" is in order. The very first result is http://developer.apple.com/techpubs/macosx/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSArchiver.html

On that page under "Programming Topics" is a link to "Archives and Serialization":
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ ProgrammingTopics/Archiving/index.html#//apple_ref/doc/uid/10000047i

This page tells you everything you need to know about "Encoding and Decoding Objects".

Besides searching for documentation, you should read the "Getting Started" area of http://developer.apple.com/techpubs/macosx/Cocoa/ which tells you to read "The Objective-C Programming Language" at http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/index.html.

You could also buy one of the in-print Cocoa books that explains encoding and decoding. I like page 115 of "Cocoa Programming."
_______________________________________________
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.
References: 
 >Re: [SOLVED - But...] "Subclassing NSTableView …" (From: Frédéric BLANC <email@hidden>)

  • Prev by Date: Re: NSFilenamesPboardType
  • Next by Date: mysterious NSOutlineView crashing
  • Previous by thread: Re: [SOLVED - But...] "Subclassing NSTableView …"
  • Next by thread: NSPopUpButton revealed: Images, small menu items & control, borderless (example code)
  • Index(es):
    • Date
    • Thread