Datatypes still not recognized after adding bridging header...

2015-02-19 Thread Peters, Brandon
hello, I added a bridging header so that I could use the FMDB Objective-C code in Swift. However, the compiler still says it cannot recognize the datatype. Under Swift Compiler -> Code Generation I added the bridging header there. Is there something else I am missing? __

Datatypes still not recognized after adding bridging header...

2015-02-19 Thread Peters, Brandon
hello, I added a bridging header so that I could use the FMDB Objective-C code in Swift. However, the compiler still says it cannot recognize the datatype. Under Swift Compiler -> Code Generation I added the bridging header there. Is there something else I am missing? I am running Xcode 6.3 bet

NSPredicateEditor's date picker doesn't use user's date format

2015-02-19 Thread Steve Mills
Any way to fix this? My system short date format is /MM/dd, but the picker always uses MM/dd/. I tried: NSDatePicker* picker = (NSDatePicker*)[vals lastObject]; NSDateFormatter*formatter = [[NSDateFormatter alloc] init]; // The template just says which c

Re: NSPredicateEditor's date picker doesn't use user's date format

2015-02-19 Thread Shane Stanley
On 20 Feb 2015, at 5:17 pm, Steve Mills wrote: > > Shouldn't setLocalizedDateFormatFromTemplate be getting the format from my > system prefs? I'd expect it would get it based on the locale you've set, not the date format you've set. -- Shane Stanley __