From da11428ce9c1e2f4d80183ebc9652cd1feb2c58c Mon Sep 17 00:00:00 2001 From: Markus Emrich Date: Sun, 5 Nov 2023 23:04:15 +0100 Subject: [PATCH] add import examples to README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e1397d..df8914c 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,11 @@ Full-Width styles in action (the pill styles support the same features / animati ## Installation -- [**SwiftPM:**](https://github.com/apple/swift-package-manager) +- [**SPM (Swift Package Manager):**](https://github.com/apple/swift-package-manager) - Xcode -> File -> Add packages: `git@github.com:calimarkus/JDStatusBarNotification.git` + - Importing: + - In Swift: `import JDStatusBarNotification` + - In ObjC: `#import "JDStatusBarNotification.h"` (or `@import JDStatusBarNotificationObjC;`) - [**CocoaPods:**](https://guides.cocoapods.org) - `pod 'JDStatusBarNotification'` - [**Carthage:**](https://github.com/Carthage/Carthage)