• 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
How to bind only on edit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to bind only on edit?


  • Subject: How to bind only on edit?
  • From: Michael Hanna <email@hidden>
  • Date: Thu, 7 Jul 2005 12:42:09 -0400

in an nswindow, I want the nstextview to be blank upon *creation* of an entry but I want it to bind to a tableview selection key path when I do an edit. Do I have to build two windows in IB? If I bind to Passages, controller key-> selection, model key path-> passages.body the insertion bar in the nstextview can't appear when creating a new passage (probably because there is no selection).

any design suggestions so that I can use just one window for both creation and editing?
Michael


_______________________________________________
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: How to bind only on edit?
      • From: Michael Hanna <email@hidden>
  • Prev by Date: Getting the color under the cursor
  • Next by Date: Re: Reading system preferences?
  • Previous by thread: Re:Getting the color under the cursor
  • Next by thread: Re: How to bind only on edit?
  • Index(es):
    • Date
    • Thread