Re: Highlighting a valid drop target [SOLVED]
Re: Highlighting a valid drop target [SOLVED]
- Subject: Re: Highlighting a valid drop target [SOLVED]
- From: "I. Savant" <email@hidden>
- Date: Tue, 18 Apr 2006 08:40:46 -0400
Glad to help.
Just remember that if you're planning on distributing this app
(especially if not for free), any Apple update to OS X could
theoretically break your application if you don't take precautions.
You should properly encapsulate your custom code so that, in the
event that something goes wrong, it "breaks down" nicely and reverts
to the default (unmodified) behavior if at all possible.
Of course your best (safest) bet would be to not override private
methods on shipping apps ... :-)
--
I.S.
On Apr 18, 2006, at 2:47 AM, desktoast music productions wrote:
Thank you, Keith, thank you, I.S.!
Finally made it by overriding the private method you posted to me:
-(void)_drawDropHighlightOnRow:(int)rowIndex
Now I am able to customize my dragging appearance as well as my drop
target's. Funny, how hard it was to make my app look like a piece
of well
designed (to the eye) apple software. The built in dragTarget
highlighting
mechanism definitely does not.
At the beginning, but learning.
peter
--
peter schwaiger
desktoast music productions
http://www.autlawmusic.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden