Hi All,
Using the AppleScript-ObjC bridge is it possible to define an init method in
the .applescript file and have it called like a normal Cocoa init? If so, how
to I define it? If not, is there a method that gets call at Startup?
This is from http://appscript.sourceforge.net/asoc.html
MyASC
Hi,
Is there a method something like didBecomeFrontWindow that get called when a
Window becomes the front window because the User Clicked in it and it wasn’t
before?
I have a NSWindowController/NSWindow Pair, I’ve looked through the Class
references, but can’t see anything?
Thanks a lot
Dave
windowDidBecomeKey or BecomeMain? Probably Key, if you want the one that got
clicked on. Front isn’t all that useful; a window could be key but not front if
it has something like a floating tools palette.
Window notifications/delegate methods always start with windowVerb, so
searching that patt
Hi,
I have an NSWindowController/NSWindow Pair and I was wondering if I can easily
present this as a Sheet?
At the moment it works Ok as a regular window but have need of it as a sheet
too in some cases and wondered about the best way of doing it?
Thanks a lot
All the Best
Dave
___
> I have an NSWindowController/NSWindow Pair and I was wondering if I can
> easily present this as a Sheet?
>
> At the moment it works Ok as a regular window but have need of it as a sheet
> too in some cases and wondered about the best way of doing it?
NSWindow has beginSheet:completionHandl
On 30 Oct 2015, at 1:14 AM, Dave wrote:
>
> Using the AppleScript-ObjC bridge is it possible to define an init method in
> the .applescript file and have it called like a normal Cocoa init?
Sure. If you create a document-based ASObjC project, you'll see an example:
on init()
I have a tab bar application with a nav controller in each of the tabs.
Clicking on an item in that pushes a new view controller with a WKWebView.
Actually there's a UIView specified in IB, and in -loadView I create the
WKWebView and add it to the UIView, and then add constraints to make it be t