Finally Solving the Expression Problem #tryswiftconf
- akatsuki174
- 813
- 1
- 0
- 0
Join us at #tryswiftconf March 1-3, 2018 in #Tokyo, Japan! tryswift.co/events/2018/to… Start #iOSdev on a Cloud Mac @MacinCloud macincloud.com #Swift #gamedev
2018-03-02 10:00:52おんなじViewをプラットフォーム(iOS,Mac、Web)でそれぞれ作る->めんどい #tryswiftconf
2018-03-02 10:00:54Wouldn’t it be nice to have a representation of UIView hierarchy and manipulate it different ways? #tryswiftconf
2018-03-02 10:00:54ついに!Expression Problemが解決! #tryswiftconf
2018-03-02 10:01:48Try Swift Tokyo tryswiftconf #tryswiftconf @ Shinjuku instagram.com/p/BfzTnpRD7Zm/
2018-03-02 10:02:14サブクラス->ダメ Enum->まだだめ #tryswiftconf
2018-03-02 10:02:23EnumKitを作ろう #tryswiftconf
2018-03-02 10:02:43Subclassing UIKit and enums don’t work in solving ththe expression problem #tryswiftconf
2018-03-02 10:02:55Pretend that we have an enumkit and then render the views in the library using recursive traversal #tryswiftconf
2018-03-02 10:04:30I think the Elm Architecture sample at objc.io also uses views as enum. #tryswiftconf
2018-03-02 10:04:47By making a renderUIView function, we can recover most of the power of the UIKit #tryswiftconf
2018-03-02 10:04:53What’s cool about this is that we can also render to NSView #tryswiftconf
2018-03-02 10:05:13React NativeのjsxでやっているようなことをSwiftのenumでやっちゃう感じかー。 #tryswiftconf
2018-03-02 10:05:30EnumでどんなViewがあるのかを定義して使う時はUIView、NSViewで作る #tryswiftconf
2018-03-02 10:05:35Need something that can solve both problems - ability to add new items(e.g custom MapView) and ability to add new representations #tryswiftconf
2018-03-02 10:06:33非網羅的Enumでやる? #tryswiftconf
2018-03-02 10:06:45UITableView、UICollectionViewとかだとよくやる #tryswiftconf
2018-03-02 10:06:46