Discover and read the best of Twitter Threads about #wwdc19

Most recents (6)

A thread on thread safety crashes in Apple OSes. Yesterday I helped both a third-party developer and an Apple engineer analyze crashes that turned out to be thread safety issues. (Yes, that's me as Buzz Lightyear in the Woody-Buzz-Everywhere meme.) #WWDC19
NOTE: This is a mini "field guide" to thread safety issues with objects (data structures) in languages like C, C++, Objective-C & Swift. It is not meant to be comprehensive. Thread safety bugs also occur in plain old data (POD) types (int), but those usually don't cause crashes.
Thread safety bugs (race conditions) occur when memory is read-after-written, written-after-read, or written-after-written on two threads at the same time. Read-after-read is generally safe as long as all writing is completed during initialization (before objects are used)!
Read 19 tweets
SwiftUI ships with 3 main stack types - that enable you to easily align content on either the X, Y, or Z axis. And, since all SwiftUI views are composable, they can also be nested in order to build really complex UIs đź‘Ť #WWDC19
I see LOTS of SwiftUI comments about how this will "force" developers to write "Pyramids of Doom" with heavily nested code, which is just as false as MVC forcing developers to build massive view controllers 🙂

Here's that same code, but with parts moved into functions đź‘Ť #WWDC19
You can of course also create separate types for the child views, or factories, custom wrappers, etc. Like always, how you structure your code is up to YOU, not the framework.

That's why on @swiftbysundell I'm not focusing on frameworks, but on core coding techniques 🙂 #WWDC19
Read 3 tweets
Let's clarify some of the misunderstandings around Apple's new "Sign In with Apple" feature announced at #WWDC19, a thread:
tl;dr This is a good move for users in the iOS ecosystem, and is primarily designed as an alternative for apps that currently use "Sign in with [Facebook/Twitter/Google]" to avoid leaking sensitive user info.
Yes, Apple is entering the OAuth ecosystem as a new identity provider. Turns out every iOS user already has an Apple account, so why not enable users to sign in with an account they already have?
Read 19 tweets
I'm about to live tweet #WWDC19 so either enjoy or be annoyed ✌🏼
Black and white, v edgy
Cute intro vid, definitely feel those feels #WWDC19
Read 82 tweets
Apple announced support for NFC stickers/tags that trigger Apple Pay for payment without having an app installed. Imagine tapping your phone on a scooter or a parking-meter and paying for it without signing up or downloading an app first. #ApplePay
Apple is working with Bird scooters, Bonobos, and PayByPhone (parking-meters) on the initial rollout. Also instant-enrollment for loyalty cards in Apple Wallet is coming. I’m sure we’ll hear more about this at #WWDC19. #ApplePay
These photos were taken by my excellent coworker @scott_harkey who was selected for the 2019 Forty Under 40 Class at Transact 2019 (same conference where the Apple announcement was made). #ApplePay levvel.io/blog/scott-har…
Read 4 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!