Hi all,

Suppose I have a model (myModel) and its view (myModelView) which is a subclass of NSView. myModel has an update method that updates the model, and changes in the view are all drawn inside the drawRect: method of myModelView. If I have the following sequence:

[ myModel update ];
[ myModelView setNeedsDisplay: YES ];
myModelViewData = [ myModelView dataWithPDFInsideRect: [ myModelView bounds ] ];

Is the data I get back from dataWithPDFInsideRect: guaranteed to reflect the last changes that stem from [ myModel update ]? Or is it possible that I might get data that's essentially cached from a view of the model from some previous state? Hope that makes sense.

Thanks.

Chris Goedde

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to