New issue 36 by mi...@monscheuer.de: PSMTabBarControl: Framework and
IBPlugin for 10.5+ (incl. project code)
http://code.google.com/p/maccode/issues/detail?id=36
I just created some basic Leopard/IB3.x compatible IB PlugIn (PlugIn and
Framework) for PSMTabBarControl. It is an all new project created out of
the source files from this repository plus some additional code for the
PlugIn.
It's 10.5+ only. It contains some additional bugfixes and another basic
style called "CardStyle". It is some kind of new branch. Perhaps it is
useful for someone at this stage too.
Attachments:
PSMTabBar Source.zip 285 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
I guess you tried to compile using the Debug configuration. You may use the
Debug
compilation to run the PlugIn using XCode for debugging purposes.
If you finally want to load it into IB and use it for production, you have
to compile
a Release Build and use the resulting file you will find in your Release
folder.
Here comes an updated version.
Changes are:
- default configuration changed to Release
- a Memory leak has been resolved in -closeTabClick:
[sender release] has to be added if -tabView:shouldCloseTabViewItem:
returns NO
Code:
if ([[self delegate]
respondsToSelector:@selector(tabView:shouldCloseTabViewItem:)]) {
if (![[self delegate] tabView:tabView shouldCloseTabViewItem:item])
{
// fix mouse downed close button
[sender setCloseButtonPressed:NO];
[sender release]; <<<< ADDED BY MIMO
return;
}
}
Attachments:
PSMTabBar Source.zip 384 KB