IB Palette loading problem
IB Palette loading problem
- Subject: IB Palette loading problem
- From: John Pannell <email@hidden>
- Date: Sun, 26 Feb 2006 22:27:39 -0700
Hi all-
Head has been scratched, web has been googled, TFM has been R'ed, and
head has been banged on wall. I'm trying to create an IB palette for
a custom view class I have created: the project builds properly, but
the generated palette file cannot be loaded by IB. Here is the
console dump:
2006-02-26 21:55:08.118 Interface Builder[1606] *** -[NSBundle load]:
Error loading code /Users/johnp/Library/Palettes/
PSMTabBarControl.palette/Contents/MacOS/PSMTabBarControl for bundle /
Users/johnp/Library/Palettes/PSMTabBarControl.palette, error code 4
(link edit error code 4, error number 0 (Symbol not found:
_IBViewPboardType
Referenced from: /Users/johnp/Library/Palettes/
PSMTabBarControl.palette/Contents/MacOS/PSMTabBarControl
Expected in: /System/Library/Frameworks/AppKit.framework/Versions/
C/AppKit
))
2006-02-26 21:55:08.119 Interface Builder[1606] unable to find class
PSMTabBarControlPalette
I have class-dump'ed the palette, and verified that the requisite
classes are present. I am puzzled by the missing symbol
(_IBViewPBoardType); it is not one of mine, but IB's, and I have
included InterfaceBuilder.h in all the right places. I do use the
following call...
[self associateObject:_customControl ofType:IBViewPboardType
withView:repImage];
but that PBoard type seems standard usage in sample code I have seen.
I built a palette successfully from this same project some time ago.
This time around I attempted to shortcut the need to distribute and
install a framework with the palette by linking to an object file
during the build. Everything built fine, but perhaps this is an issue?
If anyone has any insights to share, it would be much appreciated!
John
John Pannell
Positive Spin Media
http://www.positivespinmedia.com
_______________________________________________
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