• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs)


  • Subject: Re: PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs)
  • From: Daniel Griffin <email@hidden>
  • Date: Tue, 31 Jan 2006 12:26:10 -0600


On Jan 31, 2006, at 9:59 AM, Fritz Anderson wrote:

On 31 Jan 2006, at 3:01 AM, Daniel Griffin wrote:

I managed to get everything to compile but the IB palette. This method doesnt compile
- (void)ok:(id)sender
{
id object = [self object];
if([[sender title] isEqualToString:@"Metal"])
[object setStyle:[[[PSMSafariTabStyle alloc] init]autorelease]];
else
[object setStyle:[[[PSMAquaTabStyle alloc] init]autorelease]];
[super ok:sender];
}


The two object setStyle lines fail, I dont know what is supposed to be passed there and I have not been able figure out where setStyle is from. Has anyone else managed to get this to compile? Where does setStyle come from? What am i supposed to pass to it?

It would be helpful if you would tell us

1) what you mean by "the two object setStyle lines fail." How do they fail? Is there an error message? What is it?

2) what type of thing gets stored, to be retrieved by [self object].

3) assuming [self object]'s class is something that owns the tab view for purposes of drawing, have you #imported that class's header?

	-- F

The setStyle lines fail because I am not passing the right thing (according to the next email the right thing doesnt exist yet). The [self object] message calls IBInspector's object method. I believe that it then just makes a reference to itself. At any rate ill email John Pannell to find out more.

Thanks,
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Using Evan Schoemberg's Custom tabs (From: Andrea Salomoni <email@hidden>)
 >Re: Using Evan Schoemberg's Custom tabs (From: Brian Ganninger <email@hidden>)
 >Re: Using Evan Schoemberg's Custom tabs (From: Andrea Salomoni <email@hidden>)
 >Re: Using Evan Schoemberg's Custom tabs (From: Ofri Wolfus <email@hidden>)
 >Re: Using Evan Schoemberg's Custom tabs (From: Daniel Griffin <email@hidden>)
 >PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs) (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: I think I have found a big bug in NSBrowser
  • Next by Date: Re: Feature Requests...
  • Previous by thread: Re: PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs)
  • Next by thread: Calculating the height of text in NSTextField
  • Index(es):
    • Date
    • Thread