Make an app
Make a knitting row counter app for iPhone
A row counter has one job, and it should do it without making you look down. Describe how you knit and Borel builds a native iPhone app in SwiftUI with a button that fills the screen, a click you feel on every row, a second counter for the pattern repeat, notes that pop up at the rows you mark, and a page per project for yarn, needles and photos.
Updated
“A knitting row counter: each project has a name, yarn, needle size, a photo and one main counter. Tapping anywhere on the big button adds a row with a haptic click; a small button takes one off. A second counter tracks the pattern repeat and restarts every N rows. I can attach a note to a row number, like 'increase here', and it shows when I reach that row. Keep the screen awake while a project is open.”
Screens
What a knitting row counter app needs
The screens Borel builds from the prompt above. Ask for more, fewer or different ones.
Counter
A huge row number, the repeat count below it, and the whole screen as the button.
Projects
Works in progress with their photo, current row and the date you last knitted.
Row notes
Instructions pinned to row numbers, shown as a banner when you get there.
Project details
Yarn, colourway, needle size, gauge and photos of the pattern chart.
Data
What it keeps
Borel writes these as Swift models. On the phone they work with no connection; in Borel's cloud they follow a signed-in person.
| What | Holds | Kept |
|---|---|---|
| Project | Name, yarn, needles, gauge, status | On the phone, with SwiftData |
| Counter | Current value, repeat length, where the repeat stands | On the phone, with the project |
| Row note | Row number and the instruction | On the phone, with the project |
Native iPhone features
What it can use on your iPhone
Written in Swift with Apple's own frameworks, so they work the way iPhone owners expect.
- HapticsOne crisp click per row and a double click when a repeat completes.How Borel builds it
- Camera and scanningScan the paper pattern's chart so it sits beside the counter.How Borel builds it
- Photo libraryA picture of the finished piece from your library, kept with its yarn and needle notes.How Borel builds it
Make it yours
What to ask for next
Once the first version runs, ask for changes in the chat, in words like these.
- “Add a third counter for stitches in the current row.”
- “Ask before resetting a counter, so a stray tap can't wipe forty rows.”
- “Keep a yarn stash list with colour, weight and metres left.”
- “Show how many rows I knitted each day this week.”
How to make it
From a prompt to your iPhone
- 1
Describe it
Paste the prompt on this page into Borel, or write your own in plain words. Borel plans the screens with you before it builds.
- 2
Try it in your browser
Borel writes the app in Swift and SwiftUI, builds it with Xcode on its own Mac and opens it in a live iPhone simulator in your browser, free.
- 3
Put it on your iPhone
With Pro, Borel Companion for Windows or Mac installs it on your own iPhone with your Apple ID: a cable the first time, then Wi-Fi.
Knit a few real rows with your iPhone on the arm of the sofa. The click is only felt on an actual phone, never in the browser. Tap with a knuckle or the side of your hand, as you would mid-row, and see whether the count is readable from where the phone lies. Then check the screen stays on.
Optional next step
Publish it, if you want to
Pro publishes to the App Store from the same project. Apple's Developer Program, $99 a year, is the one thing you pay Apple.
Something this personal is usually made for one pair of hands, and Borel Companion keeps it on your iPhone as part of Pro. If your knitting group wants it too, it has to go through the App Store, where Apple reviews it like any other app.
Building starts free, with 5 free credits a day, up to 30 a month, and the simulator in your browser costs nothing. Installs on your own iPhone through Borel Companion come with a paid plan, Pro, from $25 a month, and Pro, from $25 a month, adds publishing to the App Store.
Before you start
Good to know
- It doesn't open PDF patterns or follow a chart for you; scan or photograph the pattern and keep it beside the count.
- There's no Apple Watch counter; the count lives on the phone, in the app or in a Home Screen widget you ask for.
- It can't count rows by watching your knitting; every row is a tap.
Frequently asked questions
Yes. Describe the counters you need and how you'd like to tap them, and Borel builds them in Swift with haptics on every count.
Yes. A second counter runs alongside the first and starts over every set number of rows, with a different click when it wraps.
Yes. Rows, rounds or stitches: name the counters to suit, and nothing else changes.
No. Every tap is saved to the phone at once, so the count is there when you come back, even days later.
Make your knitting row counter app
Start from the prompt on this page, change it to fit your idea, and Borel builds it while you watch.