Skip to content

Commit 4f3351e

Browse files
authored
Update README.md
1 parent 51ab9b4 commit 4f3351e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ A package containing all custom assets for CodeEdit. These are mostly custom [SF
1010
import CodeEditSymbols
1111

1212
let nsImage = NSImage.symbol(named: "name_of_the_symbol")
13+
14+
// or using the static property:
15+
16+
let nsImage1 = NSImage.name_of_the_symbol
1317
```
1418

1519
### `Image`:
@@ -18,6 +22,10 @@ let nsImage = NSImage.symbol(named: "name_of_the_symbol")
1822
import CodeEditSymbols
1923

2024
let image = Image(symbol: "name_of_the_symbol")
25+
26+
// or using the static property:
27+
28+
let image1 = Image.name_of_the_symbol
2129
```
2230

2331
## Creating a new Asset

0 commit comments

Comments
 (0)