Re: loadNibNamed deprecated, but newer version crashes

2016-09-19 Thread Dave
Yeah, you need to either assign the Array to a strong property OR you need to extract what you want from the Array and store those items as a strong property. Cheers Dave > On 19 Sep 2016, at 11:19, Alastair Houghton > wrote: > > On 19 Sep 2016, at 10:02,

Re: How to make Xcode launch a different app when "Running" my code?

2016-09-19 Thread Alastair Houghton
On 18 Sep 2016, at 14:54, Uli Kusterer wrote: > > On 18 Sep 2016, at 12:02, Gabriel Zachmann wrote: >> When I "Run" my code in Xcode (i.e., hit CMD-R), I would like Xcode to build >> the code, copy the product to its destination, >> and then

Re: Triggering a segue from code

2016-09-19 Thread Quincey Morris
On Sep 19, 2016, at 18:10 , mail...@ericgorr.net wrote: > > The strange behavior I am now seeing is that when I show & hide the panel > using the buttons are what appears to be two (not three, not four, etc.) > different instances of the inspector panel. The

Re: loadNibNamed deprecated, but newer version crashes

2016-09-19 Thread Gabriel Zachmann
Thanks a lot for your response. When I replace this line [NSBundle loadNibNamed: @"ConfigureSheet" owner: self]; by this: NSBundle * bundle = [NSBundle bundleForClass:[self class]]; [bundle loadNibNamed: @"ConfigureSheet" owner: self topLevelObjects: nil]; then System

Strange UIWebView issue after upgrading to Xcode8

2016-09-19 Thread Diederik Meijer
Dear list, In my app I have a horizontal UIStackView that has three UIViews, each of which has a UIWebView. The UIStackView is embedded in a UIScrollView. The scrollView’s frame equals the viewController’s view’s frame, its content size is three times the viewController’s view’s width. This

Re: loadNibNamed deprecated, but newer version crashes

2016-09-19 Thread Alastair Houghton
On 19 Sep 2016, at 10:02, Gabriel Zachmann wrote: > > Thanks a lot for your response. > > When I replace this line > [NSBundle loadNibNamed: @"ConfigureSheet" owner: self]; > by this: > NSBundle * bundle = [NSBundle bundleForClass:[self class]]; >

Xcode-like title bar using title bar accessory view

2016-09-19 Thread David Catmull
I'm trying to create a title bar resembling Xcode's, where toolbar-like controls replace the standard window title in the area to the right of the standard 3 buttons. So far, I've added a title bar accessory view and set the window's titleVisibility to hidden. But the results aren't quite right.

Re: Package installation on MacOS Sierra

2016-09-19 Thread James Walker
On 9/18/2016 3:36 PM, Graham Cox wrote: I have the classic .dmg approach to installation, where a disk image includes an alias for /Applications and the user drags the app icon to it. On 10.12, the alias appears to point to nothing, and has a generic file icon. The disk image should contain a

Re: Triggering a segue from code

2016-09-19 Thread mail...@ericgorr.net
Thank you for your reply Quincey. I am definitely getting closer to the behavior I want. Performing the “Show Inspector” segue from the my custom document window controller (WindowController.swift) allows both by regular button and toolbar button to show the Inspector. As you suggested, I