Question about dataWithPDFInsideRect:
Question about dataWithPDFInsideRect:
- Subject: Question about dataWithPDFInsideRect:
- From: Chris Goedde <email@hidden>
- Date: Fri, 12 Sep 2008 11:12:34 -0500
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@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