Re: Xcode Framework wrapper for Library ( Exposing library headers)

2017-02-06 Thread Mr steve davis
Thanks, it looks like you were right. Fixed now. I had been down the -ObjC & -all_load route a number of times this week but was not getting any luck. I assume that -ObjC in combination with “perform single object prefix” & “precompile prefix header” to YES was key. Once again, thanks for

Re: Xcode Framework wrapper for Library ( Exposing library headers)

2017-02-06 Thread Mr steve davis
Thanks, I downloaded your app and compared it to mine, and I can’t see any obvious differences that would affect my app. I tried running yours and got the error: ld: file not found:

Re: Xcode Framework wrapper for Library ( Exposing library headers)

2017-02-06 Thread Jens Alfke
> On Feb 6, 2017, at 2:46 PM, Mr steve davis > wrote: > > Thanks for the reply. However, it all seems to be in place. > > MyProject->'Ljnk Binary with Libraries’ = MyFramework > MyFramework->'Ljnk Binary with Libraries’ = libMyLibrary.a Ah — I think you are

Re: Xcode Framework wrapper for Library ( Exposing library headers)

2017-02-06 Thread Jonathan Mitchell
Its been a while since I wrapped my little noggin around this issue but perhaps this will help: https://github.com/mugginsoft/Single-Object-Prelink-Framework-Demo There is a thread too, but the Apple list server seems to be

Re: Xcode Framework wrapper for Library ( Exposing library headers)

2017-02-06 Thread Mr steve davis
Thanks for the reply. However, it all seems to be in place. MyProject->'Ljnk Binary with Libraries’ = MyFramework MyFramework->'Ljnk Binary with Libraries’ = libMyLibrary.a MyFramework contains MyLibrary.h I’ll look into the class symbol potential issue you raised... but it was a fresh project

Re: Xcode Framework wrapper for Library ( Exposing library headers)

2017-02-06 Thread Jens Alfke
> On Feb 6, 2017, at 2:04 PM, Mr steve davis > wrote: > > Undefined symbols for architecture x86_64: > "_OBJC_CLASS_$_MyLibrary", referenced from: > objc-class-ref in ViewController.o > ld: symbol(s) not found for architecture x86_64 This is a link

Xcode Framework wrapper for Library ( Exposing library headers)

2017-02-06 Thread Mr steve davis
I would be so grateful if someone could help me, I have been banging my head a against a brick wall for days on this now. Here’s a sample project if it helps… http://www.thingsidoatwork.co.uk/MyProject.zip I'm creating a Framework wrapper round

Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController

2017-02-06 Thread Steve Mills
On Feb 06, 2017, at 02:37 PM, Ken Thomases wrote: What is your cell view? An NSTableCellView with an NSTextField as a descendant view? An NSTextField directly? The default you get when you create a new table, NSTableCellView containing an NSTextField, which contains an

Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController

2017-02-06 Thread Ken Thomases
On Feb 6, 2017, at 8:43 AM, Steve Mills wrote: > > The problem is that when I edit values in the table, they only seem to get > written to the defaults if I add a new item after editing an existing item. > > 1. Run app. > 2. Edit existing row value. > 3. Add new row and edit

Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController

2017-02-06 Thread Steve Mills
On Feb 06, 2017, at 10:30 AM, Keary Suska wrote: Warning: the following explanation assumes a scenario that you don’t explicitly describe, namely that you are editing an array-type defaults value. This is a known “issue”, if you want to call it that. As I understand

Predicate syntax for a conditional expression?

2017-02-06 Thread Jens Alfke
[Re-sending now that the lists are back up] Conditional NSExpressions (NSConditionalExpressionType) were added in 2015, but Apple’s predicate format syntax document* hasn’t been updated, so I can’t find any description of what the syntax is for them in a predicate string. By

Change NSCursor globally

2017-02-06 Thread Colas
Dear Cocoa Devs, I am developing an application with several windows and views (NSTextView, etc.). I would like to change the cursor globally in my application, so that even if the cursor enters the trackingRect of (for instance) an NSTextView it does not change. Is this possible? I need also

Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController

2017-02-06 Thread Keary Suska
> On Feb 6, 2017, at 7:43 AM, Steve Mills wrote: > > (Has cocoa-dev been down for days or what?) > > Why is it that most times when I implement a table, it can waste hours of my > time? > > So I think I have everything set up like it should be. I'll just jump right > to the

View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController

2017-02-06 Thread Steve Mills
(Has cocoa-dev been down for days or what?) Why is it that most times when I implement a table, it can waste hours of my time? So I think I have everything set up like it should be. I'll just jump right to the bug and then we can work back. The problem is that when I edit values in the table,