• 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: NSView/NSTableView question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView/NSTableView question


  • Subject: Re: NSView/NSTableView question
  • From: "Rick C." <email@hidden>
  • Date: Mon, 6 Dec 2010 06:42:07 +0800

Great thanks for the replies.  I was also thinking about this but I might try to add a little bit of graphics too using NSBezierPath would it still work?  But at least these 2 ideas can keep me going until I get this working right.  Thanks!


On Dec 6, 2010, at 4:58 AM, Peter Hudson wrote:

> If the size of the table permits,  when the table is empty, have the datasource return for one cell the string "Drop Files Here"
> When the user has dropped a file, you can adjust what the datasource returns to not show the string.
>
> Further games with setting the row height and using an attributed string for  "Drop Files Here"  will allow you to easily use a suitable font and color with very little effort.
>
> Peter
> _______________________________________________
>
> 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

_______________________________________________

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: NSView/NSTableView question
      • From: Benjamin Stiglitz <email@hidden>
References: 
 >NSView/NSTableView question (From: Peter Hudson <email@hidden>)

  • Prev by Date: Re: Obscuring an NSString
  • Next by Date: Re: label color
  • Previous by thread: NSView/NSTableView question
  • Next by thread: Re: NSView/NSTableView question
  • Index(es):
    • Date
    • Thread