Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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





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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.