Re: Identify image file count in directory

2015-11-14 Thread Jonathan Taylor
Hi Gary, Thanks for your reply. Do you know for sure that this should be significantly faster, or were you just guessing? You didn't say which particular API you had in mind, but some reading has led me to the fts APIs. These appear to be about 20% faster than NSFileManager (I specified

Re: Voiceover support

2015-11-14 Thread Alex Hall
> On Nov 13, 2015, at 08:09, Daniel Phillips wrote: > > I work at Trainline on their iOS app. We had some customer feedback recently > and unfortunately someone booked a ticket for the wrong date because we > botched our voiceover support! > Safe to say our app as it

Re: Identify image file count in directory

2015-11-14 Thread Gary L. Wade
I've worked on backup, syncing apps, and other file system related utilities for some rather well-known companies, so I've definitely explored the speed issues you're seeing. At one time I also had explored and used the CoreOS APIs that were shared with the legacy Carbon system (FSIterator,

UserDefaults not letting me access a dictionary?

2015-11-14 Thread Alex Hall
Hello list, Now I've got my Xcode machine back up and running (with an SSD, finally), I'm revisiting a couple apps I had paused. In one, I use a dictionary to store category filters in UserDefaults in [String:Bool]. I can then use something like if let filters =

Re: Identify image file count in directory

2015-11-14 Thread Jens Alfke
> On Nov 14, 2015, at 10:15 AM, Jonathan Taylor > wrote: > > Thanks for your reply. Do you know for sure that this should be significantly > faster, or were you just guessing? You didn't say which particular API you > had in mind, but some reading has led me to

Re: Identify image file count in directory

2015-11-14 Thread Akis Kesoglou
I would suggest to count the number of files asynchronously if possible, so the user doesn’t have to wait for this information in order to begin working with the panel. A couple of years ago I had to split by file type an enormous amount of restored files from a corrupt hard disk that were

Re: UserDefaults not letting me access a dictionary?

2015-11-14 Thread Quincey Morris
On Nov 14, 2015, at 10:18 , Alex Hall wrote: > > In a playground, accessing a dictionary of [String:Bool] works fine, as > expected. In the app, though, I get an error that I can't index [String:Bool] > with type 'String'. I don't understand why that is, so wanted to see if