@caseyliss
Casey Liss
5 years
Not perfect. But not bad. And I did this on Mojave, without live preview.
Tweet media one
30
4
239

Replies

@caseyliss
Casey Liss
5 years
The more I think about it, the more I think I want to screw around with SwiftUI on the iPad. It’d be so delightful to be able to instantly touch my UI on the device that’s building it. I can’t believe I’m saying this, but bring me Xcode for iPad.
15
19
237
@BenRiceM
Ben McCarthy
5 years
@caseyliss I find your system clock deeply unsettling 😰
1
0
20
@caseyliss
Casey Liss
5 years
@BenRiceM It’s all @marcedwards ’ fault. And I dig it.
2
0
4
@_matusevich
J Matusevich, perpetually exhausted
5 years
@caseyliss That....works on Mojave? I thought I read on the beta release notes of Xcode that Swiftui required Catalina
2
0
0
@caseyliss
Casey Liss
5 years
@_matusevich The sweet live updating canvas stuff requires Catalina
1
0
2
@drwave
Michael B. Johnson
5 years
@caseyliss It’s always best to have very specific thing to do with new tools. I learned Swift by porting a new Obj-C++ app is written (14K LOC) to Swift. Totally the right way to learn it.
1
0
6
@caseyliss
Casey Liss
5 years
@drwave You get me. ✊🏻 (Also, so good to see you at TTS!)
0
0
0
@jordanpittman
Jordan Pittman
5 years
@caseyliss I think you can kinda live preview in playgrounds on Mojave by setting the live view to a UIHostingController
1
0
1
@thomasjeans
Tom
5 years
@caseyliss lgtm 👍 is there an SF Symbol for the arrow that might look cleaner and give you dynamic type support?
0
0
0
@gnb
Graham Ballantyne
5 years
@caseyliss @erinliss is looking a little rough
0
0
7
@caseyliss
Casey Liss
5 years
@kylesethgray Quite a lot more.
0
0
6
@Jeffrey903
Jeff Grossman
5 years
@caseyliss Next easy thing should be using SF Symbols.
1
0
1
@paulhimes
Paul Himes
5 years
@caseyliss I love how the code overview column proves that you’re not hiding a bunch more code in this file.
0
0
4
@caseyliss
Casey Liss
5 years
@dansturm Left is old right is new
1
0
0
@mmendoza27
Mike Mendoza
5 years
@caseyliss I’m curious how much less code you have compared to using XIBs or Storyblards.
1
0
1
@malhal
Malcolm Hall
5 years
@caseyliss You can use the refactor feature to extract the avatar code into a method so it isn’t duplicated
1
0
1
@alexito4
Alejandro Martinez
5 years
@caseyliss SwiftUI is becoming a major reason to update to Catalina 🙈
0
0
3
@russnettle
Russ
5 years
@caseyliss Hey, you can use a hosting controller to get it working in playgrounds: struct ContentView : View { var body: some View { Text("Hello World") } } let contentView = ContentView() PlaygroundPage.current.liveView = UIHostingController(rootView: contentView)
2
2
50