Twitter | Search | |
Thomas Visser
3,232
Tweets
388
Following
784
Followers
Tweets
Thomas Visser retweeted
Sebastiaan de With Jun 20
Came to see create a tiny actual cheese grater with the new Mac Pro grill pattern, stayed for the incredibly cool look into how CNC'ing the grill pattern works. And now I want to buy this tiny grater.
Reply Retweet Like
Thomas Visser Jun 19
Replying to @inamiy @hydrakecat
I’ve worked with RxJava (which has back-pressure) in our Android app for years but never had the need for it
Reply Retweet Like
Thomas Visser Jun 14
Replying to @twannl
(I’m still on Mohave)
Reply Retweet Like
Thomas Visser Jun 13
Replying to @twannl
Playing with it! We make heavy use of RxSwift (& RxJava), so I’m super curious what first party support is going to look like
Reply Retweet Like
Thomas Visser Jun 13
Replying to @twannl
I had this error in a macOS playground, but it worked fine on iOS
Reply Retweet Like
Thomas Visser Jun 13
Replying to @manuelmaly
Yeah, will do something like that. Overriding isEquals was probably a mistake to begin with. Thanks
Reply Retweet Like
Thomas Visser Jun 13
Replying to @manuelmaly
Yeah, but the override returned true when comparing different instances (i.e. just comparing a few properties). So now you have two instances of a UIView subclass that return true while === is false.
Reply Retweet Like
Thomas Visser Jun 12
TIL UIStackView doesn’t like it if its arranged subviews override isEquals and return true when comparing different instances
Reply Retweet Like
Thomas Visser Jun 11
Replying to @_eliperkins
Looks similar indeed. How that ties in with SwiftUI’s preference system is still unclear to me though.
Reply Retweet Like
Thomas Visser Jun 11
Was SwiftUI at one point called Mooceros?
Reply Retweet Like
Thomas Visser Jun 11
Any ideas what View.anchorPreference is supposed to do?
Reply Retweet Like
Thomas Visser Jun 11
I got this to work in only a very limited case. It seems to me that the framework has better access to the output (TupleView) of the ViewBuilder.
Reply Retweet Like
Thomas Visser retweeted
Craig Mazin Jun 7
Reply Retweet Like
Thomas Visser Jun 7
Replying to @twannl
Cool stuff indeed!
Reply Retweet Like
Thomas Visser Jun 7
Replying to @manuelmaly @SwiftLDN
The concrete return type would be something like ZStack<TupleView<(Image,….>>, some hides that and saves some typing
Reply Retweet Like
Thomas Visser Jun 7
Defining a View in as a function instead of a struct. It’s a succinct way of defining views without state, inspired by React’s function components.
Reply Retweet Like
Thomas Visser Jun 6
Great to have this, thanks! Would it be possible to have searchable tables instead of the images?
Reply Retweet Like
Thomas Visser Jun 6
Replying to @thomvis
Built a very rudimentary circular stack in . Love the conciseness and free animations. Struggling to get rid of AnyView and make full use of function builders though.
Reply Retweet Like
Thomas Visser Jun 6
Replying to @thomvis
What seems to be a missing is a way to inspect/modify a View’s sub-tree and apply modifiers to nodes of that tree.
Reply Retweet Like
Thomas Visser Jun 6
Thought it would be nice to create a custom stack implementation. Immediately ran into all kinds of walls.
Reply Retweet Like