Search code examples
Round NSDate to the nearest 5 minutes...


iosobjective-ccocoafoundation

Read More
Why does String.contains behave differently when I import Foundation?...


swiftstringfoundation

Read More
When could the user's Locale.current.region be nil?...


iosswiftfoundation

Read More
Timer added with scheduledTimer(withTimeInterval works fine with UI interaction...


swiftfoundation

Read More
Does the order of cases in a switch statement matter?...


swiftenumsfoundation

Read More
Swift foundation vs standard library?...


swiftfoundation

Read More
How can I format a specific string "05-Jan-2022 12:05 AM" to a date object in Swift?...


iosswiftdatefoundation

Read More
DateFormatter returns nil with specific combination of TimeZone and Locale...


iosswiftfoundation

Read More
How do I load a URL using NSItemProvider's new Async loadItem method?...


swiftfoundation

Read More
" Duplicate keys of type ... were found in a Dictionary " when there is no Dictionary?...


swiftfoundation

Read More
SwiftUI and Measurement conversions : only first conversion is performed...


swiftuifoundationmeasurement

Read More
Replace substring of NSAttributedString with another NSAttributedString...


stringcocoareplacensattributedstringfoundation

Read More
Is it possible for a sandboxed Mac app to write to the global defaults domain?...


macosnsuserdefaultssandboxfoundationappstore-sandbox

Read More
Running PHP script with Foundation Process - Mac OS Monterey - Swift...


phpswiftmacosprocessfoundation

Read More
"unrecognized selector sent to class" when calling category method from a library...


objective-ccocoaextension-methodsfoundationunrecognized-selector

Read More
Unexpected launch time on iOS 15...


launchfoundationios15

Read More
DateIntervalFormatter: string of format "m:ss"...


swiftdatefoundationdateformatterdateinterval

Read More
How do I change the appearance of Markdown-styled text in an AttributedString?...


iosmacosnsattributedstringfoundationnsattributedstringkey

Read More
Format distance measurement as either kilometers or imperial miles, not metric miles...


swiftformattingfoundationmeasurement

Read More
DateComponents doesn't seem to honor year...


iosswiftmacosfoundationnsdatecomponents

Read More
How to use KVO for UserDefaults in Swift?...


iosswiftkey-value-observingfoundation

Read More
Swift Encodable: encode nil as an empty object...


jsonswiftcodablefoundationencodable

Read More
How do I create dummy JSON data on the client in objective C / iOS?...


iosobjective-cjsonnsdictionaryfoundation

Read More
Round decimal to nearest increment given a number...


swiftdecimalroundingfoundation

Read More
Get output out of filter when there are no results...


swiftswiftuifoundation

Read More
Swift 5 - Dateformatter not working as expected...


swiftfoundationdateformatter

Read More
How can I avoid hard coding the handlers for each menu item?...


applescriptfoundation

Read More
Can't use Set because a Core Data class is also called "Set"...


arraysswiftxcodesetfoundation

Read More
Getting bundle identifier in Swift...


swiftcocoafoundation

Read More
Comparing NSDates without time component...


iostimeswiftnsdatefoundation

Read More
BackNext