• 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
Manually update a binding's display pattern
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Manually update a binding's display pattern


  • Subject: Manually update a binding's display pattern
  • From: Brad <email@hidden>
  • Date: Mon, 7 Jun 2004 16:55:34 -0400

Does anyone know if it's possible to change display pattern of a binding? The only way I've found to do it is to reset the entire binding (- bind:toObject:withKeyPath:options:). It works but is causing a slowdown since it temporarily blocks.

Or maybe there's a better way for me to achieve what I'm trying to do. I have a text field that has 2 keys bound to it by displayPatternValues. I want the information displayed slightly different depending on the app's current state. Right now I have a method that gets called at the state change that resets the binding for the appropriate display pattern.

Thanks,

Brad
_______________________________________________
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: Manually update a binding's display pattern
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Problem with custom control in NSToolbar
  • Next by Date: Re: Rasterizing an NSString to a bitmap
  • Previous by thread: Re: Problem with custom control in NSToolbar
  • Next by thread: Re: Manually update a binding's display pattern
  • Index(es):
    • Date
    • Thread