• 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
Cocoa Bindings - NSTextfield value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa Bindings - NSTextfield value


  • Subject: Cocoa Bindings - NSTextfield value
  • From: Mike Hanna <email@hidden>
  • Date: Wed, 9 Aug 2006 23:24:17 -0700

I bind an NSTextField value binding to the Shared User Defaults. Controller Key is 'values' and Model Key Path set to 'filePath'. Click Bind. I set the field like this:

[pathField setStringValue:fFilePath];

after quitting the app, I do


defaults read ca.siddha.SimplePlayFile
{
NSNavLastCurrentDirectory = "~/Music/iTunes/iTunes Music/54-40/ Sweeter Things_ A Compilation";
NSNavLastRootDirectory = "~/Music/iTunes/iTunes Music";
NSNavPanelExpandedSizeForOpenMode = "{518, 402}";
"NSTableView Columns NSNavOutlineColumnSettings.v1" = (
<040b7479 70656473 74726561 6d8103e8 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 1c4e534e 61764469 73706c61 794e616d 6546696c 6550726f 70657274 7986>,
225,
<040b7479 70656473 74726561 6d8103e8 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 184e534e 61764d6f 64446174 6546696c 6550726f 70657274 7986>,
117
);
"NSTableView Sort Ordering NSNavOutlineColumnSettings.v1" = (
<040b7479 70656473 74726561 6d8103e8 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 1c4e534e 61764469 73706c61 794e616d 6546696c 6550726f 70657274 7986>,
1
);
isLooping = 0;
playbackRate = 1;
}



there is no filePath key and when I restart the app, the field has no value. What am I missing?


regards,
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cocoa Bindings - NSTextfield value
      • From: George Orthwein <email@hidden>
  • Prev by Date: Re: Secondary run loops?
  • Next by Date: Timzeone change notification
  • Previous by thread: Re: For Correct Redo Action Name: Undo Method must be Dedicated?
  • Next by thread: Re: Cocoa Bindings - NSTextfield value
  • Index(es):
    • Date
    • Thread