Re: PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs)
Re: PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs)
- Subject: Re: PSMTabBarControl (was: Using Evan Schoemberg's Custom tabs)
- From: John Pannell <email@hidden>
- Date: Tue, 31 Jan 2006 09:11:56 -0700
Hi there-
I am the original author of PSMTabBarControl, and I should warn you
that the IB palette target is in rough shape. Some members of the
Adium project have adopted these classes for a future re-
implementation of Adium's tabs, and are working to add features they
need for their product. One addition from my work is the idea of a
tab "style delegate" that does the drawing for Aqua or Metal styles
(these are the objects being created in the code snippet). I do not
know if they are attempting to keep the IB palette in sync with all
the changes they are making, and my original work on the palette had
its own problems.
Please feel free to email off-list if there is anything I can do to
help get PSMTabBarControl working in your project!
John
John Pannell
Positive Spin Media
http://www.positivespinmedia.com
On Jan 31, 2006, at 8: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
_______________________________________________
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