[Drawkit] validateMenuItem:
V1ru8
info at v1ru8.net
Wed Jun 24 02:55:22 PDT 2009
Hi Graham,
Thank you very much for the detailed description! And specially for
the diagrams. they give me a much better understanding of the whole
topic.
I tried all three ways you described. Overwriting
makeControllerForView, adding the controller in the
windowControllerDidLoadNib method (both are working properly) and
subclassing DKDrawingView. But that doesn't work. Somehow (even if I
just have an empty subclass) I get the following error message when I
try to instantiate a new Document.
*** -[NSRulerMarker
initWithRulerView:markerLocation:image:imageOrigin:]: no image given.
NSRulerMarkers must have an image.
It's not important for me right now but I'm interested what I'm doing
wrong again ;-).
Regards,
Thomas
More information about the Drawkit
mailing list