NSOutlineView and tags...

2009-06-07 Thread Scott Andrew
This may sound like a newbie questions but never had this issue  
before..  I am trying to add a tag ID to an NSOutlineView thats in one  
view controller. In another view controller is a table view. I listen  
to NSOutlineViewSelectionDidChange notifications and fill the table  
based on the selection. This listens to all outline views (even the  
open file panel). So i put a tag id on my NSOutlineView and wanted to  
check for that particular tag. But it always comes up 0. I have a work  
around for this by listening for selection changes in the tree  
controller and firing off a notification based on what was actually  
selected.


I am now just curious about the NSOutlineView and the tag field. I  
couldn't find anything that said you couldn't tag a outline or table  
view control.


Scott Andrew
___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: NSOutlineView and tags...

2009-06-07 Thread Keary Suska

On Jun 7, 2009, at 9:54 AM, Scott Andrew wrote:

This may sound like a newbie questions but never had this issue  
before..  I am trying to add a tag ID to an NSOutlineView thats in  
one view controller. In another view controller is a table view. I  
listen to NSOutlineViewSelectionDidChange notifications and fill the  
table based on the selection. This listens to all outline views  
(even the open file panel). So i put a tag id on my NSOutlineView  
and wanted to check for that particular tag. But it always comes up  
0. I have a work around for this by listening for selection changes  
in the tree controller and firing off a notification based on what  
was actually selected.


I am now just curious about the NSOutlineView and the tag field. I  
couldn't find anything that said you couldn't tag a outline or table  
view control.


First off, how are you setting the tag, and what value are you  
setting? How are you checking the tag (show code)? I haven't heard or  
experienced any issues with NSOutlineView and tags, but if you have a  
reducible/reproducible case, you can file a bug.


Keary Suska
Esoteritech, Inc.
Demystifying technology for your home or business

___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: NSOutlineView and tags...

2009-06-07 Thread Scott Andrew
Chalk this up to me having two copies of the project around and having  
one of those moments..


Scott

On Jun 7, 2009, at 9:47 AM, Keary Suska wrote:


On Jun 7, 2009, at 9:54 AM, Scott Andrew wrote:

This may sound like a newbie questions but never had this issue  
before..  I am trying to add a tag ID to an NSOutlineView thats in  
one view controller. In another view controller is a table view. I  
listen to NSOutlineViewSelectionDidChange notifications and fill  
the table based on the selection. This listens to all outline views  
(even the open file panel). So i put a tag id on my NSOutlineView  
and wanted to check for that particular tag. But it always comes up  
0. I have a work around for this by listening for selection changes  
in the tree controller and firing off a notification based on what  
was actually selected.


I am now just curious about the NSOutlineView and the tag field. I  
couldn't find anything that said you couldn't tag a outline or  
table view control.


First off, how are you setting the tag, and what value are you  
setting? How are you checking the tag (show code)? I haven't heard  
or experienced any issues with NSOutlineView and tags, but if you  
have a reducible/reproducible case, you can file a bug.


Keary Suska
Esoteritech, Inc.
Demystifying technology for your home or business

___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/scottandrew%40roadrunner.com

This email sent to scottand...@roadrunner.com


___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com