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
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
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
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:
Hi
I am trying to do a nice sliding effect (that looks to the user as Calendar
scrolling), but for pages. So basically I have several pages that I want to
present to the user one by one, that he can flip with a trackpad gesture.
I am using a kCATransitionFromLeft animation, when the pages are
Thanks Jens, Charles!
2015-10-28 6:59 GMT+02:00 Charles Constant :
> I don't know if this information can solve your issue directly, but I used
> it to fix my issue last week. I have a custom NSScroller that had jerky
> scrolling. I didn't realize that views have an
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