Re: debugging AirDrop (update)

2016-05-30 Thread Britt Durbrow
FWIW, I have that experience just using Apple’s own apps... It works most of the time, but sometimes, it just… doesn’t. So, it might well not be anything you are doing (or not doing, as the case may be). > On May 27, 2016, at 1:10 PM, Gerriet M. Denkmann wrote: > > >> On 28 May 2016, at 02:0

Re: When can String.enumerateSubstringsInRange ever pass in NIL?

2016-05-30 Thread Quincey Morris
On May 29, 2016, at 22:31 , Ken Thomases wrote: > > I think the documentation for SubstringNotRequired is sufficient design > contract: > > "NSStringEnumerationSubstringNotRequired > "A way to indicate that the block does not need substring, in which case nil > will be passed. This is simply a

QLPreviewPanel (how to supply default application url?)

2016-05-30 Thread sqwarqDev
Hoping someone can get me over the final hurdle… I have an NSTableView and I want the user to be able to hit the space bar to invoke a QuickLook preview of the selected item. These items are not custom objects, just regular text files. I’m following the sample code provided by Apple in QuickLoo

Re: QLPreviewPanel (how to supply default application url?)

2016-05-30 Thread dangerwillrobinsondanger
Did you include the code? It's hard to know what you did wrong by guessing blindly. My guess would be the LSRolesMask But it may mean each parameter of the function as the parameter list. Sent from my iPhone > On May 30, 2016, at 7:20 PM, sqwarqDev wrote: > > Hoping someone can get me over

Re: QLPreviewPanel (how to supply default application url?)

2016-05-30 Thread sqwarqDev
> On 30 May 2016, at 17:42, dangerwillrobinsondan...@gmail.com wrote: > > Did you include the code? > There’s only two methods for the datasource. Mine look like this: #pragma mark - QLPreviewPanelDataSource - (NSInteger)numberOfPreviewItemsInPreviewPanel:(QLPreviewPanel *)panel { return

Re: [SOLVED} QLPreviewPanel (how to supply default application url?)

2016-05-30 Thread sqwarqDev
Got it. Should have been using fileURLWithPath. Thanks to dangerWill…I hadn’t posted the code I wouldn’t have spotted that!! > On 30 May 2016, at 18:08, sqwarqDev wrote: > > >> On 30 May 2016, at 17:42, dangerwillrobinsondan...@gmail.com wrote: >> >> Did you include the code? >> > > There’

Re: [SOLVED} QLPreviewPanel (how to supply default application url?)

2016-05-30 Thread dangerwillrobinsondanger
I can't tell you how many times I've done the same. It's easy to forget to use the fileURL methods. Sent from my iPhone > On May 30, 2016, at 8:15 PM, sqwarqDev wrote: > > Got it. Should have been using fileURLWithPath. > > Thanks to dangerWill…I hadn’t posted the code I wouldn’t have spotte