• 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: selectionShouldChangeInTableView called twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: selectionShouldChangeInTableView called twice


  • Subject: Re: selectionShouldChangeInTableView called twice
  • From: Andre Masse <email@hidden>
  • Date: Tue, 23 Dec 2008 09:26:28 -0500

Hi,

Found a simple way to achieve what I wanted (prevent selecting a different row when editing the detail view). Instead of messing with selectionShouldChangeInTableView:

[tableView setEnabled:(!isDirty)];

Should have think of this sooner! Sure, there's no feedback why the table view isn't working but since there's only 3 users (one being me) for this app, I can live with that :-)

Thanks to all for your suggestions,

Andre Masse
_______________________________________________

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: selectionShouldChangeInTableView called twice
      • From: Andreas Mayer <email@hidden>
References: 
 >selectionShouldChangeInTableView called twice (From: Andre Masse <email@hidden>)

  • Prev by Date: Write to file.
  • Next by Date: Re: Write to file.
  • Previous by thread: Re: selectionShouldChangeInTableView called twice
  • Next by thread: Re: selectionShouldChangeInTableView called twice
  • Index(es):
    • Date
    • Thread