• 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
calling scrollPoint: on table view from separate thread locks up app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calling scrollPoint: on table view from separate thread locks up app


  • Subject: calling scrollPoint: on table view from separate thread locks up app
  • From: "Chase" <email@hidden>
  • Date: Thu, 09 Aug 2007 20:14:09 +0000



the following line works fine when it's executed in the main thread...

[mytableview scrollPoint:NSMakePoint(0.0,0.0)];


... but when run from a separate thread -- and ONLY if the table view is not already scrolled to the 0,0 position -- the app locks up.


i tried:

[mytableview lockFocusIfCanDraw];
[mytableview scrollPoint:NSMakePoint(0.0,0.0)];
[mytableview unlockFocus];


... but that's even worse -- it locks up **every** time.

can someone shed some light on why this might be happening.

- chase



_______________________________________________

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: calling scrollPoint: on table view from separate thread locks up app
      • From: Fritz Anderson <email@hidden>
    • Re: calling scrollPoint: on table view from separate thread locks up app
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Copy-dragging in an NSTableView
  • Next by Date: Re: calling scrollPoint: on table view from separate thread locks up app
  • Previous by thread: Re: NSTableView clickedColumn clickedRow implementation
  • Next by thread: Re: calling scrollPoint: on table view from separate thread locks up app
  • Index(es):
    • Date
    • Thread