Re: Representing an object graph

2016-12-05 Thread Mike Abdullah
> On 6 Dec 2016, at 02:17, Jens Alfke wrote: > > >> On Dec 5, 2016, at 4:18 PM, Daryle Walker wrote: >> >> I've heard that Core Data is a object graph and persistence library. What if >> you want just the first part? > > You can use the XML-based store instead of SQLite, and just not both

Re: Representing an object graph

2016-12-05 Thread Jens Alfke
> On Dec 5, 2016, at 4:18 PM, Daryle Walker wrote: > > I've heard that Core Data is a object graph and persistence library. What if > you want just the first part? You can use the XML-based store instead of SQLite, and just not bother to write the XML anywhere… —Jens __

Re: Large "Data" support

2016-12-05 Thread Jens Alfke
> On Dec 5, 2016, at 4:12 PM, Daryle Walker wrote: > > For the Swift 3 "Data" type, if I want to represent a multi-gigabyte file, it > won't try to do it all in memory, would it? The Data type specifically represents in-memory data, so yeah, it would. (Where by “memory” I mean “address spac

Representing an object graph

2016-12-05 Thread Daryle Walker
I've heard that Core Data is a object graph and persistence library. What if you want just the first part? The graph seems like a neat way to save on modeling code, the external format is not database-ish at all (so the capability for custom export formats won't help). Can I just not use the p

Large "Data" support

2016-12-05 Thread Daryle Walker
[Binge-watching WWDC 2016 videos.] For the Swift 3 "Data" type, if I want to represent a multi-gigabyte file, it won't try to do it all in memory, would it? Or would I have to manage a memory-mapped NSData and somehow connect it to a Data object? Sent from my iPhone ___

Why aren't NSFilePromiseProviderDelegate methods being called?

2016-12-05 Thread Charles Srstka
Okay, so I decided to try to experiment with NSFilePromiseProvider, in order to replace some legacy code using old-fashioned drag-and-drop methods. Seems simple enough; just have the outline view delegate’s -outlineView:pasteboardWriterForItem: method return an NSFilePromiseProvider. However, f

Re: Migrating shared library plugins to Cocoa Touch Frameworks

2016-12-05 Thread Andreas Falkenhahn
On 04.12.2016 at 23:13 Jens Alfke wrote: > Use a “.exp” file. It simply lists symbols, one per line. They need > to have the same naming convention the linker gives them, so most > symbols should have an “_” prefixed to them. Then there’s a target > build setting named something like “Use exported

radio button contrast

2016-12-05 Thread J.E. Schotsman
Hello, I intend to increase contrast of inactive radio buttons a little because they are hardly legible. The idea is to draw to a bitmap, increase contrast, draw to screen. To my surprise this already increases contrast without any manipulation of the bitmap. What is going on here? class MyRadi

Re: Message from iOS to watchOS

2016-12-05 Thread J. Scott Tury
Gerriet, Try setting a Local Notification to be delivered at a scheduled time in the future (like a minute later). Then put your iPhone into lock mode, and turn off the display. This should force the OS to deliver your notification to your paired device. When the timer fires for the loca