Skip to content

Instantly share code, notes, and snippets.

View WallabyStuff's full-sized avatar
🎯
Focusing

SeungGi LeE WallabyStuff

🎯
Focusing
View GitHub Profile
@WallabyStuff
WallabyStuff / SlowCPU-based.swift
Created July 16, 2023 05:45 — forked from almaleh/SlowCPU-based.swift
Slow CPU-based Drawing
class FreedrawingImageViewCG: UIImageView {
var currentTouchPosition: CGPoint?
override func layoutSubviews() {
super.layoutSubviews()
isUserInteractionEnabled = true
}
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {