tarasis.net/_drafts/swiftui.md

894 B

layout author_profile read_time share related title tags category
single true true true true SwiftUI
swiftui
programming
ios
swift
Programming

Its been a long while since I sat and did programming, but between a life situation and the new technology from Apple for creating user interfaces (SwiftUI), I've been inspired to pickup again an idea I've been kicking around for 10 years.

SwiftUI simplifies designing interfaces Provides a fast means of iterating design Able to quickly see results Easy to mock in data

Buggy. Filled 3 bugs so far.

{% highlight swift %} override public func touchesBegan(_ touches: Set, with event: UIEvent?) { super.touchesBegan(touches, with: event) currentTouchPosition = touches.first?.location(in: self)

    NSObject.cancelPreviousPerformRequests(withTarget: self)
}

{% endhighlight %}