nstabviewcontroller

NSSplitViewController based application almost never launches with the correct size

自古美人都是妖i 提交于 2019-12-09 06:07:36
问题 I have this app that uses a NSSplitViewController as the root and has a NSTabViewController connected as its detailViewController. This app is set to launch at 1024x768. The left pane should launch at 320x768 and the right pane (where the tabViewController is), should launch at 704x768. From 10 times I run this app, 9 times it will launch with the incorrect size (about 500x500). Other strange thing is that this app should not be scalable, but if you hover the mouse near the window border you

Getting black screen on using tab bar while searching using SearchController

隐身守侯 提交于 2019-12-09 03:08:15
问题 I have an app with a tab bar controller embedded in a navigation controller. The app has 2 tabs, the first one(search) has a search bar implemented using the UISearchController. If I switch from this tab to the other tab(downloads) while I'm searching, to the other tab two things happen - The navigation bar in the second tab(downloads) disappears When i come back to the first tab(search), it shows a black screen I have done all this using the storyboard. this is my SearchViewController import

NSWindow launching with wrong size after setting contentViewController to NSTabViewController

浪子不回头ぞ 提交于 2019-12-05 02:00:15
问题 I have an Xcode project with an NSWindowController whose contentViewController was set to a subclass of NSViewController . I recently removed the NSViewController subclass from the storyboard and replaced the contentViewController with an NSTabViewController subclass. Now, when I run the application, the NSWindow opens with a size of 500x500 instead of the size of the first tab. What's more, there is no view I can see in the storyboard that has a size of 500x500, and that size isn't being

NSWindow launching with wrong size after setting contentViewController to NSTabViewController

爱⌒轻易说出口 提交于 2019-12-03 16:20:12
I have an Xcode project with an NSWindowController whose contentViewController was set to a subclass of NSViewController . I recently removed the NSViewController subclass from the storyboard and replaced the contentViewController with an NSTabViewController subclass. Now, when I run the application, the NSWindow opens with a size of 500x500 instead of the size of the first tab. What's more, there is no view I can see in the storyboard that has a size of 500x500, and that size isn't being programmatically, either. The window itself is set to a different size, as is the view in the

NSSplitViewController based application almost never launches with the correct size

痞子三分冷 提交于 2019-12-03 06:46:46
I have this app that uses a NSSplitViewController as the root and has a NSTabViewController connected as its detailViewController. This app is set to launch at 1024x768. The left pane should launch at 320x768 and the right pane (where the tabViewController is), should launch at 704x768. From 10 times I run this app, 9 times it will launch with the incorrect size (about 500x500). Other strange thing is that this app should not be scalable, but if you hover the mouse near the window border you see cursor indication to scale. I want this to launch at the correct size and have no scalable option.