Datatypes still not recognized after adding bridging header...
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 beta on 10.10.2. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
NSPredicateEditor's date picker doesn't use user's date format
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 components to use, not the order: [formatter setLocalizedDateFormatFromTemplate:@/MM/dd]; picker.formatter = formatter; If I then log the formatter, it's still the wrong format: Printing description of formatter-_attributes: { dateFormat = MM/dd/; formatterBehavior = 1040; } Shouldn't setLocalizedDateFormatFromTemplate be getting the format from my system prefs? -- Steve Mills Drummer, Mac geek ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSPredicateEditor's date picker doesn't use user's date format
On 20 Feb 2015, at 5:17 pm, Steve Mills sjmi...@mac.com 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 sstan...@myriad-com.com.au www.macosxautomation.com/applescript/apps/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Datatypes still not recognized after adding bridging header...
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? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com