@@ -22,8 +22,8 @@ let oldClauses = query.find()
2222Want details? ** [ Read the guides] ( https://swift.objectbox.io/ ) ** or
2323** [ check out the API docs] ( https://objectbox.io/docfiles/swift/current/ ) ** .
2424
25- Installation
26- ------------
25+ Adding ObjectBox to your project
26+ --------------------------------
2727[ CocoaPods] ( https://cocoapods.org ) is recommended to set up ObjectBox in your project.
2828See the [ installation docs] ( https://swift.objectbox.io/install ) for alternative setups,
2929or the [ New to CocoaPods?] ( #new-to-cocoapods ) section below for a quick intro.
@@ -41,20 +41,21 @@ pod install
4141Pods/ObjectBox/setup.rb myproject.xcodeproj # whatever your Xcode project is named
4242```
4343
44- Now you are all set to define your first ObjectBox entities;
44+ And, don't forget to close the Xcode project (.xcodeproj) and open the workspace (.xcworkspace) instead.
45+ Now, you are all set to define your first ObjectBox entities;
4546e.g. check the [ getting started guide] or the [ example] ( #example ) described below.
4647
4748### <a name =" new-to-cocoapods " ></a >New to CocoaPods?
4849
49- [ CocoaPods] ( https://cocoapods.org ) is a dependency manager and sets up libraries like ObjectBox in your xcode project.
50+ [ CocoaPods] ( https://cocoapods.org ) is a dependency manager and sets up libraries like ObjectBox in your Xcode project.
5051To install it, run this in a terminal:
5152
5253``` bash
5354sudo gem install cocoapods
5455```
5556
5657In CocoaPods, you keep track of used libraries in a file called "Podfile".
57- If you don't have this file yet, navigate to your xcode project folder and use CocoaPods to create one:
58+ If you don't have this file yet, navigate to your Xcode project folder and use CocoaPods to create one:
5859
5960``` bash
6061pod init
@@ -104,9 +105,7 @@ For general news on ObjectBox, [check our blog](https://objectbox.io/blog).
104105Background: code generation
105106---------------------------
106107ObjectBox Swift generates code at build time for optimal performance at runtime by avoiding reflection etc.
107-
108108This is automatically done for you and should be transparent.
109-
110109Internally, we use [ a fork of Sourcery] ( https://github.com/objectbox/objectbox-swift-generator ) for this.
111110
112111Source code
0 commit comments