Skip to content

Instantly share code, notes, and snippets.

@blsage
Created October 20, 2020 17:53
Show Gist options
  • Save blsage/67bf8ccc7c4cdbce778af9f60343d519 to your computer and use it in GitHub Desktop.
Save blsage/67bf8ccc7c4cdbce778af9f60343d519 to your computer and use it in GitHub Desktop.
A dummy cursor view that looks and blinks like a real iOS πŸ“± cursor πŸ–±πŸ‘†.
import SwiftUI
import iDummyCursor
struct ContentView: View {
var body: some View {
iDummyCursor()
}
}
@blsage
Copy link
Author

blsage commented Oct 20, 2020

How to get a dummy cursor for iOS, usingΒ SwiftUI

iDummyCursor supports two custom modifiers. All customizations are built into our modifiers.

See more here πŸ‘‰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment