are you telling it to load the table using reload?
On Jan 21, 2010, at 7:18 PM, Paul Forgey wrote:
> Are there any known conditions under which an NSTabView won't call its
> delegate methods?
>
> I can confirm in awakeFromNib the tab view's delegate is properly set to self
> (as per the outlet set in Interface Builder).
>
> Yet, none of the tab view delegate methods are ever being called in my class.
>
> - (void)awakeFromNib
> {
> NSLog (@"awoke from nib. tab view delegate=%p, self=%p", [tabView
> delegate], self);
> }
>
> - (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem
> *)tabViewItem
> {
> NSLog (@"didSelectTabViewItem");
> [selectedTabLabel setStringValue:[tabViewItem label]];
> }
>
> - (BOOL)tabView:(NSTabView *)tabView shouldSelectTabViewItem:(NSTabViewItem
> *)tabViewItem
> {
> NSLog (@"shouldSelectTabViewItem");
> return YES;
> }
>
> - (void)tabView:(NSTabView *)tabView willSelectTabViewItem:(NSTabViewItem
> *)tabViewItem
> {
> NSLog (@"willSelectTabViewItem");
> }
>
> - (void)tabViewDidChangeNumberOfTabViewItems:(NSTabView *)tabView
> {
> NSLog (@"tabViewDidChangeNumberOfTabViewItems");
> }
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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/scott%40cocoadoc.com
>
> This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]