Skip to content

Commit 881d876

Browse files
authored
Update README.md
1 parent 9a9a0d6 commit 881d876

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,18 @@ Although currently outside the scope of this project, if you wanted you could pu
7979
This is all tenable for simple programs, but these are the reasons we don't *recommend* large/complex programs using DarwinKit.
8080

8181
## Examples
82-
[macos/_examples/largetype](https://github.com/progrium/macdriver/blob/main/macos/_examples/largetype/main.go#L1) - A Contacts/Quicksilver-style Large Type utility in under 80 lines:
82+
83+
### [largetype](https://github.com/progrium/macdriver/blob/main/macos/_examples/largetype/main.go)
84+
A Contacts/Quicksilver-style Large Type utility in under 80 lines:
85+
8386
![largetype screenshot](https://github.com/progrium/macdriver/blob/main/macos/_examples/largetype/largetype.jpeg?raw=true)
8487

85-
[macos/_examples/pomodoro](https://github.com/progrium/macdriver/blob/main/macos/_examples/pomodoro/main.go#L1) - A menu bar pomodoro timer in under 80 lines:
88+
### [pomodoro](https://github.com/progrium/macdriver/blob/main/macos/_examples/pomodoro/main.go)
89+
A menu bar pomodoro timer in under 80 lines:
90+
8691
![pomodoro gif](https://github.com/progrium/macdriver/blob/main/macos/_examples/pomodoro/pomodoro.gif?raw=true)
8792

88-
**[More examples](https://github.com/progrium/macdriver/blob/main/macos/_examples)**
93+
### [See all examples](https://github.com/progrium/macdriver/blob/main/macos/_examples)
8994

9095
## How it works
9196

@@ -106,7 +111,7 @@ objc.Call[objc.Void](app, objc.Sel("run"))
106111
So we wrap these calls in a [Go API](docs/bindings.md) that lets us write code like this:
107112

108113
```go
109-
app := appkit.NSApplication_SharedApplication()
114+
app := appkit.Application_SharedApplication()
110115
app.Run()
111116
```
112117

0 commit comments

Comments
 (0)