Interface Builder Pasteboard types and accessing images from the "Images" tab?
Interface Builder Pasteboard types and accessing images from the "Images" tab?
- Subject: Interface Builder Pasteboard types and accessing images from the "Images" tab?
- From: "Allan Dushan" <email@hidden>
- Date: Tue, 12 Aug 2003 12:56:29 -0700
- Thread-topic: Interface Builder Pasteboard types and accessing images from the "Images" tab?
1. I would like to be able to drag an image from Interface Builders "Images" tab to my custom palette widget.
I assume I need to know the pasteboard type in order for my custom palette widget to be able to receive the dragged image. Does anyone know what the pasteboard type is for an image in the "Images" tab.
Also, if this is the wrong approach to solve this problem, suggestions are always welcome.
2. I would also like to be able to allow the user to enter the name of the image from the "Images" tab in my palette inspector, and then have the image appear in my widget.
I have tried using ImagedNamed: without success, and after scouring the cocoa-dev list realized that this would not work since IB's bundle is being referenced and NOT the Project Builder project that loaded the image. I tried using bundleForClass: to locate the path of the named image, but failed there as well.
How does one find the images that are in the "Images" tab?
Help...
Allan Dushan
email@hidden
_______________________________________________
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.