Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-26 Thread Matt Neuburg
On Wed, 26 Jan 2011 07:21:55 -0800, Steve Christensen said: >If you go coloring outside the lines, you could find yourself having to do >ongoing maintenance of your source to fix issues that shouldn't have been >issues in the first place. Yes; I'd put this even more generally. This is a framewo

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-26 Thread Steve Christensen
On Jan 25, 2011, at 3:24 PM, WT wrote: > On Jan 25, 2011, at 8:45 PM, Dave Carrigan wrote: > >> When the docs say that a UINavigationController can be a tab in a tab bar >> interface, they mean a UITabBarController, not a UIViewController that >> happens to implement a tab bar interface. > > I

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread WT
On Jan 25, 2011, at 8:45 PM, Dave Carrigan wrote: > I don't have your original message any more, but my understanding is that you > have rolled your own tab bar controller. Yes, though not all of its functionality. > When the docs say that a UINavigationController can be a tab in a tab bar > i

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread WT
On Jan 25, 2011, at 8:37 PM, Conrad Shultz wrote: > I totally agree. If I understand the OP's design, as a user I would > find the UITabBar switching out from under me very disturbing and > confusing. How would I get back to the previous view? The navigation bar has a back button. The navigatio

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread WT
On Jan 25, 2011, at 8:30 PM, Matt Neuburg wrote: > Here are the ways you can use a tabbed interface, pasted in from the docs: > > • Install it directly in your application’s main window. > • Install it as one of the two root views in a split view interface. > (iPad only) > • Pr

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread Dave Carrigan
On Jan 25, 2011, at 2:11 PM, WT wrote: > On Jan 25, 2011, at 6:41 PM, Matt Neuburg wrote: > >> You asked for further support from the documentation for my statement that >> you're using view controllers for views that are going into the wrong sort >> of place in your view hierarchy. The devil ca

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/25/11 2:30 PM, Matt Neuburg wrote: > > On Jan 25, 2011, at 2:11 PM, WT wrote: > >> when you're on the front screen you see >> >> Results | Statistics | App Info >> >> but when you're in a particular experiment, you see >> >> Results | Statist

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread Matt Neuburg
On Jan 25, 2011, at 2:11 PM, WT wrote: > when you're on the front screen you see > > Results | Statistics | App Info > > but when you're in a particular experiment, you see > > Results | Statistics | Analysis ... (other relevant tabs for this particular > experiment) > > When you're on the

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread WT
On Jan 25, 2011, at 6:41 PM, Matt Neuburg wrote: > You should not be using view controllers merely as dumpster divers to load > nib files and extract their contents in a semi-automatic way. As I said in my > previous note, if you want to store those views in nibs, fine, but then the > way to ex

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread Matt Neuburg
On Tue, 25 Jan 2011 14:05:05 -0200, WT said: >While writing this reply, it occurred to me to try something I thought I had >tried before but which I had not, namely, to turn off "resize view from nib" >for the window root view controller (tabBarVC, in MainWindow.xib) and then >make its view (l

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread WT
I forgot to mention that it's precisely why there may be unforeseen problems that I am doing this on a test harness, to see how it comes about before I implement this design in the full app. That's clearly a valid approach. Even if it doesn't work and I have to change the design, I learn someth

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread WT
Those are valid arguments, Dave, and I'm grateful that you pointed me to them, but not necessarily applicable in all cases. In my specific case, the app only supports one orientation (so rotation isn't an issue) and the status bar is always visible. I will not categorically claim that this desig

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread Dave Carrigan
From the View Controller Programming Guide: "It is recommended that you use only the suggested techniques for displaying the views of your view controllers. In order to present and manage views properly, the system makes a note of each view (and its associated view controller) that you display

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread WT
On Jan 25, 2011, at 8:04 AM, Matt Neuburg wrote: > No, it's not. What you're doing is very thoroughly illegal, which is why > you're getting strange results. I beg to differ and would like you (or someone else) to point me to the part of the documentation that says that a view controller cannot

Re: [iPhone] can't get views not to slide off by the height of the status bar

2011-01-25 Thread Matt Neuburg
On Mon, 24 Jan 2011 22:36:51 -0200, WT said: >Hello list, > >I have the following view hierarchy in an iPhone test app: > >window > status bar > view managed by a tab bar with 2 tabs >view for tab 0: some view, managed by some view controller >view for tab 1: one of a set of views, manag

[iPhone] can't get views not to slide off by the height of the status bar

2011-01-24 Thread WT
Hello list, I have the following view hierarchy in an iPhone test app: window status bar view managed by a tab bar with 2 tabs view for tab 0: some view, managed by some view controller view for tab 1: one of a set of views, managed by a navigation controller tab bar In more detail