SwiftUI putting the fun into functional
=> More informations about this toot | View the thread
If I asked you to write Swift code that we'd use to represent a circle, what would you write?
=> More informations about this toot | View the thread
The Apple SwiftUI event looks great. I just cancelled my request for in person as they don't tell you until 10pm Feb 3 if you're in for Feb 5 and I can't plan travel accordingly. Hope to see you online
=> More informations about this toot | View the thread
Interested in SwiftTesting? My session from PragmaConf has been posted.
It's a great quick intro to the new testing framework.
https://www.youtube.com/watch?v=0NTBhb65TRY&list=PLAVm70iJlMuuyXvimaw1Yze5Q_O_y5Z9L&index=11
=> More informations about this toot | View the thread
SwiftUI Kickstart is updated for Swift 6, Xcode 16, and iOS 18
If you own it it's a free update - if you don't it's $15
https://editorscut.gumroad.com/l/swiftuikickstart
=> More informations about this toot | View the thread
Suppose ten of you live in a neighborhood. Nine of you are out of work - you have zero income. The dude at the end of the street makes $10M/year.
People are impressed because the average income of people in your neighborhood is $1M/year.
That feeling doesn't pay your rent, buy your groceries, or cover your medical bills.
That's what a concentration of wealth means.
(btw - 20 years ago I was going to write Head First books on Calculus and Probablility/Stats and that was a stats example)
=> More informations about this toot | View the thread
The Newsletter:
Taking a moment to look back before moving forward. Also, three words, two way decisions, who's unqualified, the Sherlock Holmes puppet, Maggie's link to on-stage cake tricks, and Soroush on accessibiility.
https://mailchi.mp/07612101fd9a/249-janus
=> More informations about this toot | View the thread
Rewriting my SwiftUI book. I hate that this no longer works even for a constant array:
ForEach(myArray.indices)
The warning is "non constant range". This range IS constant.
The second half of the warning is: "argument must be an integer literal"
It seems we. should be able to mark it as constant so that the compiler is satisfied.
If the view includes the value
let x = myArray.count
Then ForEach(0..<x) still doesn't work even though it is provably a constant range.
=> More informations about this toot | View the thread
The first man I ever voted for for President was Jimmy Carter. The US got the 1980 election wrong too. I was too young to vote for him in 1976
=> More informations about this toot | View the thread
Beta 1 of the SwiftUI Kickstart update for Swift 6 and Xcode 16 is here:
https://editorscut.gumroad.com/l/swiftuikickstart
I'm surprised at how much has changed including Previews, Observables, and more. It wasn't quite the light pass I thought it was going to be. Some sections were completely rewritten, some were added, and some were removed.
I hope you enjoy it.
Oh - it's a free update if you own it and if you don't own this intro yet the price is reduced to $15 as this will be the last edition of the book.
=> More informations about this toot | View the thread
Making lasagna noodles
=> More informations about this toot | View the thread
Took me a moment - this is very nice
https://mathstodon.xyz/@davidradcliffe/113642339260633425
=> More informations about this toot | View the thread
Some day I’ll return from the back room with the item I went back there to get. Today is not that day
=> More informations about this toot | View the thread
My passport renewal has been approved and the book is being printed
=> More informations about this toot | View the thread
Back to baking bread. Last week a whole wheat this week a sourdough with the culture I started a couple of weeks ago
=> More informations about this toot | View the thread
A couple of recipes have suggested cutting Pecorino with Grana Padano 2:1. I can't seem to find grana here - any other substitutes?
=> More informations about this toot | View the thread
I can't and won't justify the cost and wouldn't be able to make a single recipe from this book (each recipe has half a dozen or more steps) and yet it looks like a ton of fun.
https://www.kitchenartsandletters.com/collections/chefs-restaurants/products/eleven-madison-park-the-plant-based-chapter
=> More informations about this toot | View the thread
In SwiftUI @State essentially allows us to treat a value type as a reference type by storing it elsewhere so mutating its value doesn't mutate the View.
I think I want the dual to this idea. Something that allows me to get a projection of a @model object (a reference type) that is a value type so that I can display its values in a view that doesn't mutate it. The projection would be Sendable as it is not shared mutable state. I think I want this for @Observable objects too.
=> More informations about this toot | View the thread
The Newsletter:
Finding the play button. Also, robot kidnapping other robots, the best bowling video ever, outrage taken to its extreme, don't think of an elephant, Maggie's link to an Arena changing from an ice rink to a basketball court, and Slava on Compiling Generics.
https://mailchi.mp/6adb448d5b9b/245-play
=> More informations about this toot | View the thread
Friends at Google / YouTube - if you know anything about courses and can connect me to the right people who can answer questions for creators I’d appreciate it.
https://support.google.com/youtube/answer/12751869?hl=en#zippy=%2Cfind-courses
=> More informations about this toot | View the thread
=> This profile with reblog | Go to dimsumthinking@mastodon.social account This content has been proxied by September (ba2dc).Proxy Information
text/gemini