• 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: Best working hours model to use with Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best working hours model to use with Bindings


  • Subject: Re: Best working hours model to use with Bindings
  • From: Fritz Anderson <email@hidden>
  • Date: Sun, 21 Oct 2007 09:58:50 -0500

On 20 Oct 2007, at 11:49 PM, Paul Bruneau wrote:

In my scheduling app I need to be able to let the user specify the working hours for individual workstations and the plant generally and I want to make sure it is a good model to use with Bindings.

I have done a little testing with a CalendarDay class that has a BOOL iVar for each hour of the day (I just need hour resolution and 2 choices--working or not working for each hour). I got to hour 3 and realized there must be a better way, although this way of doing it did work just fine with my Bindings test, using an NSMatrix of NSButtonCell checkboxes.

But so many accessor methods to fully implement it! (48)

Bindings haven't obsoleted data-source methods for every purpose. In your situation, I wouldn't use bindings.


	— F

_______________________________________________

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: Best working hours model to use with Bindings
      • From: Ricky Sharp <email@hidden>
References: 
 >Best working hours model to use with Bindings (From: Paul Bruneau <email@hidden>)

  • Prev by Date: Re: Kludges when binding to 'value' of Menu Items
  • Next by Date: Re: Best working hours model to use with Bindings
  • Previous by thread: Best working hours model to use with Bindings
  • Next by thread: Re: Best working hours model to use with Bindings
  • Index(es):
    • Date
    • Thread