Turning off ARC in one file helped track down the problem. Thanks Daniel!
With breakpoints in retain and autorelease, it was possible to step through
the whole tab setup process. Turns out that NSTabViewController's
addChildViewController calls didSelectTabViewItem before the tab is set up
pro
In the Build Phases tab of the target, open compile sources and set the
compiler flags for your subclass’s .m to -fno-objc-arc.
Don’t forget that the signature for -release is -(oneway void)release, not just
-(void)release :)
Daniel
> On May 22, 2019, at 12:13 PM, Carl Hoefs
> wrote:
>
>
On 5/22/19 11:20 AM, Casey McDermott wrote:
Instruments shows the child view controller being deallocated improperly
after a tab switch.
Unfortunately it's either run the debugger or run Instruments, but not both.
So it doesn't help narrow down to when the release happens, exactly.
Instrument
> On May 22, 2019, at 11:31 AM, Daniel DeCovnick wrote:
>
> You can always subclass, turn off ARC for that file, and override -release or
> -autorelease to breakpoint in.
How does one turn off ARC for a specific file?
-Carl
___
Cocoa-dev mailing l
rs that should solve your situation.
>
> You may also want to check out Instrument’s zombies, which might better
> pinpoint where the issue is ocurring.
>
> HTH,
>
> Keary Suska
> Esoteritech, Inc.
> "Demystifying technology for your home or business"
>
You can always subclass, turn off ARC for that file, and override -release or
-autorelease to breakpoint in. I’ve done that on occasion with particularly
tricky overrelease bugs (which actually turned out to be an under-autorelease
bug in some non-ARC code).
Daniel
> On May 22, 2019, at 11:20
Instruments shows the child view controller being deallocated improperly after
a tab switch.
Unfortunately it's either run the debugger or run Instruments, but not both.
So it doesn't help narrow down to when the release happens, exactly.
Instruments has an Allocations list that shows caller and
r business"
On May 22, 2019, at 8:26 AM, Casey McDermott wrote:
Our Mac app adds tabs to a NSTabView programmatically. After switching tabs a
few times, one of the NSTabViewItems would release
prematurely, causing a crash. So we switched it to using a
NSTabViewController. Tab switching
> On May 22, 2019, at 1:19 PM, Casey McDermott wrote:
>
> The Allocations feature in Instruments looks promising. Is there a way to
> limit the display to just one class? Otherwise it is WTMI.
Check out File → Recording Options…
Matt
___
Cocoa-dev
nt to check out Instrument’s zombies, which might better
pinpoint where the issue is ocurring.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
> On May 22, 2019, at 8:26 AM, Casey McDermott wrote:
>
> Our Mac app adds tabs to a
ation.
You may also want to check out Instrument’s zombies, which might better
pinpoint where the issue is ocurring.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
> On May 22, 2019, at 8:26 AM, Casey McDermott wrote:
>
> Our Mac app
On 5/22/19 7:26 AM, Casey McDermott wrote:
Our Mac app adds tabs to a NSTabView programmatically. After switching tabs a
few times, one of the NSTabViewItems would release
prematurely, causing a crash. So we switched it to using a
NSTabViewController. Tab switching still crashes, but now it
Our Mac app adds tabs to a NSTabView programmatically. After switching tabs a
few times, one of the NSTabViewItems would release
prematurely, causing a crash. So we switched it to using a
NSTabViewController. Tab switching still crashes, but now it releases a
NSViewController prematurely
I put in a table-view for the top half of a OS X storyboard, and a tab-view for
the bottom. I couldn't figure out how to modify the tabs with more controls.
Eventually I followed web tutorial and replaced the tab-view with a custom view
that's attached to a tab-view controller, which itself has
> On 2014 Sep 28, at 22:06, Kyle Sluder wrote:
>
> Do you have a cycle in your nextResponder chain? Remember than
> NSViewController now inserts itself into the responder chain on 10.10.
YES! That explains all of the forwardMethod() madness. My subclass of
NSViewController, which I use for
On Sep 28, 2014, at 9:48 PM, Jerry Krinock wrote:
>
> …
> #1309580x7fff96f9ad70 in forwardMethod ()
> #1309590x7fff96f9ad70 in forwardMethod ()
> #1309600x7fff974074ea in -[NSTabView mouseDown:] ()
Do you have a cycle in your nextResponder chain
0x7fff96f9ad70 in forwardMethod ()
#130959 0x7fff96f9ad70 in forwardMethod ()
#130960 0x7fff974074ea in -[NSTabView mouseDown:] ()
#130961 0x7fff96f9ad70 in forwardMethod ()
#130962 0x7fff96f9ad70 in forwardMethod ()
#130963 0x7fff96f9ad70 in forwardMethod ()
#130964
hat the last view in the loop has its nextKeyView set to the
> tab view itself. This normally has no visible effect, since the tab view
> returns NO from -acceptsFirstResponder and returns the correct value
> from -nextKeyView such that -nextValidKeyView remains a loop.
>
> I presum
cept* that the last view in the loop has its nextKeyView set to the
tab view itself. This normally has no visible effect, since the tab view
returns NO from -acceptsFirstResponder and returns the correct value
from -nextKeyView such that -nextValidKeyView remains a loop.
I presume NSTabView insists o
On Dec 3, 2013, at 16:08:23, Steve Mills wrote:
> We have a window that has a tab view that contains 2 tabs. The 2 tabs contain
> empty views. The actual views are in their own specific xibs and get loaded
> manually, then we replace the temp views in the tabs with the actual views
> via:
>
>
We have a window that has a tab view that contains 2 tabs. The 2 tabs contain
empty views. The actual views are in their own specific xibs and get loaded
manually, then we replace the temp views in the tabs with the actual views via:
tab.view = realView;
At that point, the key loop is being rec
On Nov 7, 2013, at 08:46 , Joseph Ayers wrote:
> I have a NSWindow that has a NSTabView. The window has some drawers that open
> when one of the tabs is clicked on. One of the tabs draws a digital
> oscilloscope, another draws graphs and a third some DSP graphics The drawers
On 7 Nov 2013, at 5:46 pm, Joseph Ayers wrote:
> I’m working on a program that does digital signal processing on the audio
> tracks of a Quicktime Movie.
>
> I have a NSWindow that has a NSTabView. The window has some drawers that open
> when one of the tabs is clicked on.
I’m working on a program that does digital signal processing on the audio
tracks of a Quicktime Movie.
I have a NSWindow that has a NSTabView. The window has some drawers that open
when one of the tabs is clicked on. One of the tabs draws a digital
oscilloscope, another draws graphs and a
indow *analysis;
// the visualization window
@property(nonatomic, strong) IBOutlet NSTabView*myTabView;
// the host view
@property(nonatomic, strong) IBOutlet NSTabViewItem*scopeItem;
// the host view
@property(nona
On 12/09/2013, at 3:22 PM, Joseph Ayers wrote:
> When you click on a tab in a NSTabView, what action gets sent to what target?
> Where can I find this information?
I don't think actions or targets are involved. The NSTabViewItem clickable
button row appears to be privately
On 12/09/2013, at 5:25 PM, Joseph Ayers wrote:
> -(void) awakeFromNib
> {
> [self setDelegate:self];
>
> }
>
More obvious problem, should this be [myTabView setDelegate:self]; ?
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On 12/09/2013, at 5:35 PM, Graham Cox wrote:
> The NSTabViewItem is NOT the same object as the view it hosts, so your
> conditionals will always return false. [NSTabViewItem view] is the object
> you're looking for.
>
> That said, the rest of your code (which is rather difficult to read) does
That got the delegate proc working.
Onward and thanks,
Joseph
On Sep 12, 2013, at 11:54 AM, Graham Cox wrote:
>
> On 12/09/2013, at 5:25 PM, Joseph Ayers wrote:
>
>> -(void) awakeFromNib
>> {
>> [self setDelegate:self];
>>
>> }
>>
>
>
> More obvious problem, should this be [myTabVie
On 12/09/2013, at 5:25 PM, Joseph Ayers wrote:
> I created a delegate procedure in the window controller
>
> - (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem
> *)tabViewItem
> {
> AppDelegate *appDelegate = [NSApp delegate];
> if (tabView
On 2013 Sep 12, at 06:22, Joseph Ayers wrote:
> When you click on a tab in a NSTabView, what action gets sent to what target?
> Where can I find this information?
If I recall correctly, and, presuming that you looked for some time before
posting your question, I think that it's al
On 12 Sep 2013, at 14:22, Joseph Ayers wrote:
> When you click on a tab in a NSTabView, what action gets sent to what target?
> Where can I find this information?
NSTabView is not a subclass of NSControl so it has no target or action.
Instead, its delegate is informed of changes
When you click on a tab in a NSTabView, what action gets sent to what target?
Where can I find this information?
Thanks,
Joseph
Joseph Ayers, Professor
Departments of Marine and Environmental Science
Biology, Civil and Environmental Engineering
and Marine Science Center
Northeastern University
wrote:
I ran into a very similar problem. Recently, I put my view hierarchy into
an NSTabView. When it's in the inactive tab, I get lots of "Unable to
simultaneously satisfy constraints" errors. When the view hierarchy is in
the active tab, there are no errors. I use auto layou
I ran into a very similar problem. Recently, I put my view hierarchy into
an NSTabView. When it's in the inactive tab, I get lots of "Unable to
simultaneously satisfy constraints" errors. When the view hierarchy is in
the active tab, there are no errors. I use auto layout in m
was sent to the list on Saturday, but I
>> didn't receive it until this morning.
>>
>>
>> On 4/13/13 1:57 PM, "kwic...@wichry.net" wrote:
>>
>>> Hi
>>> I have an NSTabView with multiple tabs, each containing an NSScrollView.
>
ew. I think that
NSScrollView doesn't support it, but it appears that many people have
gotten it to work.
Chuck
P.S. It looks like your message was sent to the list on Saturday, but I
didn't receive it until this morning.
On 4/13/13 1:57 PM, "kwic...@wichry.net" wrote:
Hi
looks like your message was sent to the list on Saturday, but I
didn't receive it until this morning.
On 4/13/13 1:57 PM, "kwic...@wichry.net" wrote:
>Hi
>I have an NSTabView with multiple tabs, each containing an NSScrollView.
>In the scrollviews I dynamically place
Hi
I have an NSTabView with multiple tabs, each containing an NSScrollView. In the
scrollviews I dynamically place custom views which are sized using autolayout
and constraints.
Now if I add my custom views to a scrollview in tab1 and resize the window with
this tab active everything works
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/26/11 11:08 AM, Jens Alfke wrote:
> What I would do is, once you know the content view size you want,
> compute the difference between that size and the content’s current
> size, then grow the window by that amount.
>
> The assumption is that th
On Aug 26, 2011, at 10:43 AM, Conrad Shultz wrote:
> I have an NSTabView in a window and want to size it (and,
> subsequently, the window) to fully display the current tab view item's
> content view (i.e. [tabViewItem view]).
What I would do is, once you know the content view
ive newcomer to AppKit this is not at all improbable.
I have an NSTabView in a window and want to size it (and,
subsequently, the window) to fully display the current tab view item's
content view (i.e. [tabViewItem view]).
What I am currently doing, more or less, is:
1) Calculate the prope
Hello all,
I have an application which needs to run multiple instances of
WebView, each will be running a Java applet embedded in the page that
it loads. For the sake of a sane UI, each WebView is contained in its
own tab item in an NSTabView.
This is mostly working, but I'm havin
On 2010 Nov 04, at 08:31, Keary Suska wrote:
> You have to do all the resizing yourself via code, and watch out for
> overlapping view gotchas.
Indeed. For example, if the size is increasing, you'll want to resize first,
then draw. But if the size is decreasing, you'll want to draw first, th
On Nov 4, 2010, at 7:54 AM, Richard Somers wrote:
> Apple's documentation indicates that a NSToolbar with selectable items can be
> used for navigation in a preference panel. This is often used in conjunction
> with an NSTabView that is configured to have no visible t
On Thu, Nov 4, 2010 at 6:54 AM, Richard Somers
wrote:
> Apple's documentation indicates that a NSToolbar with selectable items can
> be used for navigation in a preference panel. This is often used in
> conjunction with an NSTabView that is configured to have no visible
Apple's documentation indicates that a NSToolbar with selectable items
can be used for navigation in a preference panel. This is often used
in conjunction with an NSTabView that is configured to have no visible
tabs.
http://developer.apple.com/library/mac/#documentation/Cocoa/Conce
w has some APIs for controlling host window, and how to behave when not
in a window. Play with that
On 26 Oct 2010, at 09:33, Ivan C Myrvold wrote:
> My application has an NSTabView with three tabs. The second tab, EPG, has an
> ordinary NSTableView:
> http://www.myrvold.org/cocoa/m
My application has an NSTabView with three tabs. The second tab, EPG, has an
ordinary NSTableView:
http://www.myrvold.org/cocoa/myrdream/images/epgbefore.jpg
The third tab, WebTV, has a WebView, which fetches content from a local Linux
satellite box:
http://www.myrvold.org/cocoa/myrdream
If I received it, yes. I only get the digests and I hardly ever read them, so
they have to reply to all for me to receive them, sorry about that. Doing from
bounds appears to fix it. I actually never knew about the draw rect doing only
a section of the view. I just always thought it drew the who
On Sep 18, 2010, at 09:40, Mr. Gecko wrote:
> I was right about these lists not being useful anymore. None has done a
> custom Tab View border? Really?
a. cute
b. trolling
c. this was answered yesterday (your code is wrong)
___
Cocoa-dev mailing l
ecko wrote:
>
>> Hello I'm wondering what will be the best way to draw a custom NSTabView
>> Border. I have tried many things and it always ends up that I fail. The
>> border gets drawn, but the objects in the Tab View, if you focus them, has a
>> black edge around
I was right about these lists not being useful anymore. None has done a custom
Tab View border? Really?
On Sep 17, 2010, at 5:29 PM, Mr. Gecko wrote:
> Hello I'm wondering what will be the best way to draw a custom NSTabView
> Border. I have tried many things and it always ends up
On Sep 17, 2010, at 3:29 PM, Mr.Gecko wrote:
> Hello I'm wondering what will be the best way to draw a custom NSTabView
> Border. I have tried many things and it always ends up that I fail. The
> border gets drawn, but the objects in the Tab View, if you focus them, has a
>
Hello I'm wondering what will be the best way to draw a custom NSTabView
Border. I have tried many things and it always ends up that I fail. The border
gets drawn, but the objects in the Tab View, if you focus them, has a black
edge around them, that is not elegant at all. Is there any exa
I have dynamically created a NSTabView and added NSTabViewItems to it. It
works with the exception of if the NSTabView has the focus I can not use the
right and left arrow keys to navigate to the other tabs. The arrow keys work
if I create the tab view with IB. I'm not sure what is differe
On Tue, Jan 26, 2010 at 11:42 AM, David Blanton wrote:
> I want to see all the tab items ... are there multiple rows?
No. The HIG answers your questions:
http://developer.apple.com/Mac/library/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGControls/XHIGControls.html#//apple_ref/do
have a fixed size NSTabView that displays 4 NSTabViewITems very
nicely.
It is possible that the application may want to add more
NSTabViewItems.
Is there a flag to set (somewhere) so that added items will not be
truncated to the view but display >> like Safari indicating more
ite
On Jan 25, 2010, at 10:34 PM, David Blanton wrote:
> I have a fixed size NSTabView that displays 4 NSTabViewITems very nicely.
>
> It is possible that the application may want to add more NSTabViewItems.
>
> Is there a flag to set (somewhere) so that added items will not be trun
I have a fixed size NSTabView that displays 4 NSTabViewITems very
nicely.
It is possible that the application may want to add more NSTabViewItems.
Is there a flag to set (somewhere) so that added items will not be
truncated to the view but display >> like Safari indicating more items
able).
>
> But I am told:
> [ valueForUndefinedKey:]: this class is not key value
> coding-compliant for the key selectedIndex.
>
> On the other hand, the Cocoa Bindings Reference for NSTabView says:
> "selectedIndex
> An integer value that specifies the index of the
ue
coding-compliant for the key selectedIndex.
On the other hand, the Cocoa Bindings Reference for NSTabView says:
"selectedIndex
An integer value that specifies the index of the selected item in the
NSTabView. When the selection changes in the NSTabView, this value is updated
with the ind
ve, I'd be happy to send it to you.
Boyd
On Jul 31, 2009, at 12:20 PM, Thomas Wetmore wrote:
I'm looking for a simple NSTabView tutorial. I've found references
to the MultipleNIBTabView tutorial but I can't find it in the
current Xcode Examples area or at the Developer s
looked them since you didn't mention them.
I think it was an excellent idea for Apple to add these links in the docs.
--Andy
On Friday, July 31, 2009, at 03:20PM, "Thomas Wetmore" wrote:
>I'm looking for a simple NSTabView tutorial. I've found references to
>th
I'm looking for a simple NSTabView tutorial. I've found references to
the MultipleNIBTabView tutorial but I can't find it in the current
Xcode Examples area or at the Developer site. Anyone know where it is
located, or whether there is another tutorial around?
Thank
On 7 Jun 2009, at 22:13, Rob Keniger wrote:
On 06/06/2009, at 6:08 AM, Stephen Blinkhorn wrote:
Does anyone know if it is possible to change the current tab in a
tabless NSTabView from within Interface Builder without having to
go into the inspector and change tabless style to top tabs
On Jun 7, 2009, at 9:13 PM, Rob Keniger wrote:
On 06/06/2009, at 6:08 AM, Stephen Blinkhorn wrote:
Does anyone know if it is possible to change the current tab in a
tabless NSTabView from within Interface Builder without having to
go into the inspector and change tabless style to top
On 06/06/2009, at 6:08 AM, Stephen Blinkhorn wrote:
Does anyone know if it is possible to change the current tab in a
tabless NSTabView from within Interface Builder without having to go
into the inspector and change tabless style to top tabs, right tabs
etc. I use a lot of small tabless
Hello Cocoa Dev,
Does anyone know if it is possible to change the current tab in a
tabless NSTabView from within Interface Builder without having to go
into the inspector and change tabless style to top tabs, right tabs
etc. I use a lot of small tabless NSTabView objects and I finally got
);
break;
}
Scott
On Jun 7, 2009, at 11:14 AM, Martin Batholdy wrote:
hi,
I have an IBOutlet defined in my header;
IBOutlet NSTabView *tabView;
This Outlet is connected with a TabView generated with Interface
Builder.
The TabView has two tabs,
and in my implementation
])
{
case GENERAL_TAB:
NSLog(@"1");
break;
case FONT_TAB
NSLog(@"2");
break;
}
Scott
On Jun 7, 2009, at 11:14 AM, Martin Batholdy wrote:
hi,
I have an IBOutlet defined in my header;
IBOutlet NSTabV
])
{
case GENERAL_TAB:
NSLog(@"1");
break;
case FONT_TAB
NSLog(@"2");
break;
}
Scott
On Jun 7, 2009, at 11:14 AM, Martin Batholdy wrote:
hi,
I have an IBOutlet defined in my header;
IBOutlet NSTabV
Martin Batholdy wrote:
if([tabViewItemX isEqualTo:[tabView tabViewItemAtIndex:0]]){
Don't use isEqualTo: in this situation. Read the docs for
isEqualTo:, and compare with the docs for isEqual:.
Use isEqual:, which I suspect will work, or just use == since you're
probably interes
hi,
I have an IBOutlet defined in my header;
IBOutlet NSTabView *tabView;
This Outlet is connected with a TabView generated with Interface
Builder.
The TabView has two tabs,
and in my implementation file I want to do something when tab1 is
active and something else when tab2 is active
fit in a Single
NSTabView. In windows, if tabview items doesn't fit in a tab then
they are
displayed by dividing them in 2 lines. Is there anything like this
on Mac
platform so that I can display around 10 TabViewItems in a single
NSTabView?
Thank
I want to display Multiple NSTabViewItems that can't fit in a Single
NSTabView. In windows, if tabview items doesn't fit in a tab then they are
displayed by dividing them in 2 lines. Is there anything like this on Mac
platform so that I can display around 10 TabViewItems in a single
,
which, for a view in an NSTabView, means whenever the tab is
selected or deselected.
So, I need to review all of my -awakeFromNibs and consider all of this.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On Jan 7, 2009, at 19:36, Jerry Krinock wrote:
In a view's -awakeFromNib, I often do some initializations which
require the view's -window [1].
This worked fine until I put one of these views inside an
NSTabView. Now, it fails if the tab containing the view is not
selected wh
On Jan 7, 2009, at 10:36 PM, Jerry Krinock wrote:
In a view's -awakeFromNib, I often do some initializations which
require the view's -window [1].
This worked fine until I put one of these views inside an
NSTabView. Now, it fails if the tab containing the view is not
selecte
In a view's -awakeFromNib, I often do some initializations which
require the view's -window [1].
This worked fine until I put one of these views inside an NSTabView.
Now, it fails if the tab containing the view is not selected when the
nib is loaded, because in this case -[NSV
instead. Maybe this will
make a difference.
--- On Tue, 12/2/08, Volker in Lists <[EMAIL PROTECTED]> wrote:
> From: Volker in Lists <[EMAIL PROTECTED]>
> Subject: Re: Strange issue with NSTabView
> To: [EMAIL PROTECTED]
> Date: Tuesday, December 2, 2008, 10:22 AM
>
I created a tab-less NSTabView with seven tabs. Each tab is selected
programatically using selectTabViewItemWithIdentifier: (for testing purposes I
have also used selectTabViewItemAtIndex: and selectedTabViewItem:).
At first I noticed that the tabs weren't changing. It was stuck on the de
On Dec 1, 2008, at 11:41 AM, Eric Czarny wrote:
Hello!
I submitted this question to the CocoaDev forums, but didn't really
get a good response:
I am having a rather frustrating problem with an NSTabView in my
preference pane. Basically, I have a simple NSWindow that contains an
NSTabView.
Hello!
I submitted this question to the CocoaDev forums, but didn't really
get a good response:
I am having a rather frustrating problem with an NSTabView in my
preference pane. Basically, I have a simple NSWindow that contains an
NSTabView. This NSTabView contains 4 empty tabs. I manag
match.
Do I just call the toolbar 'prefstoolbar' in "Interface Builder
Identity", in order to access it?
I don't quite understand how I can address the NSToolbar instance
from the NSTabview.
Also, doesn't a delegate to the NSToolbar have to provide
toolbarSel
On 29 Aug 2008, at 15:52, Quincey Morris wrote:
On Aug 29, 2008, at 12:49, Quincey Morris wrote:
On Aug 29, 2008, at 08:20, David Reitter wrote:
To create a preference window with a NSToolbar at the top and a
tabless NSTabView containing a few panels.
How would I go about connecting the
On Aug 29, 2008, at 12:49, Quincey Morris wrote:
On Aug 29, 2008, at 08:20, David Reitter wrote:
To create a preference window with a NSToolbar at the top and a
tabless NSTabView containing a few panels.
How would I go about connecting the two in Interface Builder?
I can set the NSToolbar
On Aug 29, 2008, at 08:20, David Reitter wrote:
To create a preference window with a NSToolbar at the top and a
tabless NSTabView containing a few panels.
How would I go about connecting the two in Interface Builder?
I can set the NSToolbar selector to invoke
To create a preference window with a NSToolbar at the top and a
tabless NSTabView containing a few panels.
How would I go about connecting the two in Interface Builder?
I can set the NSToolbar selector to invoke
takeSelectedTabViewItemFromSender on the NSTabView, which seems
promising
Hey David,
Thanks for the suggestion. But it's the window height. And that does
indeed change properly.
It's just the controls (the NSTabView) that misbehaves.
Please see my other mail.
cheers
--
Torsten
___
Cocoa-dev mailing list
on a
NSTabView.
- (void) showDetails:(BOOL)show animate:(BOOL)animate
{
NSSize fullSize = NSMakeSize(455, 302);
NSRect windowFrame = [[self window] frame];
if (show) {
[tabView setFrameSize:fullSize];
[tabView setNeedsDispla
x27;t get the autosize behavior!! Check out this little
screencast
http://vafer.org/pub/autosize.mov
The first part is as expected. But once the height of the NSTabView
has been zero - it's getting ugly.
Seems like I am not alone on this
http://katidev.com/blog/2008/02/12/why-i
While the code below seemed to have worked OK for showing/hiding a
NSTextView I am now not really sure what's going on when using it on a
NSTabView.
- (void) showDetails:(BOOL)show animate:(BOOL)animate
{
NSSize fullSize = NSMakeSize(455, 302);
NSRect window
back back in Jaguar/10.2, when tabs
didn't look like buttons.)
You can actually use an NSSegmentedControl instead of multiple
buttons, and it'll look pretty much identical to an NSTabView.
Speaking of tabs not looking like buttons, I still miss the old
appearance. Anyone know i
Funny you should mention this. I JUST had to contend with this myself.
I did it a little different, more parts but easier to deal with I
think, than trying to recalculate labels and all.
Create a nsview to act a a wrapper.
Place a Tabless tabview inside this
Also place another nsview where ev
On 30 Apr '08, at 7:54 AM, yogesh kumar wrote:
If is it possible to add the icons pictures on the NSTabviews? Any
direction
is appriciated. Thanks.
There's no built-in support for icons. You'd have to subclass
NSTabViewItem and then override a few methods:
- (void)drawLabel:(BOOL)shouldT
If is it possible to add the icons pictures on the NSTabviews? Any direction
is appriciated. Thanks.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at co
Hi Cocoa dev,
I would like to use core animation in an application, so I am
investigation on how
to use the wantsLayer property of an NSView, but I got confused with
some behavior so far...
I created a simple window, in which there is a tab view. In the first
tab, I added a custom view, a
On 3/4/08, Seth Willits <[EMAIL PROTECTED]> wrote:
>
> On Mar 4, 2008, at 8:56 AM, Ben Einstein wrote:
>
> I'd like to see it work like switching between segments in a segmented
> control. There's a popup in the inspector that lets you pick one.
This is how I think it should work as well. I've f
On Mar 4, 2008, at 8:56 AM, Ben Einstein wrote:
Thanks all. These work okay, I'm just surprised the old
functionality is gone. It seemed much more intuitive to just click
on the "tab" than browsing the view hierarchy.
I couldn't agree more. The keyboard shortcut was buried. I didn't know
1 - 100 of 108 matches
Mail list logo