Hi Rob,
One other comment on your example.
I see that you have subclassed NSWindowController in your AppDelegate. That is
good for the window to be restorable. However, NSWindowController will define
it's own window property as an IBOutlet so you don't want to override that with
your own windo
Thanks Rob,
I wasn't familiar with that syntax.
I like referencing the Obj-C property from the documentation perspective.
It distinguishes my references to IBOutlets from references to ruby class
variables.
Bob
On Nov 10, 2013, at 4:19 AM, rob ista wrote:
> Isn’t it enough to have a Class.h
undle.mainBundle.pathForResource( sender.title,
> ofType:"machine", inDirectory:"Templates" ) )
> end
>
> def open_document_template( sender )
> open_file( NSBundle.mainBundle.pathForResource( sender.title,
> ofType:&quo