Re: tooltip on nscollection view item
Re: tooltip on nscollection view item
- Subject: Re: tooltip on nscollection view item
- From: Rob Petrovec <email@hidden>
- Date: Wed, 07 Feb 2018 10:26:47 -0700
Or just use NSView -toolTip
—Rob
> On Feb 7, 2018, at 7:26 AM, Pier Bover <email@hidden> wrote:
>
> You could use an NSPopover:
>
> let myPopover = NSPopover()
>> let storyboard = NSStoryboard(name: NSStoryboard.Name(rawValue: "Main"),
>> bundle: nil)
>> let identifierPopover = NSStoryboard.SceneIdentifier(rawValue:
>> "MyPopoverViewController")
>> myPopover.contentViewController =
>> storyboard.instantiateController(withIdentifier: identifierPopover) as?
>> MyPopoverViewController
>> myPopover.show(relativeTo: myView.bounds, of: myView, preferredEdge:
>> NSRectEdge.minY)
>
>
> On Wed, Feb 7, 2018 at 7:39 AM, Daniel Santos <email@hidden
> <mailto:email@hidden>> wrote:
>
>> Hello all,
>>
>> I have a resizable collection view where each element is an NSImageView.
>> I want to show a tooltip with some information on each item.
>>
>> How do I accomplish this ?
>> Thanks in advance
>> _______________________________________________
>>
>> 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 <mailto:email@hidden>
>>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden
> <mailto: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
> <http://lists.apple.com/>
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden <mailto: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