Re: Hiding tab bar causes web content in pushed view to slide down

2015-10-31 Thread David Duncan
Try doing the load in -viewWillAppear: instead. My guess is that the WKWebView is adding a UIScrollView when you load the content, and that scroll view is being modified after the fact when you can see it. Alternatively you can try setting automaticallyAdjustsScrollViewInsets=NO on your view co

Re: -replaceSubview transition animation that is applied to both old and new subviews

2015-10-31 Thread Nick
Answering my own question - I ended up using NSPageController. 2015-10-29 8:55 GMT+02:00 Nick : > 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 h

Re: AppleScript-ObjC Bridge Question

2015-10-31 Thread Shane Stanley
On 1 Nov 2015, at 12:05 AM, Dave wrote: > > continue initWithParam:theParam andAnotherParam:(missing value) of me ? > > Otherwise how will it know to call super or self? From the AppleScript Language Guide: > A continue statement causes AppleScript to invoke the handler with the same > name i

Re: AppleScript-ObjC Bridge Question

2015-10-31 Thread Dave
or maybe: > continue initWithParam:theParam andAnotherParam:(missing value) continue initWithParam:theParam andAnotherParam:(missing value) of me ? Otherwise how will it know to call super or self? Cheers Dave ___ Cocoa-dev mailing list (Co

Re: AppleScript-ObjC Bridge Question

2015-10-31 Thread Shane Stanley
On 31 Oct 2015, at 10:58 PM, Dave wrote: > > So: > >continue init() > > Calls the Superclass? Yes. > How would I do this: > > -(void) initWithParam:(NSString*) theParam > { > self = [self initWithParam:theParam andAnotherParam:nil]; > if (self == nil) > return; > > // Do somethi

Re: AppleScript-ObjC Bridge Question

2015-10-31 Thread Dave
So: continue init() Calls the Superclass? How would I do this: -(void) initWithParam:(NSString*) theParam { self = [self initWithParam:theParam andAnotherParam:nil]; if (self == nil) return; // Do something return self; } Thanks a lot, if you could point me to some documentatio

Re: AppleScript-ObjC Bridge Question

2015-10-31 Thread Dave
Thanks a lot Shane, I totally missed it, sorry for the misunderstanding. Cheers Dave > On 30 Oct 2015, at 15:40, Dave wrote: > > Well, obviously it does get called, but how do you actually define in is > AppleScript? I mean what is the equivalent of: > > -(id) init > { > self = [super init];