Re: Proper setup for embedded framework

2016-08-15 Thread Quincey Morris
On Aug 15, 2016, at 19:28 , Lou Zell wrote: > > So it looks like when I embed a binary through the general tab, it is only > of the currently built binary located in derived data! I have tried > rebuilding the framework for a device, but then I get the same error on the >

Proper setup for embedded framework

2016-08-15 Thread Lou Zell
Hello, tl;dr; what is the proper way to have a framework project as a dependency in another project in the same workspace? I have a framework A that gets embedded in an iOS app B. My Xcode workspace has different projects for A and B. The framework A will be distributed, but it is also used as

Re: Class is implemented in both

2016-08-15 Thread Uli Kusterer
On 15 Aug 2016, at 03:29, Trygve Inda wrote: > I have a Pref Pane and a Screen Saver module. They both share a common > helper class (MyDisplayManager). > > When the pref pane has been loaded and I go into the screen saver (or vis > versa), because the host app is

Launch, connect, communicate

2016-08-15 Thread Andrew Keller
Hi all, In the course of normal work, I put together a really simple plotting application. The problem: I’m at a command-line, and I have some numbers, and I want to see them on a simple plot to quickly identify patterns. My first solution: A simple Cocoa app that reads the numbers on stdin,

Re: Resizing NSScrollView/NSClipView to fit NSTableView width

2016-08-15 Thread Quincey Morris
On Aug 15, 2016, at 10:22 , studfed studfed wrote: > > I am not sure if it is the right way to prevent table clipping. > Are there any other options to accomplish this or this one is correct also > ? No, this is not really the right way. You should not be setting frames

Re: Class is implemented in both

2016-08-15 Thread Jean-Daniel Dupas
> Le 15 août 2016 à 18:02, Jens Alfke a écrit : > > >> On Aug 15, 2016, at 11:34 AM, Jean-Daniel Dupas > > wrote: >> >> No, You can have only one PCH per project. That said, you can define a >> second one that include

Resizing NSScrollView/NSClipView to fit NSTableView width

2016-08-15 Thread studfed studfed
Hi, I have added NSTableView to xib (which adds scrollview and clipview by default), without columns. Columns are generated programmatically with width based on header cell size. Autolayout is enabled and constraints are defined in IB like | -20-|[scrollview]-20-| It looks like Window

Re: Class is implemented in both

2016-08-15 Thread Jens Alfke
> On Aug 15, 2016, at 11:34 AM, Jean-Daniel Dupas wrote: > > No, You can have only one PCH per project. That said, you can define a second > one that include the first one for your second project. I think you meant to say you can have only one PCH per _target_. —Jens

Re: Class is implemented in both

2016-08-15 Thread Jean-Daniel Dupas
> Le 15 août 2016 à 15:27, Trygve Inda a écrit : > >> >>> On Aug 15, 2016, at 3:41 AM, Stephane Sudre wrote: >>> >>> . you could redefine the class name in the .pch of one project. >> >> +1 — I’ve had to do this before, and it works fine.

Re: Bug in 10.12 drawing glyph from labelFont or systemFont with bezier path

2016-08-15 Thread Jerome Krinock
I have a resolution to this subject which I posted here last week. My reported Apple Bug 27813593 works as expected and is not a bug. In earlier versions of macOS, in the System and Label fonts, the glyphs I was using had names, but in 10.12 they do not have names, and that is OK because glyph

Re: Class is implemented in both

2016-08-15 Thread Trygve Inda
> >> On Aug 15, 2016, at 3:41 AM, Stephane Sudre wrote: >> >> . you could redefine the class name in the .pch of one project. > > +1 — I’ve had to do this before, and it works fine. Just add > #define MyDisplayManager MyDisplayManager_PP > or whatever. > > The caveat is

Re: Class is implemented in both

2016-08-15 Thread Jens Alfke
> On Aug 15, 2016, at 3:41 AM, Stephane Sudre wrote: > > . you could redefine the class name in the .pch of one project. +1 — I’ve had to do this before, and it works fine. Just add #define MyDisplayManager MyDisplayManager_PP or whatever. The caveat is that of

Re: Class is implemented in both

2016-08-15 Thread Stephane Sudre
On Mon, Aug 15, 2016 at 3:29 AM, Trygve Inda wrote: > I have a Pref Pane and a Screen Saver module. They both share a common > helper class (MyDisplayManager). > > When the pref pane has been loaded and I go into the screen saver (or vis > versa), because the host app is