Skip to content

Commit edf0aee

Browse files
committed
Update Readme
- Improved documentation on usage with swift - Replace reference to CoreParse with NUIParse (fix #278)
1 parent b3691c4 commit edf0aee

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,26 +69,21 @@ Installation
6969
### CocoaPods
7070

7171
NUI is most easily installed using [CocoaPods](http://cocoapods.org/). Its pod name is "NUI". After installing it, add `[NUISettings init];` to `application:didFinishLaunchingWithOptions` in AppDelegate.m (like [this](https://github.com/tombenner/nui/blob/master/Demo/NUIDemo/AppDelegate.m)).
72+
When installed as a framework, NUI can be natively imported in Swift. Just add
73+
`import NUI` to the top of your file.
7274

7375
### Without CocoaPods
7476

7577
If you choose not to use CocoaPods, you can install NUI with these steps:
7678

7779
1. Copy the NUI directory into your application
7880
2. Add the CoreImage and QuartzCore frameworks to your application if you haven't already (like [this](http://stackoverflow.com/a/3377682))
79-
3. Add [CoreParse](https://github.com/beelsebob/CoreParse) as a subproject, set its iOSCoreParse target as a dependency of your target, and add libCoreParse.a to your linked libraries.
81+
3. Add [NUIParse](https://github.com/tombenner/NUIParse) as a subproject, set its iOSNUIParse target as a dependency of your target, and add libNUIParse.a to your linked libraries.
8082
4. Add `[NUISettings init];` to `application:didFinishLaunchingWithOptions` in AppDelegate.m (like [this](https://github.com/tombenner/nui/blob/master/Demo/NUIDemo/AppDelegate.m))
83+
5. To use NUI in Swift add `#import <NUI/NUISettings.h>` to your bridging header.
8184

8285
The Demo uses CocoaPods, so you'll want to [install CocoaPods](http://cocoapods.org/), run `pod install` in the `Demo` directory, and then open the .xcworkspace to open the project.
8386

84-
### Swift
85-
86-
If you're using Swift, in addition to the steps above, you'll also want to add the following `#import` in your bridging header:
87-
88-
```objective-c
89-
#import <NUI/NUISettings.h>
90-
```
91-
9287
Usage
9388
-----
9489

0 commit comments

Comments
 (0)