Re: Split view priority

2016-04-22 Thread Quincey Morris
On Apr 22, 2016, at 18:56 , Ken Thomases wrote: > > After that, what is the design-time size of the left split view and the > window? You should set them to the default configuration. The window will > stay that way so long as there are no constraints of

Re: Split view priority

2016-04-22 Thread Quincey Morris
On Apr 22, 2016, at 18:56 , Ken Thomases wrote: > > First, the split view holding priorities should generally be less than 490. > That's NSLayoutPriorityDragThatCannotResizeWindow. If they are greater than > that, then they'll potentially override the window's s

Re: Split view priority

2016-04-22 Thread Ken Thomases
On Apr 22, 2016, at 7:15 PM, Quincey Morris wrote: > > I have a window that contains a split view of 2 split items. The item on the > left is a source list whose width constraint is '>= 70’ @priority 1000. The > item on the right is a view whose width constraint is '

Split view priority

2016-04-22 Thread Quincey Morris
I have a window that contains a split view of 2 split items. The item on the left is a source list whose width constraint is '>= 70’ @priority 1000. The item on the right is a view whose width constraint is '>= 700’ @priority 1000. The window itself has no minimum size specif

Tab bar and split view controllers together?

2016-04-10 Thread Alex Hall
tab bar to let users choose the section they want to look at, but each tab will be a split view controller. That is, each logical section of the app (except settings) is a master/detail view, with some having extra VCs that will be added as necessary to the given navigation controller. For i

Re: Mail.app's split view

2013-09-24 Thread Rick Mann
On Sep 24, 2013, at 14:46 , Kyle Sluder wrote: > On Tue, Sep 24, 2013, at 02:21 PM, Rick Mann wrote: >> Is iPad Mail's split view a standard thing that other apps can easily >> implement? > > Yes. It's a UISplitViewController. > >> I've notice

Re: Mail.app's split view

2013-09-24 Thread Kyle Sluder
On Tue, Sep 24, 2013, at 02:21 PM, Rick Mann wrote: > Is iPad Mail's split view a standard thing that other apps can easily > implement? Yes. It's a UISplitViewController. > I've noticed that swiping to the right to go back up the navigation > controller hierarchy

Mail.app's split view

2013-09-24 Thread Rick Mann
Is iPad Mail's split view a standard thing that other apps can easily implement? I've noticed that swiping to the right to go back up the navigation controller hierarchy only works if you begin the swipe off the screen. However, in our iPad app that uses popover controllers, you can

Re: NSSplitView similar to Xcode's editor/debug area split view

2013-07-03 Thread Chuck Soper
Hi Andy, Thanks for this code snippet. It was exactly what I was asking for, but it didn't fit for my specific situation. I now have a split view with three subviews with different holding priorities. The only way I could get this to work was to use constraints, and animate them. It

Re: NSSplitView similar to Xcode's editor/debug area split view

2013-07-02 Thread Miron Iancu
ng to implement an NSSplitView similar to Xcode's editor/debug > area split view. I'm implementing a split view with two views (one above > the other). > > Like Xcode, I need my 'Debug Area' view to: > a) Have a minimum height. > b) Show or hide view with animati

Re: NSSplitView similar to Xcode's editor/debug area split view

2013-06-28 Thread Andy Lee
Hi Chuck, On Jun 26, 2013, at 8:30 PM, Chuck Soper wrote: > 2. How should I animate the showing or hiding of the 'debug area' view? I do by sending setFrame: to the two subviews' animator proxies instead of to the view itself. // Assumes the split view has two subviews, o

NSSplitView similar to Xcode's editor/debug area split view

2013-06-26 Thread Chuck Soper
I'm trying to implement an NSSplitView similar to Xcode's editor/debug area split view. I'm implementing a split view with two views (one above the other). Like Xcode, I need my 'Debug Area' view to: a) Have a minimum height. b) Show or hide view with animation by click

Re: Adding UINavBar to split view detail in storyboard?

2012-11-12 Thread Rick Mann
I finally suceeded in doing what I needed to do, although it's not ideal. It's possible to separate UITableViewController's view from its tableView. I subclassed UITableViewController, and in -viewDidLoad I: - Remember the current self.tableView in an ivar - Create a UIView match

Re: Adding UINavBar to split view detail in storyboard?

2012-11-12 Thread Rick Mann
On Nov 12, 2012, at 7:30 , Fritz Anderson wrote: > The whole point of a UITableViewController is to have a controller that > autonomously instantiates a table view as its root view. Interface Builder > isn't making an arbitrary choice; the controller, not IB, creates the view. Actually, I dis

Re: Adding UINavBar to split view detail in storyboard?

2012-11-12 Thread Fritz Anderson
On 12 Nov 2012, at 3:58 AM, Rick Mann wrote: > Storyboard table views insist, rather restrictively, that the top-level view > in a UITableViewController be a table view. I'd really rather it be a regular > view, and put the table view down inside the hierarchy. There's no good > reason this ca

Re: Adding UINavBar to split view detail in storyboard?

2012-11-12 Thread Rick Mann
Well, I spoke too soon. The UINavController solves the nav bar issue, but I have another, custom, view, that I want to stick above my table view. On Nov 12, 2012, at 2:01 , Rick Mann wrote: > Hmm. I guess I can just add an unnecessary UINavBarController. Feels > wasteful, but it'll do. > > On

Re: Adding UINavBar to split view detail in storyboard?

2012-11-12 Thread Rick Mann
Hmm. I guess I can just add an unnecessary UINavBarController. Feels wasteful, but it'll do. On Nov 12, 2012, at 1:58 , Rick Mann wrote: > My detail view is implemented using a UITableView. I want a nav bar at the > top of the detail view, to mimic the iPhone (which is provided by the nav > c

Adding UINavBar to split view detail in storyboard?

2012-11-12 Thread Rick Mann
My detail view is implemented using a UITableView. I want a nav bar at the top of the detail view, to mimic the iPhone (which is provided by the nav controller), and to provide a heading for the detail below. Storyboard table views insist, rather restrictively, that the top-level view in a UITa

web view moving in split view when keyboard comes up

2011-09-12 Thread Stephen Zyszkiewicz
I have a UIWebView loading a Sencha Touch html page in a split view. The autosizing for the web view is set to the left and top in Interface Builder with the four in the middle, right, and bottom disabled, although I've tried many combinations. The issue occurs when you touch in the s

Re: Animated Split View

2011-08-24 Thread Luc Van Bogaert
On 01 Jun 2011, at 12:07, Antonio Nunes wrote: > I want a generic animated split view. So I had a rummage online, and couldn't > find anyone who had prepared the wheel for me. Consequently I set out to > create my own. I soon found that overriding setPosition:ofDividerAtIndex:

Animated Split View

2011-06-01 Thread Antonio Nunes
Hi, I want a generic animated split view. So I had a rummage online, and couldn't find anyone who had prepared the wheel for me. Consequently I set out to create my own. I soon found that overriding setPosition:ofDividerAtIndex: and make it work correctly for split views with more tha

Re: iOS - Hide Master view in a split view

2011-03-25 Thread Matt Neuburg
On Thu, 24 Mar 2011 17:27:51 -0400, Eric Gorr said: >I am trying to figure out how to hide the master view in a split view while in >landscape mode. If you're talking about a UISplitView, then what you're trying to do would not be a UISplitView. So you have two choices:

Re: iOS - Hide Master view in a split view

2011-03-24 Thread WT
On Mar 24, 2011, at 8:18 PM, Eric Gorr wrote: >> On Mar 24, 2011, at 7:11 PM, WT wrote: >> >> I just ran a very quick test and the following code snippet successfully >> toggles between showing and hiding the master view: >> >> UIViewController* vc; >> vc = [splitViewController.viewControllers

Re: iOS - Hide Master view in a split view

2011-03-24 Thread Eric Gorr
Sent from my iPhone On Mar 24, 2011, at 7:11 PM, WT wrote: > On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote: > >> I am trying to figure out how to hide the master view in a split view while >> in landscape mode. Searching, I found the suggestion to try: &g

Re: iOS - Hide Master view in a split view

2011-03-24 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/24/11 4:11 PM, WT wrote: > On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote: > >> I am trying to figure out how to hide the master view in a split view while >> in landscape mode. Searching, I found the suggestion to try: You

Re: iOS - Hide Master view in a split view

2011-03-24 Thread WT
On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote: > I am trying to figure out how to hide the master view in a split view while > in landscape mode. Searching, I found the suggestion to try: > > [[master view] setFrame:CGRectMake(0, 0, 0, 0)]; > [[detail view] setFr

iOS - Hide Master view in a split view

2011-03-24 Thread Eric Gorr
I am trying to figure out how to hide the master view in a split view while in landscape mode. Searching, I found the suggestion to try: [[master view] setFrame:CGRectMake(0, 0, 0, 0)]; [[detail view] setFrame:splitBounds]; However, this does not appear to work. What is the recommend

Re: Question about split view

2011-02-16 Thread Matt Neuburg
Actually, now that I think of it, an even simpler, more sweeping solution is to make the split view controller your own UISplitViewController subclass, and implement didReceiveMemoryWarning to return immediately: - (void) didReceiveMemoryWarning { return; } Now the detail view will never

Re: Question about split view

2011-02-16 Thread Matt Neuburg
>On Sun, 16 Jan 2011 18:35:45 -0500, Phillip Mills >said: >>I see a problem with the following scenario: >>1) Start with the template project for a split view >>2) Add a function where a modal view can be shown over it using a style of >>UIModalPresentationFullSc

Re: Question about split view

2011-01-17 Thread Matt Neuburg
On Mon, 17 Jan 2011 07:09:01 -0500, Phillip Mills said: >To my way of thinking, the problem is that there's no well-defined "and now >we're back" notification In general the advent of multitasking seems to have caught the framework with its pants down (and the documentation even more so). But

Re: Question about split view

2011-01-17 Thread Phillip Mills
On 2011-01-16, at 10:08 PM, Kyle Sluder wrote: > I'm sure developers would > love if the frameworks *did* manage memory correctly. In the absence of page/swap space for modified memory, I'm not sure what 'correctly' means. :-) To my way of thinking, the problem is that there's no well-defined

Re: Question about split view

2011-01-16 Thread Kyle Sluder
mess with memory at all. Anyway, what I'm suggesting is that > you try that sort of thing, to see if you can prevent the split view and its > subcontrollers from having their views unloaded. m. Please do say you've filed a bug on this. I'm sure developers would love if t

Re: Question about split view

2011-01-16 Thread Matt Neuburg
On Sun, 16 Jan 2011 18:35:45 -0500, Phillip Mills said: >I see a problem with the following scenario: >1) Start with the template project for a split view >2) Add a function where a modal view can be shown over it using a style of >UIModalPresentationFullScreen >3) Run in portrait

iOS: Question about split view

2011-01-16 Thread Phillip Mills
I see a problem with the following scenario: 1) Start with the template project for a split view 2) Add a function where a modal view can be shown over it using a style of UIModalPresentationFullScreen 3) Run in portrait mode 4) While the modal view is being shown, trigger a memory warning 5

Split View

2010-08-11 Thread Gerd Moe-Behrens
Hi, I am trying to make a drill down (table1 > table2 > detail view) using a split view template. I would like to reuse the same table view and the same table view controller. The problem is that the cells are empty, if I drill down to the 2nd level. I based my code on a nice tutorial

Split View / drill down

2010-08-06 Thread Gerd Moe-Behrens
Hi, I would like to create a drill down as done in mail. I found a nice tutorialhttp://www.iphonesdkarticles.com/2009/03/uitableview-drill-down-table-view.html. It worked fine for a navigation based template. I tried to modify it for a split view template. In this case the I got: terminating

Re: managing split view iPad

2010-07-20 Thread Andrea Mattiuz
On Jul 20, 2010, at 4.53 PM, Michael Babin wrote: >I'm picturing a set-up like the one used by the Settings app on the iPad, having a split view with a table view on the left and a navigation view on the right. Selecting an item in the table view on the left sets a new "root

Re: managing split view iPad

2010-07-20 Thread Michael Babin
n controller in > that way? It doesn't work! I'm picturing a set-up like the one used by the Settings app on the iPad, having a split view with a table view on the left and a navigation view on the right. Selecting an item in the table view on the left sets a new "root

Re: managing split view iPad

2010-07-20 Thread Andrea Mattiuz
thanks, with -[UINavigationController setViewControllers:animated:] I can "reset" the navigation controller on the right side, passing to this method an array with the only ViewController of the new view I have to represent. Why I can do it only at the first tap and after that nothing changes

Re: managing split view iPad

2010-07-20 Thread Michael Babin
On Jul 20, 2010, at 3:08 AM, Andrea Mattiuz wrote: > thank you mmalc for the tip, > but I don't have a navigation controller in the view xib file that I will > charge, because I have an only navigation controller on the right side, > declarated on the MainView xib file, an I work changing it. >

Re: managing split view iPad

2010-07-20 Thread Andrea Mattiuz
thank you mmalc for the tip, but I don't have a navigation controller in the view xib file that I will charge, because I have an only navigation controller on the right side, declarated on the MainView xib file, an I work changing it. When I tap on the left side I modified the controller with thi

Re: managing split view iPad

2010-07-19 Thread mmalc Crawford
On Jul 19, 2010, at 12:19 am, Andrea Mattiuz wrote: > I can't manage the change of a navigation controller on the right side of a > split view application (iPad) after a tap on the left side. > The behavior of this app would be similar to the 'settings' app in the

managing split view iPad

2010-07-19 Thread Andrea Mattiuz
hi all, I can't manage the change of a navigation controller on the right side of a split view application (iPad) after a tap on the left side. The behavior of this app would be similar to the 'settings' app in the iPad simulator. any suggestions or examples would be very appre

Avoiding Flicker with OpenGL View when Moving Divider of a Split View

2009-03-21 Thread Chris Suter
Hi all, I have a split view arranged horizontally with an OpenGL view in the right pane (surrounded by some other stuff). When I move the divider, there is a flicker on the right hand side of the OpenGL view. You don’t get this glitch if you resize the window. It's not a major issue, just

Re: Updates in one split view pane causing other pane to redraw (on Tiger): SOLVED

2008-03-24 Thread Martin Redington
Frame:(NSRect)cellFrame inView:(NSView *)controlView { // Some code // Don't do this. [controlView setNeedsDisplay:YES]; // Some more code } On 21 Mar 2008, at 13:52, Martin Redington wrote: In my app I have a split view (actually an RBSplitView). The left hand pane

Updates in one split view pane causing other pane to redraw (on Tiger)

2008-03-21 Thread Martin Redington
In my app I have a split view (actually an RBSplitView). The left hand pane contains a table view representing disk volumes, and the right hand split view contains an NSOutlineView listing files and directories. When I update item in the files view, I'm *sometimes* seeing the v