Re: Thumbnail view like iPhone Photos app
On Tue, 17 May 2011 20:35:58 +0800, Leon Qiao leon.qiao@gmail.com said: Dear all, I used to ask one question about NSCache. Actually, I need to build a view like the 'Photos' application. Now it works, but need to be improved: the speed of dragging, loading images is not good enough. Please give me some general ideas on how to load images on time and manage the cached memory. There's a WWDC 2010 session where they actually build something that looks like the Photos application, to deal exactly with this sort of issue. Watch that video; at the very least, it should give you some ideas. m. -- matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/ A fool + a tool + an autorelease pool = cool! Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Thumbnail view like iPhone Photos app
Dear all, I used to ask one question about NSCache. Actually, I need to build a view like the 'Photos' application. Now it works, but need to be improved: the speed of dragging, loading images is not good enough. Please give me some general ideas on how to load images on time and manage the cached memory. Thanks! -- Best regards Leon ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Thumbnail view like iPhone Photos app
Well give us something to go on at least! What did you use to build it? What have tried so far in profiling/improving the performance? On 17 May 2011, at 13:35, Leon Qiao wrote: Dear all, I used to ask one question about NSCache. Actually, I need to build a view like the 'Photos' application. Now it works, but need to be improved: the speed of dragging, loading images is not good enough. Please give me some general ideas on how to load images on time and manage the cached memory. Thanks! -- Best regards Leon ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/cocoadev%40mikeabdullah.net This email sent to cocoa...@mikeabdullah.net ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com