Re: OT? Xcode Question

2016-02-11 Thread Quincey Morris
On Feb 11, 2016, at 16:15 , Charles Jenkins wrote: > > I was hoping for something simpler than all that I think I agree with you that a more direct solution would be worth campaigning for. View -> Standard Editor -> Show Standard Editor (Command-Return) is the direct way to go from a dual-pane

Re: OT? Xcode Question

2016-02-11 Thread Charles Jenkins
Well, clearly I was hoping for something simpler than all that :-D I found a drag-and-click operation that seems to work, mostly. Drag the proxy icon from the Assistant Editor’s file over the icon for the file in the main editor, then click the X at the far right of the Assistant Editor window.

Re: TreeController and "selection" Binding

2016-02-11 Thread Quincey Morris
On Feb 11, 2016, at 13:26 , Michael de Haan wrote: > > Currently, I obtain the “selection” of the treeController by implementing and > outlet to the controller, and using the “selectionIndexPaths” binding to > update a local variable which holds the selected range information. From > then, ano

Re: Full-text indexing on iOS

2016-02-11 Thread Alex Zavatone
I'm sure you're already done this, but searching on your exact request gives 2 URLs in Google. The first is a link to your product unsurprisingly. The second is a project from 2015 that claims to do what you might want. I think a quick look at the second project might help to at least see if th

TreeController and "selection" Binding

2016-02-11 Thread Michael de Haan
I have what I assume is a standard setup. A treeController managing an Outline View. A textView acts as a source for a regex Search. All works as expected. The resulting matches are displayed in the outline view. As I select a row in the outline view, I highlight the matched text in the orig

Full-text indexing on iOS

2016-02-11 Thread Jens Alfke
I’m looking into OS support for full-text indexing, for the database engine I work on. On Mac OS, there’s SearchKit, which does exactly what I want. iOS doesn’t have SearchKit for some reason, but it now has Core Spotlight, which lets me index data. The intended use seems to be for device-wide s

Re: Deleting an file that's been NSData memory mapped - safe?

2016-02-11 Thread Dan Lau
Thanks Jens, that makes sense. This brings up a related question that I haven't seen a definitive answer to - on iOS, does NSDataReadingMappedIfSafe always map the file? After all, the iOS apps can only reference local files on the device. On Thu, Feb 11, 2016 at 12:03 PM, Jens Alfke wrote: > >

Re: Deleting an file that's been NSData memory mapped - safe?

2016-02-11 Thread Jens Alfke
> On Feb 11, 2016, at 11:44 AM, Dan Lau wrote: > > If a file has its contents mapped using NSData's > initWithContentsOfFile + NSDataReadingMappedIfSafe, > deleting it doesn't appear to affect reading it's mapped contents. Does > anyone know if NSData uses mmap(2) under the hood to ensure that t

Deleting an file that's been NSData memory mapped - safe?

2016-02-11 Thread Dan Lau
If a file has its contents mapped using NSData's initWithContentsOfFile + NSDataReadingMappedIfSafe, deleting it doesn't appear to affect reading it's mapped contents. Does anyone know if NSData uses mmap(2) under the hood to ensure that this sort of operation is valid? Dan ___

Re: OT? Xcode Question

2016-02-11 Thread Quincey Morris
On Feb 11, 2016, at 07:49 , Charles Jenkins wrote: > > With no close button on the left side to give me a one-click solution, it > would be mighty handy to find two quick keystrokes that would result in > leaving the right-side file open in the main editor. So you want something like “Open in

Re: OT? Xcode Question

2016-02-11 Thread Alex Zavatone
There is an Xcode mailing list that you might want to post this to. Xcode-users Users On Feb 11, 2016, at 10:49 AM, Charles Jenkins wrote: > I find that when working with an Assistant Editor, I’m typically doing things > like creating outlets and actions, where I’m dragging from IB on the l

OT? Xcode Question

2016-02-11 Thread Charles Jenkins
I find that when working with an Assistant Editor, I’m typically doing things like creating outlets and actions, where I’m dragging from IB on the left into companion code on the right. Then I’m done with the left side and need to start working on the right side. So what I almost always want to

Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server

2016-02-11 Thread Jean-Daniel Dupas
> Le 11 févr. 2016 à 02:16, Ben Kennedy a écrit : > >> On 10 Feb 2016, at 5:00 pm, Gary L. Wade >> wrote: >> >> You've made my point. None of my friends would even bother with looking at >> the certificate for his site (assuming that's his site from his email >> address) and move on. At wor

Re: PSA: Does your app use Sparkle? Update it, or use an HTTPS server

2016-02-11 Thread sqwarqDev
Thanks largely to folks over on the AppleScript users list, the rough script I was providing yesterday has been significantly improved. Here’s the latest version. Credits go to Al Varnell and Yvan Koenig for suggestions and rewriting of my earlier drafts. Added: apps in /Applications subfold