On Dec 9, 2009, at 2:05 AM, Sean McBride wrote: > > And these are ivars I guess? If so, they should live as long as 'self' does.
Yes, they are ivars. I was able to resolve the issue by adding invocation to retain: for both _vertices and _indices. So yep, it was a memory management issue. I better read the Memory Management and Garbage Collection guides again. > Do you use the 'bytes' method? Are you aware of the issues with it under GC? Yes, I do use their bytes method when accessing their contents in drawRect: method. What are the issues? Regards, Henri Häkkinen _______________________________________________ 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