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 <daniel.d...@gmail.com> 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 (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/pierbover11%40gmail.com > > This email sent to pierbove...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com