Jon

18.9K posts

Jon banner
Jon

Jon

@Jon889

Muttering into the void. iOS Software Engineer, recently Android as well. 🏳️‍🌈

UK Katılım Haziran 2010
206 Takip Edilen128 Takipçiler
Jon
Jon@Jon889·
@twostraws It would be better if it could be used in function arguments. Then it’s more readable than using a ternary operato (at least some of the time, imo)
English
0
0
0
122
Paul Hudson
Paul Hudson@twostraws·
Back in Swift 5.9, if and switch were adjusted to work like expressions so you can assign their result directly to a variable. Clean and consistent, or hard to read? 🤔 hackingwithswift.com/swift/5.9/if-s…
English
11
8
68
10.7K
Jon
Jon@Jon889·
@pepicrft @SwiftLang Swift keep implementing new things and not finishing them. completely assuming it’s because people jump on to the next cool compiler thing.
English
0
0
1
921
Jon
Jon@Jon889·
@Argos_Online im getting texts for a delivery and it’s not mine
English
2
1
2
92
Jon
Jon@Jon889·
Now we can use LLMs to write code I don’t understand why you’d chose python over Swift or Kotlin. Having compile time safety seems way more helpful than easy of writing
English
1
0
0
13
Jared Palmer
Jared Palmer@jaredpalmer·
Stacked Diffs on @GitHub will start rolling out to early design partners in an alpha next month. In the meantime, here's video of our progress so far: (h/t for @georgebrock + team for their awesome work)
English
122
164
2.2K
223.1K
Jon
Jon@Jon889·
@TfL @Citymapper waterloo bridge is Closed but it’s not updated in both apps so buses are still shown as going there
English
1
0
0
113
Jon
Jon@Jon889·
@pepicrft @tuistdev Ah I had content blockers on that hid it from both tweets, thanks 😊
English
0
0
0
10
Pedro Piñera
Pedro Piñera@pepicrft·
Flaky tests are a common source of time wasted, so it was a natural problem for us at @tuistdev to tackle. With a single action in your Xcode project schemes, you can now detect and quarantine the flaky tests in your codebase. tuist.dev/blog/2026/01/2…
English
2
0
4
607
Jon
Jon@Jon889·
@Hyperoptic can you just tell me the prices for your packages? the postcode checker is saying it’s not in my area but I literally have it already, I just don’t own the account.
English
0
0
1
46
Jon
Jon@Jon889·
@TfL staff member for the mildmay at Stratford just announced “platform 1 is the next train doors closing in 10s.” so everyone in the train in platform 2 (the one that was there 1st) ran across only to find the doors locked already. You need to sort out showing which one is next
English
1
0
0
40
Jon
Jon@Jon889·
@Sentry there’s no Apple/iOS option for creating a project?
Jon tweet media
English
2
0
0
64
Jon
Jon@Jon889·
@AvantiWestCoast I’m in the 18:50 from Milton Keynes and both staff members I’ve encountered so far have been fantastic!
English
1
0
0
193
Jon
Jon@Jon889·
@polpielladev I’ve only ever had performance issues the other way round. When the parents state changes the init is re-run on a new instance and the passed in child views all recreated. Storing it as a closure prevents the child views from being recreated
English
0
0
2
309
Pol Piella
Pol Piella@polpielladev·
A common pattern for building flexible SwiftUI views is passing child views through an initializer as a closure. ⚠️ Be careful when doing so though, you should NOT store the closure itself in the view. Closures capture parent state (often self), so unrelated parent changes can cause the view to redraw unnecessarily. ✅ Instead, don’t mark the closure passed to the initializer as @escaping, call it in the view’s initializer, and store the resulting child view.
Pol Piella tweet media
English
5
4
134
8K
Jon
Jon@Jon889·
@TfL could you fix the jubilee platform departure boards in Stratford? also the departure board on the south side of the west subway is broken.
English
0
0
0
16
Jon
Jon@Jon889·
@LNRailway @WestMidRailway any chance you could get the heating turned off on the 16:46 from Euston to Crewe? It’s boiling.
English
1
0
0
93
Jon
Jon@Jon889·
@jacobtechtavern The could’ve given us a modifier to set a UIScrollViewDelegate on a ScrollView from day one and acknowledged it’s not very SwiftUI-y and then over the years refined a SwiftUI replacement… instead they only add functionality if enough people feedback specific use cases.
English
1
0
4
193
Jacob Bartlett
Jacob Bartlett@jacobtechtavern·
Delegates don’t actually suck. I almost cried last year when I touched UIScrollViewDelegate for the first time since 2019. I was building a cute interaction that animated a line of emojis along a circular path, with their motion along the circle linked to your scroll offset. I could trivially access scrollView.contentOffset.y from the scrollViewDidScroll(_:)delegate method. Do you know how hard this is with SwiftUI preference keys!? To be completely fair to SwiftUI, onScrollGeometryChange (iOS 18) can do this now. At the time, I was supporting iOS 17 and couldn’t touch it. But there are hundreds of UIKit delegate methods that remain unsupported, like scrollViewWillEndDragging(_:withVelocity:targetContentOffset:). Even if SwiftUI achieves parity with the full UIScrollViewDelegate, we are subjected to a combinatorial explosion of memorisation for new views, view modifiers, and their respective positions on the view hierarchy. Don’t even get me started on namespacing. You’re more or less allowed to apply every view modifier to every view in SwiftUI. It almost feels like… maybe delegates were actually quite a good pattern for implementing the iceberg of nuance underneath the world’s most complex UI system. Read “the year SwiftUI died” here 🪦 blog.jacobstechtavern.com/p/the-year-swi…
Jacob Bartlett tweet mediaJacob Bartlett tweet media
English
4
1
77
7.6K
Jared Palmer
Jared Palmer@jaredpalmer·
How can we make @GitHub Pull Request and code review experience better?
English
836
56
1.5K
513.6K
Jon
Jon@Jon889·
I think my AirPods Pro 3 are broken because the ANC is worse and so is the fit. who decided to angle the buds more??
English
2
0
2
196