m atIndex:3];
}
else if (!tabViewItemShouldShow && tabViewItemDoesShow)
{
[tabView removeTabViewItem:retainedTabViewItem];
}
}
// other code omitted
@end
----
From: BareFeet
Date: 21 October 2009 6:02:21 PM AEDT
To: Cocoa Dev
Subject: Re: Hid
On Oct 21, 2009, at 9:03 AM, BareFeet wrote:
[tabView removeTabViewItem:oldItem]
But isn't that going to destroy the tab item, the view it contains,
and everything in that view? Can I get it back when that tab view
item is valid again, or do I have to programmatically create all the
Thanks for the reply, Kyle.
[tabView removeTabViewItem:oldItem]
But isn't that going to destroy the tab item, the view it contains,
and everything in that view? Can I get it back when that tab view item
is valid again, or do I have to programmatically create all the objects?
Thanks,
In general hiding bit of you interface depending on the state/
selection of you app is considered bad because it can confuse the
user, if you disable elements then you are tell the user that the
element is not available for the current state/selection etc., if you
you hide elements then the
On Wed, Oct 21, 2009 at 12:02 AM, BareFeet wrote:
> This seems like a common requirement, so I keep thinking I must be missing
> something simple.
Nope. You're going to need to write code. The "hardest" part is
replacing the tab view items; this really isn't that difficult:
// Typed in Mail
-
This seems like a common requirement, so I keep thinking I must be
missing something simple.
For an example of similar functionality, look at Disk Utility. The
user can navigate through a tree of nested disks and partition nodes
in the left view. The right view shows a tab view that changes
there a different roots to success
Thanks for the input.
a) roll your own Tabs instead of Segmented cell in combination with
a tabless NSTabView
Do you mean use a segmented control with a tabless NSTabView, where
each segmented cell is linked to a tab view?
I have set that up, but c
Hi,
there a different roots to success
a) roll your own Tabs instead of Segmented cell in combination with a
tabless NSTabView
b) Add/remove tab items on demand
Both are fairly easy to achieve with some pitfalls like view retains
and such. I am using the b) route for something similar
Hi all,
I have a hierarchical list of objects, like the typical iTunes or
XCode left pane. When the user selects a node in this hierarchy, I
display detail of that node in the pane on the right. This right pane
is divided into tab view items. Only some of the tab view items are
relevant t