Re: NSSplitView in a separate NSWindowControl doesn't show for some reason

2015-10-25 Thread Nick
Graham, Thank you for your answer. Just to follow up - yes, I tried adding the view as a subview, instead of replacing the content view of the window. But the result was the same - the split view kept losing its arrangesAllSubviews property, whenever the split view was loaded from a different XIB t

Re: Updated View Bounds After Orientation Change...

2015-10-25 Thread David Duncan
> On Oct 24, 2015, at 8:45 PM, Peters, Brandon wrote: > > Devs, > > I have a UIStackView, which holds an image view and a text view. The image > view has an activity indicator view as a subview (I add this > programmatically). When the view initially view loads, I center the activity > indic

Re: Hide UINavigationBar and keep UIPageController content static

2015-10-25 Thread David Duncan
> On Oct 24, 2015, at 10:23 AM, Kyle Sluder wrote: > > On Tue, Oct 20, 2015, at 11:21 AM, Stevo Brock wrote: >> The trick is, if in the storyboard, on the UIPageController, I set the >> “Under Top Bars” to yes, my custom view draws full screen. But when I >> toggle the navigationBarHidden, the

Re: NSSplitView in a separate NSWindowControl doesn't show for some reason

2015-10-25 Thread Graham Cox
> On 25 Oct 2015, at 5:51 am, Nick wrote: > > What am I doing wrong? > This:- > self.window.contentView = self.vc.view; > A NSWindow is not itself a NSView, so it needs to have a closely associated view that hosts all the rest of the window’s content. That is the contentView. It should

Re: viewDidLoad not called for an NSViewController's subclass (separate XIB)

2015-10-25 Thread Nick
Thanks Ken and Iowell! (I saw loadView in some example once and thought it should be called) 2015-10-25 9:12 GMT+02:00 Ken Thomases : > On Oct 25, 2015, at 1:58 AM, Nick wrote: > > > I am having a weird problem that viewDidLoad isn't called. Actually it's > > not a problem - I can use -awakeFrom

Re: viewDidLoad not called for an NSViewController's subclass (separate XIB)

2015-10-25 Thread Ken Thomases
On Oct 25, 2015, at 1:58 AM, Nick wrote: > I am having a weird problem that viewDidLoad isn't called. Actually it's > not a problem - I can use -awakeFromNib initializator instead, but I am > wondering why viewDidLoad is not called (as it is automatically generated > by xcode with a comment "plac

viewDidLoad not called for an NSViewController's subclass (separate XIB)

2015-10-25 Thread Nick
Hi. I am having a weird problem that viewDidLoad isn't called. Actually it's not a problem - I can use -awakeFromNib initializator instead, but I am wondering why viewDidLoad is not called (as it is automatically generated by xcode with a comment "place your initialization code here", when I create