• 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
Re: Highlighting a valid drop target [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Highlighting a valid drop target [SOLVED] (From: desktoast music productions <email@hidden>)

  • Prev by Date: Can add and delete items in coredata, but not change them
  • Next by Date: Re: Can add and delete items in coredata, but not change them
  • Previous by thread: Re: Highlighting a valid drop target [SOLVED]
  • Next by thread: Re: Highlighting a valid drop target (serious dead end)
  • Index(es):
    • Date
    • Thread