iDummyCursor

A dummy cursor view that looks and blinks like a real iOS 📱 cursor 🖱👆.

1.

Install iDummyCursor.

2.

Add iDummyCursor to your project.

import SwiftUI
import iDummyCursor

struct ContentView: View {
    var body: some View {
        iDummyCursor()
    }
}

3.

Customize your iDummyCursor.



Examples

Starter

Change the color & font-size of your cursor.

import SwiftUI
import iDummyCursor

struct ContentView: View {
    var body: some View {
        iDummyCursor()
            .foregroundColor(Color.purple)
            .fontSize(100)
    }
}

Customize

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

Example: Change the cursor color and the cursor size with the following code block:

iDummyCursor()
    .foregroundColor(Color.purple)
    .fontSize(100)


Use our exhaustive input list to customize your cursor.

Modifier Description
.foregroundColor(color: Color?) -> iDummyCursor
Modifies the color 🎨 of the dummy cursor.
.fontSize(size: CGFloat) -> iDummyCursor
Modifies the font size 🔡🔠 that the dummy cursor is expected to fit.

Community

Meet the developers behind iDummyCursor.


@benjaminsage


iOS 13.0+

WatchOS 6.0+