Post

Replies

Boosts

Views

Activity

Reply to Are there any macOS framework references for C?
You're not going find much of anything on Carbon due to deprecation since os X 10.8 https://developer.apple.com/documentation/coreservices/carbon_core and Xcode 5 https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/SystemFrameworks.html#//apple_ref/doc/uid/TP40001067-CH210-BBCFGHBB
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’23
Reply to print(String(format: "%.2f", 1.255)) => 1.25
It's not about being rounded. It's about suppressing everything after the 2nd decimal place using the format specifier %.2f if you wanted to show the nth position after the decimal place then %.3f will show 1.255, %.5f will show 1.25500 etc etc. 1.255 will not round because there is nothing carry over. 1.256 will round because there is a 1 to carry over.
Topic: App & System Services SubTopic: General Tags:
Dec ’23
Reply to iOS 17.x Memory dirty during runtime
Any crashes outside the doings of the SDK are of your making and responsibility due to the misuse of data types and memory access or incorrect memory management. Your question sounds a bit vague and assumptuous. Please provide a use case in the form of a coded example with which you might be having an issue.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’23