Blockchain for package manager? Hehe*
---
RT @[email protected]
@evangoer @mjackson So much this. I remember the blog post from someone complaining that GitHub URLs weren't immutable so people could "hijack" go packages...Like it was GitHub's fault that some people make terrible decisions.
twitter.com/kev_nz/status/1139

RT @[email protected]
To the fans who have been waiting... VIII Remastered is enrolling on , One, , and this year.

RT @[email protected]
Have your ever wanted to know how and why Twitter uses React Native Web, Redux, and Flow?

👇Watch this interview👇 twitter.com/jaredpalmer/status

This is basically view as a function: view(model)

Controller main responsibility is invalidating view for re-render. e.g. you fetch new data, you figure out what is change and tell collection view which index path have changed.

SwiftUI took that responsibility.
---
RT @[email protected]
Yeah, this does sound like a problem at first glance… 😐
twitter.com/kuba_suder/status/

RT @[email protected]
@[email protected] @[email protected] @[email protected] @[email protected] Yeah, we'll provide a big set of core event responders: <Focus>, <Press>, <Hover>, <Pan>, <Scroll>, <Drag>, <Swipe>, <FocusScope>, <Pointer>, <Keyboard>, <FormScope> etc and maybe one day, if that proves to work well, it can replace the old event system entirely (a big *if*).

RT @[email protected]
@[email protected] @[email protected] One place Swift really helps with performance compared to other Reactish frameworks is the type system. The static subset of the view graph is encoded in the type system, so the runtime knows it can't change and only has to diff the dynamic parts. 120hz update was a P0 goal

RT @[email protected]
@[email protected] One of the tech demos for SwiftUI was a reimplementation of Keynote, in fact. Worked great

RT @[email protected]
GitHub is now supporting Swift Packages in their registry!

RT @[email protected]
@[email protected] @[email protected] Views are value types in SwiftUI. The framework handles responding to state changes and updating views

RT @[email protected]
I’ll be in the tvOS labs on Wednesday and Friday. Come by with your TVMLKit questions. We built a lot of things this year to make using TVMLKit all the more better.

RT @[email protected]
@[email protected] @[email protected] @[email protected] @[email protected] @[email protected] Any attributes that can change the visibility or layout of the view graph are represented as individual view types, like Opacity<V>, Scale<V>, etc. This ensures the transform graph remains stable (so animation is robust) and saves us having to diff things that never change

RT @[email protected]
@[email protected] It's heavily inspired by the Elm Architecture and React. The biggest unusual (not sure if novel) thing is the use of the type system to optimize out the static subset of the view graph

RT @[email protected]
Woah! Apple just introduced a RxSwift-like framework called "Combine" for reactive programming! 🤯

developer.apple.com/documentat

RT @[email protected]
So SwiftUI is pretty much the Swift React Native that a bunch of open source projects were trying to be?

I'm wondering if its components are Codable? Being able to serialize layouts to/from JSON would be the icing on the cake.

RT @[email protected]
@[email protected] The React model isn’t just declarative. It’s something more specific - using the programming language itself to express the UI structure as a function of the varying inputs. HTML was “declarative UI”. React is not just that.

Show more
Kopiti.am

From Singapore 🇸🇬 for Singaporeans by Singaporeans. But all are welcome!

This aims to be a local instance of Mastodon that primarily works as a community for Singaporeans which also participates in the greater fediverse that is Mastodon.

We adhere to Toot.cafe’s list of blocked instances.