The Core Motion framework’s CMMotionActivityManager on iOS and watchOS uses a device’s motion coprocessor to process sensor data from accelerometers, gyroscopes, and magnetometers, determining user activities like walking, running, cycling, automotive travel, or being stationary with varying confidence levels.
Development
Monthly update #0340 • August 2018
Monthly update 340 • August 2018 • 2018-08-01 - 2018-08-31
Monthly Updates
NSDataDetector
NSDataDetector finds dates, links, phone numbers, addresses, and transit details in natural language text. It is a subclass of NSRegularExpression.
Development
NSDataAsset
Asset catalogs in Xcode let you store not just images but also data files like JSON. This helps apps load faster on first launch by avoiding network calls.
Development
Experience Rot
Steve Jobs once said, “You have to pick carefully. I’m actually as proud of the things we haven’t done as the things I have done. Innovation is saying ‘no’ to 1,000 things.”
Development
NLLanguageRecognizer
Apple’s Natural Language framework (iOS 12+) finally lets developers use the same powerful language-detection technology that powers Siri and system features.
Development
Monthly update #0339 • July 2018
Monthly update 339 • July 2018 • 2018-07-01 - 2018-07-31
Monthly Updates
Norway Road Trip Day 12
Day 12 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 11
Day 11 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 10
Day 10 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 09
Day 9 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 08
Day 8 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 07
Day 7 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 06
Day 6 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 05
Day 5 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 04
Day 4 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 03
Day 3 of the road trip my brother and I made in Norway.
Trips
UITextInputPasswordRules
Automatic Strong Passwords (iOS 12 / macOS Mojave) let Safari and your app generate truly random, high-entropy passwords that actually satisfy the site’s rules, no more “password too weak” after AutoFill.
Development
Norway Road Trip Day 02
Day 2 of the road trip my brother and I made in Norway.
Trips
Norway Road Trip Day 01
Day 1 of the road trip my brother and I made in Norway.
Trips
Monthly update #0338 • June 2018
Monthly update 338 • June 2018 • 2018-06-01 - 2018-06-30
Monthly Updates
Monthly update #0337 • May 2018
Monthly update 337 • May 2018 • 2018-05-01 - 2018-05-31
Monthly Updates
Introducing Related Projects to Swift Forums
The Swift community continues to expand, with developers increasingly relying on ecosystem projects to streamline app development for specific tasks. To foster better interaction, Swift Forums has introduced a new top-level category called Related Projects.
Development
Monthly update #0336 • April 2018
Monthly update 336 • April 2018 • 2018-04-01 - 2018-04-30
Monthly Updates
Swift Community-Hosted Continuous Integration
Swift.org has expanded its continuous integration testing system to include community-hosted nodes for additional platforms.