Re: How to draw a NSView on top of a WebView and don't get overriden trying

2015-05-16 Thread Uli Kusterer
Tick the checkmark next to your view in the Layers inspector in IB, or call setWantsLayer: YES. On 14 May 2015, at 14:30, Juanjo Conti wrote: > I've tried 2 and didn't work. How do I do 1? > > On Thu, May 14, 2015 at 7:46 AM, Uli Kusterer > wrote: > >> Two things I’d try: >> >> 1) Make your

Re: How to draw a NSView on top of a WebView and don't get overriden trying

2015-05-16 Thread Uli Kusterer
Popovers are popovers. You can’t really configure their appearance enough (using public API) that they would be suitable for this use. However, popovers are separate windows, and likely implemented using child windows under the hood, so you could probably try adding your window as a child window

Re: Optionals? A better option!

2015-05-16 Thread Uli Kusterer
On 14 May 2015, at 18:50, William Squires wrote: > Swift shows promise, but - like all computer languages - it's a trade-off > between generated code side, and the amount of abstraction the language > presents to those using it, making it easier to turn ideas into code. Making > a (more abstra

Re: Generate a _CFURLAliasData entry for Finder toolbar

2015-05-16 Thread SevenBits
On Friday, May 15, 2015, Gary Ash wrote: > I’m trying to programmatically add a link to an app to Finder’s toolbar. > I’ve found that dragging an app onto the toolbar works like a charm and > adds a dictionary entry to NSToolbar Configuration Browser->TB Item Plists > in the format: As I state

Re: Generate a _CFURLAliasData entry for Finder toolbar

2015-05-16 Thread Uli Kusterer
On 15 May 2015, at 21:37, Gary Ash wrote: > I’m trying to programmatically add a link to an app to Finder’s toolbar. > I’ve found that dragging an app onto the toolbar works like a charm and adds > a dictionary entry to NSToolbar Configuration Browser->TB Item Plists in the > format: One thin