Posts

Post not yet marked as solved
6 Replies
0 Views
The localized format string methods will format numbers for you. String.localizedStringWithFormat(NSLocalizedString("RecordsFound", comment: ""), 15387) Will return "15,387 records found" Alternatively, especially if you need to specify a different Locale String(format: NSLocalizedString("RecordsFound", comment: ""), locale: Locale.current, arguments: [15387]) Will also return "15,387 records found" This doesn't have the full freedom of allowing you to pass any string in, but it does keep the stringsdict file the same and doesn't restrict translations.
Post not yet marked as solved
4 Replies
0 Views
I'm a bit confused because it appears that push notifications without apns-push-type header are working for apps built with Xcode 10 or 11 on devices running iOS 13. When will this be required because currently it is not?
Post not yet marked as solved
14 Replies
0 Views
I was working around this previously in framework targets that used keychain APIs by adding an empty app target to run the tests. Since moving to Xcode 9.1 I now also have to move framework targets that depend on those frameworks to use an empty app.So this has regressed further since Xcode 8.2. Are logical tests (without a host target) not officially supported for framework targets anymore? Should Xcode just add the host target automatically then?I'll file the bug again, against 9.1 now, and one for the new scenario when I have time.