Re: make that dataSource (was Re: an interesting delegate design issue raised by IB...)
Re: make that dataSource (was Re: an interesting delegate design issue raised by IB...)
- Subject: Re: make that dataSource (was Re: an interesting delegate design issue raised by IB...)
- From: Enrique Zamudio <email@hidden>
- Date: Wed, 12 Sep 2001 18:15:08 -0500
- Organization: Nasoft
I was working on something totally unrelated to this, and suddenly I had an
idea that might work for you:
Write a custom inspector that will show you the images that your image view
has. That way you can have a simple handling mechanism (through your internal
data source), that will let the user delete an image that was previously
added, or replace one, change the order (in case that matters), etc.
Some objects use that kind of interface; for example when you're working with
EOF in IB, you can select a textfield and see its Association Inspector,
which only appears in textfields that have associations to display groups.
Your image view could have some other inspector besides the regular ones
(size, connections and attributes) to manage all the images in its internal
data source.
Just an idea...
eZL