• 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
a question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a question.


  • Subject: a question.
  • From: joie <email@hidden>
  • Date: Mon, 18 Mar 2002 13:05:09 -0600

Just one. Here's my situation:

I figured out how to use NSArchiver and NSUnarchiver.. no worries there. the values I unarchive are sound and good, checked 'em with NSLog(). But... I want to display the recovered values. Here's my code:

self = [NSUnarchiver unarchiveObjectWithFile:[@"~/here" stringByExpandingTildeInPath]];
[aParamDisplay setIntValue: aParam];
[bParamDisplay setStringValue: bParam];
NSLog(@"%d %@", self->aParam, self->bParam);

as I said, the proper values are logged-- this is in my 'loadOldParams' method. Everything's hooked up, I think... maybe I'm hooking up incorrectly in IB? a little help would be appreciated a lot. ^_^ sorry for this, I just know the answer is the most basic thing...

- (id) joie;
_______________________________________________
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: a question.
      • From: Ondra Cada <email@hidden>
  • Prev by Date: sorry...
  • Next by Date: Stop a NSTask
  • Previous by thread: sorry...
  • Next by thread: Re: a question.
  • Index(es):
    • Date
    • Thread