diff --git a/Unrealm.podspec b/Unrealm.podspec
index a211fe7..d038d0e 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.3.2'
+ s.version = '1.3.5'
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.
@@ -34,6 +34,6 @@ Works perfect with Codables and Optionals!
s.source_files = 'Unrealm/Classes/**/*.{h,m,swift}'
- s.dependency 'RealmSwift', '4.4.1'
+ s.dependency 'RealmSwift', '5.0.3'
s.dependency 'RuntimeNew', '2.1.5'
end
diff --git a/Unrealm/Classes/Swift/Unrealm.swift b/Unrealm/Classes/Swift/Unrealm.swift
index 4599608..32ab9b1 100644
--- a/Unrealm/Classes/Swift/Unrealm.swift
+++ b/Unrealm/Classes/Swift/Unrealm.swift
@@ -237,7 +237,7 @@ public extension RealmableBase {
- parameter block: The block to call with information about changes to the object.
- returns: A token which must be held for as long as you want updates to be delivered.
*/
- func observe(_ block: @escaping (ObjectChange) -> Void) -> NotificationToken {
+ func observe(_ block: @escaping (ObjectChange