trying to get the code to format right, here it is again (hopefully
better!):
class MyDocument < NSDocument
attr_accessor :loadedmodel, :root #outlet to model field of controller
# Name of nib containing document window
def windowNibName
'MyDocument'
end
# Document data representation
Hello,
I'm encountering some weird behavior when trying to update a view using
windowControllerDidLoadNib after loading in a persistent document.
When I provide windowControllerDidLoadNib a single argument, as shown below
(and required by the NSDocument class definition and in every example I've
s
To fix it would be so nice, becouse it come out at so many places in my
code, that deals with the mouse. I have the same problem with getting the
position of a CALayer. So it must be connected with CGPoint/NSPoint as
Thibault sad
I send the bug on the tracker.
Thans a lot!
_