A note from Bas on the #IndieSupportWeeks
While some of you might have heard about the #IndieSupportWeeks, many of you might not have.
It’s an effort aimed at helping indie developers within the Apple Developer Community who have been financially impacted by the current global COVID-19 pandemic.
Curating this newsletter, it was an obvious decision to take part in this effort, and to highlight some indie apps in this issue. Do check them out, as well as all other awesome apps
on the list.
If you decide to check out any of the apps — or to buy them — please also share it with the world using the #IndieSupportWeeks hashtag!
On behalf of all indie developers, thank you for checking out their apps and the support!
Apple announced that WWDC 2020 will be an online-only event, and many of us are learning how to work remotely from our homes while we cope with the on-going health crisis. I hope everyone is staying safe.
Meanwhile, Swift 5.2 has been officially released with Xcode 11.4. So take a break from the news and spend some time updating your projects!
In episode 69
of the Swift by Sundell podcast, Holly Borla
and Grace Kendall
, both software engineers at Apple, join John Sundell
to take a deep dive into the Swift Playgrounds app and Swift 5.2’s new diagnostics engine.
Indie Support Weeks #IndieSupportWeeks
Just this year over 60M accounts have been exposed due to service breaches. Reusing passwords greatly increases your risk of getting hacked. Take some time during this lockdown to make sure you’re using strong and unique password on all the services you use, and securely store them in a password manager such as Secrets. Stay safe IRL and online!
News and community
WWDC 2020 will be a completely online experience this year.
A great talk
was shared about Swift for TensorFlow which would normally have been given at TF Dev Summit.
The Ray Wenderlich folks wrote a great tutorial
on how to get started with SwiftNIO.
Commits and pull requests
merged a pull request
that fixes SR-11540
by just disfavoring overloads to closures with anonymous var that are function types with more than one argument that matches arguments of function types without arguments.
Indie Support Weeks #IndieSupportWeeks
Timeless is a subtle clock replacement. It helps you feel less anxious about the time and more focused on how you should be spending it. Try Timeless today.
collection type conforming to the
protocols. With random element
access and support for constant back and forth element insertion and deletion.
Swift currently does not have collection with both element random access
and constant O(1) elements back and front insertion and deletion. A good
usage examples for such collection are queue, deque, fixed length buffers.
Such abstractions cannot effectively be build on Array because of O(n) first element deletion.
Given the fact that Swift String class doesn’t has any method for counting occurrences of a substring in a string. i.e
Counting occurrences of
"Hello Swift Swift"
There are many alternatives available for counting occurrences of substring but I think it would be more intuitive if we add support of counting occurrences of a substring in a string.
This is a generalization of the
attributes that have been in Swift from the beginning, making that specialized behavior available to any library or framework.
The Swift compiler will recognize a type annotated with the
attribute as providing the entry point for a program. Types marked with
have a single implicit requirement: declaring a static
Here is a pitch for adding a limited set of low-level atomic operations to the Standard Library, including native spellings for C++-style acquire-release memory orderings. Our goal is to enable intrepid library authors to start building synchronization constructs directly in Swift. This means we must start talking about how these things will work in Swift – in other words, we need to start working on a concurrency memory model. Given that Swift already interoperates with the C/C++ memory model, it seems like a good idea to use that as a starting point.
Today, encoding and decoding Codable objects using the compiler’s synthesized implementation requires that your object graph has a one-to-one mapping to the object graph of the target payload. This decreases the control that authors have over their
I propose that we add a new
type that allows consumers to key into nested objects using dot notation