• 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: Failure on unarchiving a NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure on unarchiving a NSBezierPath


  • Subject: Re: Failure on unarchiving a NSBezierPath
  • From: "Kyle Sluder" <email@hidden>
  • Date: Mon, 28 Apr 2008 12:01:08 -0400

On Wed, Apr 23, 2008 at 11:42 AM, an0 <email@hidden> wrote:
> I was building a very simple drawing application, but met problems
> when reading the file saved by my application.
>
> The two functions as to archiving/unarchiving are as follows:
> - (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError
> {
>    return [NSKeyedArchiver archivedDataWithRootObject:view.drawing];
> }

You know what?  I don't think you've ever said that you know that
view.drawing != nil.  Check that.

--Kyle Sluder
_______________________________________________

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: Failure on unarchiving a NSBezierPath
      • From: an0 <email@hidden>
    • Re: Failure on unarchiving a NSBezierPath
      • From: "I. Savant" <email@hidden>
References: 
 >Failure on unarchiving a NSBezierPath (From: an0 <email@hidden>)

  • Prev by Date: Re: Failure on unarchiving a NSBezierPath
  • Next by Date: Zip Files in Objective-C?
  • Previous by thread: Re: Failure on unarchiving a NSBezierPath
  • Next by thread: Re: Failure on unarchiving a NSBezierPath
  • Index(es):
    • Date
    • Thread