• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IBPallete item like an NSFormatter without Making it an NSFormatter.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: ioctl
  • Next by Date: Re: NSTextView and First Responder
  • Previous by thread: Re: ioctl
  • Next by thread: Where to put dataSource routines
  • Index(es):
    • Date
    • Thread