DevelopmentCharacterSet
The article introduces CharacterSet
, a Foundation type in Swift for manipulating Unicode scalar values, distinct from Set<Character>
despite its name, as it conforms to the SetAlgebra
protocol rather than storing Character
values directly.
Monthly UpdatesMonthly update #0343 • November 2018
Monthly update 343 • November 2018 • 2018-11-01 - 2018-11-30
ProjectsSecKey
SecKey provides one time passwords to be used with the two factor authentication of Dropbox, Google, Facebook, GitHub, Proton Mail and many more.
BooksPast Tense by Lee Child
Past Tense follows Reacher to his father’s New Hampshire hometown, uncovering family secrets, while two Canadians face a deadly trap in a rural motel.
DevelopmentThe User Experience of Chatbots
I absolutely hate chatbots! So much that I added a rule to Quiet to hide/block chatbots from websites.
Monthly UpdatesMonthly update #0342 • October 2018
Monthly update 342 • October 2018 • 2018-10-01 - 2018-10-31
EssaysIt is time to leave the Facebook universe!
I left Facebook on 1 January 2012. I never used Instagram and stopped using WhatsApp on 30 April 2017. I have not missed them for a second. People often ask why I abandoned these platforms.
DevelopmentFileManager
On Apple platforms, the FileManager
class in the Foundation framework provides a robust abstraction for file system operations like creating, reading, moving, copying, and deleting files and directories, using paths or file URLs.
DevelopmentDateComponents
The article introduces DateComponents
, a versatile Foundation type in Swift for representing either a specific calendar date or a duration of time, emphasising its use over hardcoded time intervals like 60 * 60 * 24
for a day.
DevelopmentREPL Support for Swift Packages
The swift run command now includes a --repl option. This lets you start the Swift REPL and import library targets from a package.
BooksThe Fox by Frederick Forsyth
In Frederick Forsyth’s thrilling modern espionage novel, The Fox, a British teen with Asperger’s, Luke Jennings, turns out to be a cyber-genius who can hack into the world’s most secure systems, like the Pentagon, NSA, and CIA.
Monthly UpdatesMonthly update #0341 • September 2018
Monthly update 341 • September 2018 • 2018-09-01 - 2018-09-30
DevelopmentHow Mirror Works
Swift provides runtime type inspection through the Mirror API. This allows developers to examine arbitrary values and traverse object graphs without prior knowledge of types at compile time.
DevelopmentSwift 5.0 Release Process
Swift 5.0 aims to achieve ABI stability to enable a stable runtime for operating systems, with module stability as a key focus that may land in this release or a later 5.x update.
DevelopmentSwift 4.2 Released!
Swift 4.2 is a major update that enhances compile times, debugging, the standard library, and moves closer to binary compatibility, while maintaining source compatibility with Swift 4 and 4.1 but marking the last release to support Swift 3 compatibility.
DevelopmentCMDeviceMotion
The Core Motion framework in Swift simplifies access to iOS and watchOS device sensors, enabling innovative user interactions beyond touch by leveraging a dedicated motion coprocessor for efficient accelerometer, gyroscope, and magnetometer data processing.
DevelopmentCMMotionActivity
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.
Monthly UpdatesMonthly update #0340 • August 2018
Monthly update 340 • August 2018 • 2018-08-01 - 2018-08-31
DevelopmentExperience 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.”
Monthly UpdatesMonthly update #0339 • July 2018
Monthly update 339 • July 2018 • 2018-07-01 - 2018-07-31
Monthly UpdatesMonthly update #0338 • June 2018
Monthly update 338 • June 2018 • 2018-06-01 - 2018-06-30
Monthly UpdatesMonthly update #0337 • May 2018
Monthly update 337 • May 2018 • 2018-05-01 - 2018-05-31
DevelopmentIntroducing 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.
Monthly UpdatesMonthly update #0336 • April 2018
Monthly update 336 • April 2018 • 2018-04-01 - 2018-04-30
DevelopmentSwift Community-Hosted Continuous Integration
Swift.org has expanded its continuous integration testing system to include community-hosted nodes for additional platforms.