From 824ca5da9fc9755f468e59c6e4013686a0371fec Mon Sep 17 00:00:00 2001 From: Artur Mkrtchyan Date: Sat, 28 Mar 2020 01:17:55 +0400 Subject: [PATCH] RealmSwift 4.4.0! --- README.md | 15 +++++++++------ Unrealm.podspec | 12 +++++------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 71ec5a8..e0ee1f3 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

-Swift 5.0 +Swift 5.1 Build Status @@ -21,8 +21,8 @@ Platform - -Platform + +Platform

@@ -48,10 +48,12 @@ Unrealm supports the following types: - [x] Swift Enums - [x] Swift Arrays - [x] Swift Dictionaries -- [x] Swift Optionals (String, Data, Date) - [x] Nested Classes/Structs +- [x] Swift Optionals (String, Data, Date) - [x] Swift Optionals of primitives (Int, Float, Double, Bool) -- [ ] Swift Arrays of enums [Issue #13](https://github.com/arturdev/Unrealm/issues/13#issuecomment-541522533) +- [x] Swift Optionals of Realmables +- [x] Swift Optionals of Arrays +- [x] Swift Arrays of enums ## Example Project @@ -61,7 +63,7 @@ See also `. Use just `Int?` +- Works perfect with Swift's Codable and optional types! #### Cons 🍟 - Losing "Live Objects" feature. Which means when you modify an object got from Realm the other ones will not be updated automatically. So after modifying an object you should manually update it in realm. diff --git a/Unrealm.podspec b/Unrealm.podspec index 1437061..d22aebe 100755 --- a/Unrealm.podspec +++ b/Unrealm.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = 'Unrealm' s.swift_version = '5.1' - s.version = '1.0.6' + s.version = '1.2.0' s.summary = 'Unrealm is an extension on RealmCocoa, which enables Swift native types to be saved in Realm.' s.description = <<-DESC Unrealm enables you to easily store Swift native Classes, Structs and Enums into Realm. @@ -19,23 +19,21 @@ Getting rid of redundant inheriting from Object class Getting rid of Realm crashes like "Object has been deleted or invalidated" Getting rid of Realm crashes like "Realm accessed from incorrect thread" Getting rid of boilerplate code such @objc dynamic var. Use just var or let +Works perfect with Codables and Optionals! DESC s.homepage = 'https://github.com/arturdev/Unrealm' - # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.screenshots = 'https://raw.githubusercontent.com/arturdev/Unrealm/assets/preview.png' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'arturdev' => 'mkrtarturdev@gmail.com' } s.source = { :git => 'https://github.com/arturdev/Unrealm.git', :tag => s.version.to_s } - # s.social_media_url = 'https://twitter.com/' + s.social_media_url = 'https://www.linkedin.com/in/arturdev/' s.ios.deployment_target = '9.0' s.osx.deployment_target = '10.12' s.source_files = 'Unrealm/Classes/**/*.{h,m,swift}' - - # s.public_header_files = 'Pod/Classes/**/*.h' - - s.dependency 'RealmSwift', '4.3.2' + s.dependency 'RealmSwift', '4.4.0' s.dependency 'RuntimeNew', '2.1.5' end