Re: Migrating shared library plugins to Cocoa Touch Frameworks

2016-12-01 Thread Pascal Bourguignon
> On 2 Dec 2016, at 01:31, Jens Alfke wrote: > > >> On Dec 1, 2016, at 7:58 AM, Andreas Falkenhahn >> wrote: >> >> My app supports external plugins. On macOS, Linux, and Windows those plugins >> are just shared objects/dylibs (or DLLs) loaded via

Re: Accessing the bundle of the call-site

2016-12-01 Thread Rick Aurbach
Jens, Thank you for confirming my suspicions. I know that Bundle won’t help. What I was hoping for was a Swift runtime call that returned the current module name. Since (at least by convention), there is a correspondence between module names and framework names, I was hoping to derive a bundle

strange NSOpenPanel behavior

2016-12-01 Thread Rick Corteza
Hello, Does anyone have an idea why calling [NSOpenPanel openPanel] can cause this: 2016-12-02 13:04:13.993030 MyApp[18817:1386980] !!! NSAccessibilityUnignoredDescendant - attempt to return ignored element: 2016-12-02 13:04:13.993087 MyApp[18817:1386980] !!! Unable to override

Re: Accessing the bundle of the call-site

2016-12-01 Thread Jens Alfke
Introspecting the call stack is possible, if somewhat ugly, using the backtrace and backtrace_symbols functions (on macOS/iOS.) But all you get is a list of PC and stack addresses, or function names. I don’t know how you’d go from those to an NSBundle object. On cursory inspection I didn’t see

Re: Migrating shared library plugins to Cocoa Touch Frameworks

2016-12-01 Thread Jens Alfke
> On Dec 1, 2016, at 7:58 AM, Andreas Falkenhahn wrote: > > My app supports external plugins. On macOS, Linux, and Windows those plugins > are just shared objects/dylibs (or DLLs) loaded via dlopen() (or LoadLibrary() > on Windows) at runtime. Does iOS still not support

Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
> On Dec 1, 2016, at 11:20 AM, Alastair Houghton > wrote: > > On 1 Dec 2016, at 19:05, Doug Hill wrote: >> >> Just made another breakthrough. I finally figured out why we have the >> vertically centerd colon (I’ll now call it VCC) by

Accessing the bundle of the call-site

2016-12-01 Thread Rick Aurbach
Does anyone know if it is possible to do the following in Swift 3.x? (I’ll describe the issue abstractly first, then give the use-case.) Consider two modules: A and B. A could be either the main module of an application or an embedded framework. B is a different embedded framework. Now A

Re: Vertically Centered Colon

2016-12-01 Thread Alastair Houghton
On 1 Dec 2016, at 19:05, Doug Hill wrote: > > Just made another breakthrough. I finally figured out why we have the > vertically centerd colon (I’ll now call it VCC) by default but has > requirements of numbers on either side of the colon. > The SF font setting is

Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
> On Dec 1, 2016, at 8:17 AM, Doug Hill wrote: > >> On Dec 1, 2016, at 12:58 AM, Alastair Houghton >> wrote: >> >> Agreed. At the very least it needs to explicitly document the set of >> stylistic alternates for the SF font family so that

Re: return press and edit text

2016-12-01 Thread J.E. Schotsman
> On 30 Nov 2016, at 22:04, Quincey Morris wrote: > > The problem is that NSWindowController doesn’t implement the other informal > protocol (NSEditorRegistration) that is the way that editors are supposed to > be kept track of. The easiest way to get around this is for your OK button >

Re: Where are the gears?

2016-12-01 Thread Gerriet M. Denkmann
Just found this: ⚙ U+2699 = GEAR Works reasonable (far from perfect) as Title of a Bar Item. Gerriet. > On 1 Dec 2016, at 01:52, Gary L. Wade wrote: > > That is a bummer that Apple has made so many reusable images available for > macOS but not as many for iOS as

Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
> On Dec 1, 2016, at 8:07 AM, Alastair Houghton > wrote: > > On 1 Dec 2016, at 15:57, Alex Zavatone wrote: >> >> If we are able to do it right, then we don't have to worry about waiting for >> it or aren't put behind an 8 ball if Apple decides to

Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
> On Dec 1, 2016, at 12:58 AM, Alastair Houghton > wrote: > > On 30 Nov 2016, at 18:33, Doug Hill > wrote: >> >> Still hoping Apple will make SF font specific features part of the SDK. > > Agreed. At the very

Re: Vertically Centered Colon

2016-12-01 Thread Alastair Houghton
On 1 Dec 2016, at 15:57, Alex Zavatone wrote: > > If we are able to do it right, then we don't have to worry about waiting for > it or aren't put behind an 8 ball if Apple decides to pull the rug out from > under us if it decides to change the feature (which happens). > > With

Migrating shared library plugins to Cocoa Touch Frameworks

2016-12-01 Thread Andreas Falkenhahn
My app supports external plugins. On macOS, Linux, and Windows those plugins are just shared objects/dylibs (or DLLs) loaded via dlopen() (or LoadLibrary() on Windows) at runtime. Every plugin needs to export a fixed set of symbols which are then resolved at runtime, e.g. symbols named

Re: Vertically Centered Colon

2016-12-01 Thread Alex Zavatone
On Dec 1, 2016, at 2:58 AM, Alastair Houghton wrote: > On 30 Nov 2016, at 18:33, Doug Hill wrote: >> >>> On Nov 29, 2016, at 11:06 PM, Alex Zavatone wrote: >>> >>> On Nov 30, 2016, at 12:10 AM, Doug Hill wrote: >>> After some trial and error, I

Re: Vertically Centered Colon

2016-12-01 Thread Alastair Houghton
On 30 Nov 2016, at 18:33, Doug Hill wrote: > >> On Nov 29, 2016, at 11:06 PM, Alex Zavatone wrote: >> >> On Nov 30, 2016, at 12:10 AM, Doug Hill wrote: >> >>> After some trial and error, I figured out how to accomplish the San >>> Francisco font features