New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Mimicing Interface Builder behavior

Post Reply New Thread Subscribe

Thread Tools
Posts: n/a

Hello all. I am trying to mimic the behavior of IB for an application I am writing. More specifically I have a palette panel with a toolbar and dragable images in the content view of the panel. I want to be able to drag the data that the images represent to an NSOutlineView in the main application window. I don't know if this matters but the two windows are in separate NIBs. Anyway I wan't the NSOutlineView to conform to the NSDraggingDestination protocol but I am trying to avoid subclassing NSOutlineView. I can get a handle via interface builder to the NSOutlineView object and register it for the correct data types but the NSDraggingDestination messages are swallowed by the view class (im assuming) and never make it to my delegate. Can I add a category to NSOutlineView and reimplement the NSDraggingDestination methods to get around this?, or should I subclass?, or is their a simpler method that I missing. Any help is greatly appreciated.

Thanks a bunch
QUOTE Thanks

Post Reply New Thread Subscribe

« can't SU or login as root | Random Wallpaper »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Project Builder Questions alessandrop65 OS X - Development and Darwin 3 10-15-2003 05:04 PM
Mail to get new interface schweb Apple Rumors and Reports 5 03-12-2003 12:02 PM

All times are GMT -4. The time now is 10:50 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?