Skip to content

Commit 7e66369

Browse files
committed
Slight corrections to Readmes.
1 parent e1d251f commit 7e66369

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ If you've used the ObjectBox betas, there are a few changes we made for the 1.0
123123
improve the experience before we freeze the API for release. The adjustments you'll have to make are:
124124

125125
1. `isEmpty()`, `count()`, `all()`, `sum()`, `min()`, `max()` etc. are now functions to make it clearer they may perform a database lookup and aren't just properties to read.
126-
2. `putImmutable()` is now gone. Just call `put()` instead, it now returns the IDs like `putImmutable` used to.
126+
2. To put a struct and update its ID, use `put(inout)` or `putAndReturnIDs()`. `putImmutable()` is gone.
127127
3. The old `Id<>` type has been renamed to `EntityId<>`. There is now a new `Id` type that does not use generics.
128128
4. Changes to standalone relations need to be saved explicitly using a call to `applyToDb()`.
129129
5. Most calls have been revised to now throw errors, so you'll have to add the requisite `try` statements.

Source/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Repository Contents
1717
Setup
1818
-----
1919

20-
* Install Xcode 10.2+ (Swift 5.x) with command line tools prepared to build from the shell
20+
* Install Xcode 11.2+ (Swift 5.1+) with command line tools prepared to build from the shell
2121
* Run `git submodule update --init --recursive` to get external dependencies
2222
* Run `make build_swiftlint` to build the build SwiftLint from source into its `external/SwiftLint/.build` directory.
2323
* The Sourcery submodule contains a `_build.command` script that you can double-click to build a release-ready version of the code generator.

0 commit comments

Comments
 (0)