• 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
best practice to create Custom Objects represented by a image in a d-n-d operation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

best practice to create Custom Objects represented by a image in a d-n-d operation


  • Subject: best practice to create Custom Objects represented by a image in a d-n-d operation
  • From: Gustavo Pizano <email@hidden>
  • Date: Mon, 8 Dec 2008 19:11:26 +0100

Hello.

I have in a view images of ships, and Im able to drag them to another view which is the sea board, now, what is better, to create the objects of the ships in the "shipsviewcontainer" and set the object in the Pasteboard, or, just have representative images in the "shipsviewcontainer" of each ship, and once dragged to the sea create the instances of the ship that the images represent. If the last one is correct Iw as thinking if how to know which Ship Object the images that is being dragged represents, (maybe by image Size? ) I dunno what do you think its better to do, if I explain my self good.


Thanks

Gus

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: best practice to create Custom Objects represented by a image in a d-n-d operation
      • From: Graham Cox <email@hidden>
    • Re: best practice to create Custom Objects represented by a image in a d-n-d operation
      • From: "Sandeep Chayapathi" <email@hidden>
    • Re: best practice to create Custom Objects represented by a image in a d-n-d operation
      • From: email@hidden
  • Prev by Date: Re: NSDictionary mutability test
  • Next by Date: building a custom NSView with IB?
  • Previous by thread: Re: Weird behavior of mouse location when performing a drag
  • Next by thread: Re: best practice to create Custom Objects represented by a image in a d-n-d operation
  • Index(es):
    • Date
    • Thread