Fix Readme typo and line length

pull/34/head
Trevor Stone 2016-01-03 19:03:55 -08:00
parent b231437add
commit e04ef19dab
1 changed files with 4 additions and 2 deletions

View File

@ -580,7 +580,7 @@ func (b *BoltDB) Close() {
Database logic should be defined as methods on this wrapper struct.
To initialize this struct from the native language (both platforms now sync
their local storage to the cloud. These snippits disable that functionality for the
their local storage to the cloud. These snippets disable that functionality for the
database file):
####Android
```java
@ -596,7 +596,9 @@ Boltmobiledemo.BoltDB boltDB = Boltmobiledemo.NewBoltDB(path)
####iOS
```objc
- (void)demo {
NSString* path = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString* path = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory,
NSUserDomainMask,
YES) objectAtIndex:0];
GoBoltmobiledemoBoltDB * demo = GoBoltmobiledemoNewBoltDB(path);
[self addSkipBackupAttributeToItemAtPath:demo.path];
//Some DB Logic would go here