-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experimental RTranslation, RTranslationList and RealmStore
- Loading branch information
cor
committed
Jan 29, 2016
1 parent
89ab173
commit d750a5f
Showing
5 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ use_frameworks! | |
|
||
|
||
pod 'Alamofire', '~> 3.0' | ||
pod 'RealmSwift' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
PODS: | ||
- Alamofire (3.1.5) | ||
- Realm (0.97.0): | ||
- Realm/Headers (= 0.97.0) | ||
- Realm/Headers (0.97.0) | ||
- RealmSwift (0.97.0): | ||
- Realm (= 0.97.0) | ||
|
||
DEPENDENCIES: | ||
- Alamofire (~> 3.0) | ||
- RealmSwift | ||
|
||
SPEC CHECKSUMS: | ||
Alamofire: 5f730ba29fd113b7ddd71c1e65d0c630acf5d7b0 | ||
Realm: b498a6fb9d288b171ff98d0e2d4384c295be8990 | ||
RealmSwift: d014810dec75c9a3f1a33926d2dabfed855c582c | ||
|
||
COCOAPODS: 0.39.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// RealmStore.swift | ||
// woording-ios | ||
// | ||
// Created by Cor Pruijs on 29-01-16. | ||
// Copyright © 2016 Woording. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import RealmSwift | ||
|
||
class RTranslation: Object { | ||
dynamic var word1Text = "" | ||
dynamic var word2Text = "" | ||
} | ||
|
||
class RTranslationList: Object { | ||
dynamic var name = "" | ||
dynamic var language1Code = "" | ||
dynamic var language2Code = "" | ||
let translations = List<RTranslation>() | ||
} |