RE: IB Plugin help

2009-04-06 Thread Jon C. Munson II
Hi Jon, Here are my responses to your responses to my responses :): [1] INSTALLING THE PLUGIN [Jon C. Munson II] Thank you for all this information. I'll chew on it for a bit since there is quite a lot said herein. [2] THE PLUGIN AND FRAMEWORK IDENTIFIERS [Jon C. Munson II] I did

Re: IB Plugin help

2009-04-05 Thread Kevin Cathey
Hi Jon, Here are my responses to your responses to my responses :): [1] INSTALLING THE PLUGIN There are obviously two modes for using an IB Plugin: developing it, and then actually using it as if it was just another plugin on the system. In the case you are developing the plugin, the best w

Re: IB Plugin help

2009-04-05 Thread jmunson
Namaste! Is this the proper way to do that: - (NSImage *)ibDefaultImage { NSBundle *myBundle = [NSBundle bundleWithIdentifier:@"com.MyCompany.MyPluginName"]; NSString *someString = [myBundle pathForResource:@"SomePic" ofType:@"png"]; NSImage *someImage = [[[NSImage alloc] initWit

Re: IB Plugin help

2009-04-05 Thread Brandon Walkin
I haven't yet made an IB plugin with a custom formatter, but I'd assume you change that image the same way you change the image that appears in the document window. Return your own image in the - ibDefaultImage method in your integration category. On 5-Apr-09, at 9:31 AM, jmun...@his.com wro

Re: IB Plugin help

2009-04-05 Thread jmunson
Namaste! Thank you Kevin and Josh! Josh: To clear up the assertion error, "Clean All Targets." There was some junk not getting dumped out of the project on successive builds. Also, you nailed it with the "TextLength" key. Doh! I took Apple's file comment of "MyFirstKey" literally. Whil

Re: IB Plugin help

2009-04-05 Thread josh hughes
Hi Jon, I tried compiling the project you attached but I was still getting Assertion Failures so I built the project from scratch again and it loads into IB without Assertion Failures (I think there is definitely something not setup right in the project you attached!). O.k First off, just

Re: IB Plugin help

2009-04-04 Thread Kevin Cathey
Hi Jon, Let's see if we can't get this figured out. So the current problem you are having is that you cannot deploy an IBPlugin for use on your system, correct? If so, I have a few questions. (1) How are you installing the plugin and framework? Are you placing both them in /Library/Framewo

Re: IB Plugin help

2009-04-04 Thread jmunson
Namaste! Just want to pass on some further information. After that last post, the assertion error really bothered me. So, after a while of careful inspection (to the limits of what I know), I decided to and "clean[ed] all targets" of both the debug and release builds and re-compiled. In

Re: IB Plugin help

2009-04-04 Thread Jonathan Hess
On Apr 4, 2009, at 1:48 PM, jmun...@his.com wrote: However, when I use it, my xib gets toasted - on next open IB asks what file I'd like to create. I had to restore a prior backup to rescue my xib. Hey Jon - Could you describe the failure in a little more detail? Are you running your p

Re: IB Plugin help

2009-04-04 Thread jmunson
Namaste! Thank you for your reply. If I run the plug-in in debug mode, I DO get an assertion failure: Assertion Message: Two plug-ins (com.JTAENTERPRISESLLC.JTAENTLLCTextLengthLimiter and com.JTAENTERPRISESLLC.JTAENTLLCTextLengthLimiter) both integrate a class description for the class JT

Re: IB Plugin help

2009-04-04 Thread jmunson
Namaste! So, not the end of the drama. The plugin shows in the list and is available in IB. However, when I use it, my xib gets toasted - on next open IB asks what file I'd like to create. I had to restore a prior backup to rescue my xib. Any thoughts anyone? Thanks! Peace, Love, and L

Re: IB Plugin help

2009-04-04 Thread jmunson
Namaste! Well, I don't know that I did anything different as I haven't changed anything since the last email... But now the plugin is showing up in IB... ??? Oh well, hopefully that will be the end of the drama... Thanks everyone!!! Peace, Love, and Light, /s/ Jon C. Munson II Quoting j

Re: IB Plugin help

2009-04-04 Thread jmunson
Namaste! Still getting "no action" after attempting to add my plug-in to IB. No error either. I compared my target property settings with yours and BGHUD to be sure I hadn't goofed on something - everything seems well there (I reverted my settings which were retrieved from someone else

Re: IB Plugin help

2009-04-04 Thread Ricky Sharp
On Apr 3, 2009, at 8:28 PM, jmun...@his.com wrote: OK, now I have one more question. I'd like to "install" and use my plug-in. However, when accessing IB's preferences->Plug-ins and attempting to add the plug-in I get: 1) when simply adding the ibplugin an error that states the file is

Re: IB Plugin help

2009-04-04 Thread Ricky Sharp
On Apr 3, 2009, at 7:39 PM, jmun...@his.com wrote: I have one more question: How does one replace the blue cube object icon that tags on the text field with my formatter's graphic? That, I do not know how to do. I'll definitely update the my example though if I or someone else figures

Re: IB Plugin help

2009-04-03 Thread jmunson
OK, now I have one more question. I'd like to "install" and use my plug-in. However, when accessing IB's preferences->Plug-ins and attempting to add the plug-in I get: 1) when simply adding the ibplugin an error that states the file is missing necessary resources and to reinstall the bund

Re: IB Plugin help

2009-04-03 Thread jmunson
Namaste! Thank you, that was/is a big help. I also found BGHUDAppKit which was/is also invaluable help. Between those two good examples I think I got my plug-in working (using it live is what remains to be seen). I have one more question: How does one replace the blue cube object icon th

Re: IB Plugin help

2009-04-03 Thread Ricky Sharp
On Apr 3, 2009, at 6:43 PM, jmun...@his.com wrote: I found one mistake where I didn't change the IBInspector class of File's Owner in the Inspector.xib to "my" Inspector subclass. Doing that gave me an entry in the bottom box of the library, but no object in the middle pane... How do I f

RE: IB Plugin help

2009-04-03 Thread Jon C. Munson II
Namaste! I've muddled along as far as I can go and I need further assistance. Here's what I've done so far: 1. Created a plug-in project. 2. Edited the class description file to contain two entries, my plug-in class and the superclass of NSFormatter (I was able to find and looked at the same f