IBPallete item like an NSFormatter without Making it an NSFormatter.
IBPallete item like an NSFormatter without Making it an NSFormatter.
- Subject: IBPallete item like an NSFormatter without Making it an NSFormatter.
- From: Jim Murry <email@hidden>
- Date: Wed, 24 Apr 2002 16:00:35 -0700
I am trying to figure out a way to create a drop item, like a formatter
in IB. I know how to create formatters that work from the IBPallette.
I am trying to create a way in which I make a connection to an SQLQuery
in IB. I would to still have a formatter work on that field.
I cannot seem to figure out what to use in place of IBObjectPboardType
in the following code
- (void)finishInstantiate
{
/* `finishInstantiate' can be used to associate non-view objects with
* a view in the palette's nib. For example:
* [self associateObject:aNonUIObject ofType:IBObjectPboardType
* withView:aView];
*/
[self associateObject:[SQLConnection sqlConnection]
ofType:IBObjectPboardType withView:mIconView];
}
I know this might be two separate problem I need help solving.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.