Skip to main content

Posts

Showing posts with the label SwiftUI

Human evaluations are difficult, because they are all opinions.

  Human evaluations are difficult, because they are all opinions. Human evaluations are very difficult. Because they are all someone’s opinions. I found it. Human vertical and horizontal evaluations are all stood on someone’s opinions. So that there is no perfect evaluation. If some consultants bring to you perfect human resource evaluation, the consultants are liars.

Animation Sample 3 with SwiftUI

 2022/2/27.  Animation Sample 3 with SwiftUI This is not animation, but picture. I made southpark animaniton like face with SwiftUI. I uploaded my code on Github. https://github.com/Kouhei-Takagi/AnimationSample3

The Timer with Swift

2020/2/16.  The Timer with Swift I was suffering about how to use timer with swift… import SwiftUI struct ContentView: View {          @State var count = 0          func timerStart() {         _ = Timer.scheduledTimer(withTimeInterval: 1, repeats: true , block:{             timer in self .count += 1         })     }          var body: some View {         VStack{             Button(action:{ self .timerStart()}) {             Text("Timer Start")         }         Text(String(count))     } } } struct ContentView_Previews: PreviewProvider {     static var previews: some View {         ContentView()  ...