So if you’re tearing your hair out debugging the presentation and dismissal of a sheet in SwiftUI, here’s a quick tip that might save you an hour or three: start by making sure the .sheet(isPresented:)
modifier is OUTSIDE any NavigationView.
So if you’re tearing your hair out debugging the presentation and dismissal of a sheet in SwiftUI, here’s a quick tip that might save you an hour or three: start by making sure the .sheet(isPresented:)
modifier is OUTSIDE any NavigationView.
Is anyone using SwiftUI’s TextEditor control in a Mac app? In my multiplatform app, when typing in the TextEditor on iOS, it’s fine. On the Mac, there’s noticeable input lag after a few words that gets ridiculous after a couple of sentences.
Oh my days, you can FINALLY filter by brand on Amazon.ca π€―
No more searching through eighty-four pages of sponsored garbage after having typed the exact brand and model!
Is it just me, or is selecting/closing tabs in Firefox really flaky in Big Sur beta 6?
It’s time for an afternoon restorative and my weekly retrospective. I take an hour or so every Sunday to go over how my week went, write a couple of sentences on how my priority projects are progressing, and plan for the next week βΒ pen and notebook, plus an OF checklist.
Work continues on the WriteFreely client! Itβs an open-source, multi-platform SwiftUI app and Iβd love your contributions.
My first contribution to @NetNewsWire shipped as part of the 5.1d3 release for the Mac app. Watching the core team work has been a great way to learn and level up, and I’m looking forward to contributing more!
I upgraded to Xcode 12Ξ²5 this morning, and now my SwiftUI multiplatform app SIGABRTs on launching the macOS app.
iOS version of the app runs fine (in the Simulator), though. Β―\_(γ)_/Β―
The power just went out here, literally just before I clicked the download button for the Xcode 12 Ξ²5 update. Sure as hell not gonna try that while tethered on LTE. π¬
Release the betas 5 you cowards
What’s in your iOS 14/macOS 11/Xcode 12 Ξ²5 wishlist?
I’d love to see SwiftUI’s preferredColorScheme fixed to, you know, actually set a preferred colour scheme. π
Okay, SwiftUI question for you iOS devs: is there any reason why I shouldn’t expect that adding a Text view as a ToolbarItem would give me text in the toolbar?
Instead, ToolbarItem seems to turn whatever content I give it into a Button.
All this time I’ve figured that you just can’t use SwiftUI PreviewProviders if your view takes a Binding β but I’m glad to find out I’m wrong! You can pass a Binding.constant
value into your PreviewProvider.
https://developer.apple.com/documentation/swiftui/binding/constant(_:)
That thing where you open an Xcode project and you’re like, “OMG where’s all my work from last week?” and then you remember that you switched from your feature branch to main
at the end of the day on Friday.
UGH MONDAYS
Ugh, my tabs keep crashing in Firefox on Big Sur Ξ²4. π
I haven’t dug into the crash reports, maybe it’s an extension?
Finally installing the Big Sur developer beta, on my main / only Mac.
Fingers crossed that it’s uneventful and boring. π€π¬
When I’m stuck on some code problem, and don’t have anyone to pair/rubberduck with, writing down everything I know about how it works, what I expect it to be doing, and why I don’t think it’s working right is a huge help.
Writing, I tell ya. Such a powerful tool.
For the record, “workin' 9 to 5” was a thing we used to do before email and instant messaging turned your jobby-job into a never-ending meeting with no agenda that takes time away from your side hustle and your personal-branding work
I’ve had Dolly Parton’s “9 to 5” stuck in my head since I woke up this morning and tbh, it’s a very good thing
Xcode’s “Refactor>Rename”, the first time you try it: kinda neat to see it slowly fold up the editor to show all instances of a symbol, let you rename them, and then slowly unfold to implement your changes.
Xcode’s “Refactor>Rename”, the 10th time you use it: HURRY UPPPPPPP π
This is the first month in a long time that Iβve bothered trying to close my activity rings every day. Weβre now in the home stretch.
So, looks like the issue with my iPhone X isnβt a swollen battery, just probably some deterioration of the seal between the body and screen.
Not gonna bother fixing it, though. Too much of a hassle for a phone Iβll be replacing in a couple of months anyhow.
Wherefore art thou, beta three?
Okay, let’s do some Monday Motivation: tell me about a project you’re tackling this week that’s got you feeling excited, challenged, or even a little scared!