Skip to content

Commit 2ca809c

Browse files
author
César Pinto Castillo
committed
Adds import part to usage section
1 parent 163ce9d commit 2ca809c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ Take a look at the [documentation](https://github.com/Carthage/Carthage#installi
3636

3737
## Usage
3838

39+
First of all you have to import CloudKitCurrentUser to your current file. To do that you add the following at the top of your swift file:
40+
41+
```
42+
import CloudKitCurrentUser
43+
```
44+
3945
To get the status of the current user you just call the `currentStatus` function, like this:
4046

4147
```

0 commit comments

Comments
 (0)