瀏覽代碼

Realm swift

Marino Faggiana 8 年之前
父節點
當前提交
ac87f9552a
共有 50 個文件被更改,包括 199783 次插入196 次删除
  1. 12497 0
      Libraries external/Realm/Realm.framework/28DC3C4D-9ED3-3B6D-BA11-0DADE89D5E44.bcsymbolmap
  2. 12489 0
      Libraries external/Realm/Realm.framework/39584005-C47E-316A-80FC-328682F8C4BF.bcsymbolmap
  3. 544 0
      Libraries external/Realm/Realm.framework/9EA41024-E172-39B4-B0B8-6A4C3DF5CF37.bcsymbolmap
  4. 11440 0
      Libraries external/Realm/Realm.framework/A3A08E7F-D7E4-3A60-BF5C-30D6BA763CDC.bcsymbolmap
  5. 563 0
      Libraries external/Realm/Realm.framework/ABA8E654-1821-3570-86D7-FC63F21DABA7.bcsymbolmap
  6. 568 0
      Libraries external/Realm/Realm.framework/AD7B7691-B0A5-312F-A1FF-FE8A01860297.bcsymbolmap
  7. 12488 0
      Libraries external/Realm/Realm.framework/C6443776-AC38-3F17-BD1B-F68382E06830.bcsymbolmap
  8. 12488 0
      Libraries external/Realm/Realm.framework/D6309AE2-90A1-3CE2-BFD1-372B3CA56E9D.bcsymbolmap
  9. 11441 0
      Libraries external/Realm/Realm.framework/D6F6FC9F-9069-3070-B2D0-62CF2AC58F9E.bcsymbolmap
  10. 568 0
      Libraries external/Realm/Realm.framework/F1BD0100-4BAF-36D7-8C01-4C783A0015D5.bcsymbolmap
  11. 11459 0
      Libraries external/Realm/Realm.framework/F720D66D-0BD8-363C-B016-3966EBEE210E.bcsymbolmap
  12. 11440 0
      Libraries external/Realm/Realm.framework/FA1BDC9B-FD09-3C94-90A6-84A41345E31E.bcsymbolmap
  13. 539 0
      Libraries external/Realm/Realm.framework/FB53A2D3-6CCC-3A3F-AC69-2F0F437B6A08.bcsymbolmap
  14. 563 0
      Libraries external/Realm/Realm.framework/FEA2B31A-1910-3950-B60E-FEDD7916150F.bcsymbolmap
  15. 二進制
      Libraries external/Realm/Realm.framework/Realm
  16. 12497 0
      Libraries external/Realm/RealmSwift.framework/28DC3C4D-9ED3-3B6D-BA11-0DADE89D5E44.bcsymbolmap
  17. 12489 0
      Libraries external/Realm/RealmSwift.framework/39584005-C47E-316A-80FC-328682F8C4BF.bcsymbolmap
  18. 544 0
      Libraries external/Realm/RealmSwift.framework/9EA41024-E172-39B4-B0B8-6A4C3DF5CF37.bcsymbolmap
  19. 11440 0
      Libraries external/Realm/RealmSwift.framework/A3A08E7F-D7E4-3A60-BF5C-30D6BA763CDC.bcsymbolmap
  20. 563 0
      Libraries external/Realm/RealmSwift.framework/ABA8E654-1821-3570-86D7-FC63F21DABA7.bcsymbolmap
  21. 568 0
      Libraries external/Realm/RealmSwift.framework/AD7B7691-B0A5-312F-A1FF-FE8A01860297.bcsymbolmap
  22. 521 0
      Libraries external/Realm/RealmSwift.framework/B207ED87-61F8-3187-AAE9-82BC9BFD1083.bcsymbolmap
  23. 12488 0
      Libraries external/Realm/RealmSwift.framework/C6443776-AC38-3F17-BD1B-F68382E06830.bcsymbolmap
  24. 12488 0
      Libraries external/Realm/RealmSwift.framework/D6309AE2-90A1-3CE2-BFD1-372B3CA56E9D.bcsymbolmap
  25. 11441 0
      Libraries external/Realm/RealmSwift.framework/D6F6FC9F-9069-3070-B2D0-62CF2AC58F9E.bcsymbolmap
  26. 504 0
      Libraries external/Realm/RealmSwift.framework/E93F3DF4-0916-3345-8E94-CFE302694080.bcsymbolmap
  27. 568 0
      Libraries external/Realm/RealmSwift.framework/F1BD0100-4BAF-36D7-8C01-4C783A0015D5.bcsymbolmap
  28. 11459 0
      Libraries external/Realm/RealmSwift.framework/F720D66D-0BD8-363C-B016-3966EBEE210E.bcsymbolmap
  29. 11440 0
      Libraries external/Realm/RealmSwift.framework/FA1BDC9B-FD09-3C94-90A6-84A41345E31E.bcsymbolmap
  30. 539 0
      Libraries external/Realm/RealmSwift.framework/FB53A2D3-6CCC-3A3F-AC69-2F0F437B6A08.bcsymbolmap
  31. 563 0
      Libraries external/Realm/RealmSwift.framework/FEA2B31A-1910-3950-B60E-FEDD7916150F.bcsymbolmap
  32. 548 0
      Libraries external/Realm/RealmSwift.framework/Headers/RealmSwift-Swift.h
  33. 二進制
      Libraries external/Realm/RealmSwift.framework/Info.plist
  34. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftdoc
  35. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftmodule
  36. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftdoc
  37. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftmodule
  38. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftdoc
  39. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftmodule
  40. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc
  41. 二進制
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule
  42. 3 0
      Libraries external/Realm/RealmSwift.framework/Modules/module.modulemap
  43. 二進制
      Libraries external/Realm/RealmSwift.framework/RealmSwift
  44. 32 38
      Nextcloud.xcodeproj/project.pbxproj
  45. 0 1
      iOSClient/AppDelegate.m
  46. 0 29
      iOSClient/FileSystem/NCDatabase.h
  47. 0 39
      iOSClient/FileSystem/NCDatabase.m
  48. 0 20
      iOSClient/FileSystem/NCManageDatabase.h
  49. 0 67
      iOSClient/FileSystem/NCManageDatabase.m
  50. 1 2
      iOSClient/Main/CCMain.m

文件差異過大導致無法顯示
+ 12497 - 0
Libraries external/Realm/Realm.framework/28DC3C4D-9ED3-3B6D-BA11-0DADE89D5E44.bcsymbolmap


文件差異過大導致無法顯示
+ 12489 - 0
Libraries external/Realm/Realm.framework/39584005-C47E-316A-80FC-328682F8C4BF.bcsymbolmap


文件差異過大導致無法顯示
+ 544 - 0
Libraries external/Realm/Realm.framework/9EA41024-E172-39B4-B0B8-6A4C3DF5CF37.bcsymbolmap


文件差異過大導致無法顯示
+ 11440 - 0
Libraries external/Realm/Realm.framework/A3A08E7F-D7E4-3A60-BF5C-30D6BA763CDC.bcsymbolmap


文件差異過大導致無法顯示
+ 563 - 0
Libraries external/Realm/Realm.framework/ABA8E654-1821-3570-86D7-FC63F21DABA7.bcsymbolmap


文件差異過大導致無法顯示
+ 568 - 0
Libraries external/Realm/Realm.framework/AD7B7691-B0A5-312F-A1FF-FE8A01860297.bcsymbolmap


文件差異過大導致無法顯示
+ 12488 - 0
Libraries external/Realm/Realm.framework/C6443776-AC38-3F17-BD1B-F68382E06830.bcsymbolmap


文件差異過大導致無法顯示
+ 12488 - 0
Libraries external/Realm/Realm.framework/D6309AE2-90A1-3CE2-BFD1-372B3CA56E9D.bcsymbolmap


文件差異過大導致無法顯示
+ 11441 - 0
Libraries external/Realm/Realm.framework/D6F6FC9F-9069-3070-B2D0-62CF2AC58F9E.bcsymbolmap


文件差異過大導致無法顯示
+ 568 - 0
Libraries external/Realm/Realm.framework/F1BD0100-4BAF-36D7-8C01-4C783A0015D5.bcsymbolmap


文件差異過大導致無法顯示
+ 11459 - 0
Libraries external/Realm/Realm.framework/F720D66D-0BD8-363C-B016-3966EBEE210E.bcsymbolmap


文件差異過大導致無法顯示
+ 11440 - 0
Libraries external/Realm/Realm.framework/FA1BDC9B-FD09-3C94-90A6-84A41345E31E.bcsymbolmap


文件差異過大導致無法顯示
+ 539 - 0
Libraries external/Realm/Realm.framework/FB53A2D3-6CCC-3A3F-AC69-2F0F437B6A08.bcsymbolmap


文件差異過大導致無法顯示
+ 563 - 0
Libraries external/Realm/Realm.framework/FEA2B31A-1910-3950-B60E-FEDD7916150F.bcsymbolmap


二進制
Libraries external/Realm/Realm.framework/Realm


文件差異過大導致無法顯示
+ 12497 - 0
Libraries external/Realm/RealmSwift.framework/28DC3C4D-9ED3-3B6D-BA11-0DADE89D5E44.bcsymbolmap


文件差異過大導致無法顯示
+ 12489 - 0
Libraries external/Realm/RealmSwift.framework/39584005-C47E-316A-80FC-328682F8C4BF.bcsymbolmap


文件差異過大導致無法顯示
+ 544 - 0
Libraries external/Realm/RealmSwift.framework/9EA41024-E172-39B4-B0B8-6A4C3DF5CF37.bcsymbolmap


文件差異過大導致無法顯示
+ 11440 - 0
Libraries external/Realm/RealmSwift.framework/A3A08E7F-D7E4-3A60-BF5C-30D6BA763CDC.bcsymbolmap


文件差異過大導致無法顯示
+ 563 - 0
Libraries external/Realm/RealmSwift.framework/ABA8E654-1821-3570-86D7-FC63F21DABA7.bcsymbolmap


文件差異過大導致無法顯示
+ 568 - 0
Libraries external/Realm/RealmSwift.framework/AD7B7691-B0A5-312F-A1FF-FE8A01860297.bcsymbolmap


文件差異過大導致無法顯示
+ 521 - 0
Libraries external/Realm/RealmSwift.framework/B207ED87-61F8-3187-AAE9-82BC9BFD1083.bcsymbolmap


文件差異過大導致無法顯示
+ 12488 - 0
Libraries external/Realm/RealmSwift.framework/C6443776-AC38-3F17-BD1B-F68382E06830.bcsymbolmap


文件差異過大導致無法顯示
+ 12488 - 0
Libraries external/Realm/RealmSwift.framework/D6309AE2-90A1-3CE2-BFD1-372B3CA56E9D.bcsymbolmap


文件差異過大導致無法顯示
+ 11441 - 0
Libraries external/Realm/RealmSwift.framework/D6F6FC9F-9069-3070-B2D0-62CF2AC58F9E.bcsymbolmap


文件差異過大導致無法顯示
+ 504 - 0
Libraries external/Realm/RealmSwift.framework/E93F3DF4-0916-3345-8E94-CFE302694080.bcsymbolmap


文件差異過大導致無法顯示
+ 568 - 0
Libraries external/Realm/RealmSwift.framework/F1BD0100-4BAF-36D7-8C01-4C783A0015D5.bcsymbolmap


文件差異過大導致無法顯示
+ 11459 - 0
Libraries external/Realm/RealmSwift.framework/F720D66D-0BD8-363C-B016-3966EBEE210E.bcsymbolmap


文件差異過大導致無法顯示
+ 11440 - 0
Libraries external/Realm/RealmSwift.framework/FA1BDC9B-FD09-3C94-90A6-84A41345E31E.bcsymbolmap


文件差異過大導致無法顯示
+ 539 - 0
Libraries external/Realm/RealmSwift.framework/FB53A2D3-6CCC-3A3F-AC69-2F0F437B6A08.bcsymbolmap


文件差異過大導致無法顯示
+ 563 - 0
Libraries external/Realm/RealmSwift.framework/FEA2B31A-1910-3950-B60E-FEDD7916150F.bcsymbolmap


+ 548 - 0
Libraries external/Realm/RealmSwift.framework/Headers/RealmSwift-Swift.h

@@ -0,0 +1,548 @@
+// Generated by Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
+#pragma clang diagnostic push
+
+#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
+# include <swift/objc-prologue.h>
+#endif
+
+#pragma clang diagnostic ignored "-Wauto-import"
+#include <objc/NSObject.h>
+#include <stdint.h>
+#include <stddef.h>
+#include <stdbool.h>
+
+#if !defined(SWIFT_TYPEDEFS)
+# define SWIFT_TYPEDEFS 1
+# if defined(__has_include) && __has_include(<uchar.h>)
+#  include <uchar.h>
+# elif !defined(__cplusplus) || __cplusplus < 201103L
+typedef uint_least16_t char16_t;
+typedef uint_least32_t char32_t;
+# endif
+typedef float swift_float2  __attribute__((__ext_vector_type__(2)));
+typedef float swift_float3  __attribute__((__ext_vector_type__(3)));
+typedef float swift_float4  __attribute__((__ext_vector_type__(4)));
+typedef double swift_double2  __attribute__((__ext_vector_type__(2)));
+typedef double swift_double3  __attribute__((__ext_vector_type__(3)));
+typedef double swift_double4  __attribute__((__ext_vector_type__(4)));
+typedef int swift_int2  __attribute__((__ext_vector_type__(2)));
+typedef int swift_int3  __attribute__((__ext_vector_type__(3)));
+typedef int swift_int4  __attribute__((__ext_vector_type__(4)));
+typedef unsigned int swift_uint2  __attribute__((__ext_vector_type__(2)));
+typedef unsigned int swift_uint3  __attribute__((__ext_vector_type__(3)));
+typedef unsigned int swift_uint4  __attribute__((__ext_vector_type__(4)));
+#endif
+
+#if !defined(SWIFT_PASTE)
+# define SWIFT_PASTE_HELPER(x, y) x##y
+# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
+#endif
+#if !defined(SWIFT_METATYPE)
+# define SWIFT_METATYPE(X) Class
+#endif
+#if !defined(SWIFT_CLASS_PROPERTY)
+# if __has_feature(objc_class_property)
+#  define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
+# else
+#  define SWIFT_CLASS_PROPERTY(...)
+# endif
+#endif
+
+#if defined(__has_attribute) && __has_attribute(objc_runtime_name)
+# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
+#else
+# define SWIFT_RUNTIME_NAME(X)
+#endif
+#if defined(__has_attribute) && __has_attribute(swift_name)
+# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
+#else
+# define SWIFT_COMPILE_NAME(X)
+#endif
+#if defined(__has_attribute) && __has_attribute(objc_method_family)
+# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
+#else
+# define SWIFT_METHOD_FAMILY(X)
+#endif
+#if defined(__has_attribute) && __has_attribute(noescape)
+# define SWIFT_NOESCAPE __attribute__((noescape))
+#else
+# define SWIFT_NOESCAPE
+#endif
+#if defined(__has_attribute) && __has_attribute(warn_unused_result)
+# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+# define SWIFT_WARN_UNUSED_RESULT
+#endif
+#if !defined(SWIFT_CLASS_EXTRA)
+# define SWIFT_CLASS_EXTRA
+#endif
+#if !defined(SWIFT_PROTOCOL_EXTRA)
+# define SWIFT_PROTOCOL_EXTRA
+#endif
+#if !defined(SWIFT_ENUM_EXTRA)
+# define SWIFT_ENUM_EXTRA
+#endif
+#if !defined(SWIFT_CLASS)
+# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted)
+#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
+#  define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# else
+#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+#  define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# endif
+#endif
+
+#if !defined(SWIFT_PROTOCOL)
+# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+#endif
+
+#if !defined(SWIFT_EXTENSION)
+# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
+#endif
+
+#if !defined(OBJC_DESIGNATED_INITIALIZER)
+# if defined(__has_attribute) && __has_attribute(objc_designated_initializer)
+#  define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
+# else
+#  define OBJC_DESIGNATED_INITIALIZER
+# endif
+#endif
+#if !defined(SWIFT_ENUM)
+# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type
+# if defined(__has_feature) && __has_feature(generalized_swift_name)
+#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_EXTRA _name : _type
+# else
+#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name)
+# endif
+#endif
+#if !defined(SWIFT_UNAVAILABLE)
+# define SWIFT_UNAVAILABLE __attribute__((unavailable))
+#endif
+#if !defined(SWIFT_UNAVAILABLE_MSG)
+# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
+#endif
+#if !defined(SWIFT_AVAILABILITY)
+# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
+#endif
+#if !defined(SWIFT_DEPRECATED)
+# define SWIFT_DEPRECATED __attribute__((deprecated))
+#endif
+#if !defined(SWIFT_DEPRECATED_MSG)
+# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
+#endif
+#if defined(__has_feature) && __has_feature(modules)
+@import Realm;
+@import ObjectiveC;
+@import Foundation;
+@import Realm.Private;
+#endif
+
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+@class RLMRealm;
+@class RLMObjectSchema;
+@class RLMSchema;
+
+/// <code>Object</code> is a class used to define Realm model objects.
+/// In Realm you define your model classes by subclassing <code>Object</code> and adding properties to be managed.
+/// You then instantiate and use your custom subclasses instead of using the <code>Object</code> class directly.
+/// \code
+/// class Dog: Object {
+///     dynamic var name: String = ""
+///     dynamic var adopted: Bool = false
+///     let siblings = List<Dog>()
+/// }
+///
+/// \endcode<h3>Supported property types</h3>
+/// <ul>
+///   <li>
+///     <code>String</code>, <code>NSString</code>
+///   </li>
+///   <li>
+///     <code>Int</code>
+///   </li>
+///   <li>
+///     <code>Int8</code>, <code>Int16</code>, <code>Int32</code>, <code>Int64</code>
+///   </li>
+///   <li>
+///     <code>Float</code>
+///   </li>
+///   <li>
+///     <code>Double</code>
+///   </li>
+///   <li>
+///     <code>Bool</code>
+///   </li>
+///   <li>
+///     <code>Date</code>, <code>NSDate</code>
+///   </li>
+///   <li>
+///     <code>Data</code>, <code>NSData</code>
+///   </li>
+///   <li>
+///     <code>RealmOptional<T></code> for optional numeric properties
+///   </li>
+///   <li>
+///     <code>Object</code> subclasses, to model many-to-one relationships
+///   </li>
+///   <li>
+///     <code>List<T></code>, to model many-to-many relationships
+///   </li>
+/// </ul>
+/// <code>String</code>, <code>NSString</code>, <code>Date</code>, <code>NSDate</code>, <code>Data</code>, <code>NSData</code> and <code>Object</code> subclass properties can be declared as optional.
+/// <code>Int</code>, <code>Int8</code>, <code>Int16</code>, <code>Int32</code>, <code>Int64</code>, <code>Float</code>, <code>Double</code>, <code>Bool</code>, and <code>List</code> properties cannot. To store an optional
+/// number, use <code>RealmOptional<Int></code>, <code>RealmOptional<Float></code>, <code>RealmOptional<Double></code>, or <code>RealmOptional<Bool></code> instead,
+/// which wraps an optional numeric value.
+/// All property types except for <code>List</code> and <code>RealmOptional</code> <em>must</em> be declared as <code>dynamic var</code>. <code>List</code> and
+/// <code>RealmOptional</code> properties must be declared as non-dynamic <code>let</code> properties. Swift <code>lazy</code> properties are not allowed.
+/// Note that none of the restrictions listed above apply to properties that are configured to be ignored by Realm.
+/// <h3>Querying</h3>
+/// You can retrieve all objects of a given type from a Realm by calling the <code>objects(_:)</code> instance method.
+/// <h3>Relationships</h3>
+/// See our <a href="http://realm.io/docs/cocoa">Cocoa guide</a> for more details.
+SWIFT_CLASS_NAMED("Object")
+@interface RealmSwiftObject : RLMObjectBase
+/// Creates an unmanaged instance of a Realm object.
+/// Call <code>add(_:)</code> on a <code>Realm</code> instance to add an unmanaged object into that Realm.
+/// <ul>
+///   <li>
+///     see: <code>Realm().add(_:)</code>
+///   </li>
+/// </ul>
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+/// Creates an unmanaged instance of a Realm object.
+/// The <code>value</code> argument is used to populate the object. It can be a key-value coding compliant object, an array or
+/// dictionary returned from the methods in <code>NSJSONSerialization</code>, or an <code>Array</code> containing one element for each
+/// managed property. An exception will be thrown if any required properties are not present and those properties were
+/// not defined with default values.
+/// When passing in an <code>Array</code> as the <code>value</code> argument, all properties must be present, valid and in the same order as
+/// the properties defined in the model.
+/// Call <code>add(_:)</code> on a <code>Realm</code> instance to add an unmanaged object into that Realm.
+/// \param value The value used to populate the object.
+///
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
+/// Indicates if the object can no longer be accessed because it is now invalid.
+/// An object can no longer be accessed if the object has been deleted from the Realm that manages it, or if
+/// <code>invalidate()</code> is called on that Realm.
+@property (nonatomic, readonly, getter=isInvalidated) BOOL invalidated;
+/// A human-readable description of the object.
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
+/// Helper to return the class name for an Object subclass.
+@property (nonatomic, readonly, copy) NSString * _Nonnull className;
+/// WARNING: This is an internal helper method not intended for public use.
+/// :nodoc:
++ (Class _Nonnull)objectUtilClass:(BOOL)isSwift SWIFT_WARN_UNUSED_RESULT;
+/// Override this method to specify the name of a property to be used as the primary key.
+/// Only properties of types <code>String</code> and <code>Int</code> can be designated as the primary key. Primary key properties enforce
+/// uniqueness for each value whenever the property is set, which incurs minor overhead. Indexes are created
+/// automatically for primary key properties.
+///
+/// returns:
+/// The name of the property designated as the primary key, or <code>nil</code> if the model has no primary key.
++ (NSString * _Nullable)primaryKey SWIFT_WARN_UNUSED_RESULT;
+/// Override this method to specify the names of properties to ignore. These properties will not be managed by
+/// the Realm that manages the object.
+///
+/// returns:
+/// An array of property names to ignore.
++ (NSArray<NSString *> * _Nonnull)ignoredProperties SWIFT_WARN_UNUSED_RESULT;
+/// Returns an array of property names for properties which should be indexed.
+/// Only string, integer, boolean, <code>Date</code>, and <code>NSDate</code> properties are supported.
+///
+/// returns:
+/// An array of property names.
++ (NSArray<NSString *> * _Nonnull)indexedProperties SWIFT_WARN_UNUSED_RESULT;
+- (id _Nullable)objectForKeyedSubscript:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
+- (void)setObject:(id _Nullable)value forKeyedSubscript:(NSString * _Nonnull)key;
+/// Returns whether two Realm objects are equal.
+/// Objects are considered equal if and only if they are both managed by the same Realm and point to the same
+/// underlying object in the database.
+/// \param object The object to compare the receiver to.
+///
+- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
+/// WARNING: This is an internal initializer not intended for public use.
+/// :nodoc:
+- (nonnull instancetype)initWithRealm:(RLMRealm * _Nonnull)realm schema:(RLMObjectSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+/// WARNING: This is an internal initializer not intended for public use.
+/// :nodoc:
+- (nonnull instancetype)initWithValue:(id _Nonnull)value schema:(RLMSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+/// Object interface which allows untyped getters and setters for Objects.
+/// :nodoc:
+SWIFT_CLASS("_TtC10RealmSwift13DynamicObject")
+@interface DynamicObject : RealmSwiftObject
+- (id _Nullable)objectForKeyedSubscript:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
+- (void)setObject:(id _Nullable)value forKeyedSubscript:(NSString * _Nonnull)key;
+/// :nodoc:
+- (id _Nullable)valueForUndefinedKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
+- (void)setValue:(id _Nullable)value forUndefinedKey:(NSString * _Nonnull)key;
+/// :nodoc:
++ (BOOL)shouldIncludeInDefaultSchema SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithRealm:(RLMRealm * _Nonnull)realm schema:(RLMObjectSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value schema:(RLMSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+/// :nodoc:
+/// Internal class. Do not use directly. Used for reflection and initialization
+SWIFT_CLASS("_TtC10RealmSwift18LinkingObjectsBase")
+@interface LinkingObjectsBase : NSObject <NSFastEnumeration>
+@property (nonatomic, readonly, copy) NSString * _Nonnull objectClassName;
+@property (nonatomic, readonly, copy) NSString * _Nonnull propertyName;
+@property (nonatomic, readonly, strong) RLMResults<RLMObject *> * _Nonnull rlmResults;
+- (nonnull instancetype)initFromClassName:(NSString * _Nonnull)objectClassName property:(NSString * _Nonnull)propertyName OBJC_DESIGNATED_INITIALIZER;
+- (NSInteger)countByEnumeratingWithState:(NSFastEnumerationState * _Nonnull)state objects:(id _Nullable * _Null_unspecified)buffer count:(NSInteger)len SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+@end
+
+
+/// :nodoc:
+/// Internal class. Do not use directly.
+SWIFT_CLASS("_TtC10RealmSwift8ListBase")
+@interface ListBase : RLMListBase
+/// Returns a human-readable description of the objects contained in the List.
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
+/// Returns the number of objects in this List.
+@property (nonatomic, readonly) NSInteger count;
+- (nonnull instancetype)initWithArray:(RLMArray<RLMObject *> * _Nonnull)array OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+@interface NSDate (SWIFT_EXTENSION(RealmSwift))
+@end
+
+
+@interface NSNumber (SWIFT_EXTENSION(RealmSwift))
+@end
+
+
+@interface NSNumber (SWIFT_EXTENSION(RealmSwift))
+@end
+
+
+
+@interface RealmSwiftObject (SWIFT_EXTENSION(RealmSwift))
+- (RLMObject * _Nonnull)unsafeCastToRLMObject SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+@interface RealmSwiftObject (SWIFT_EXTENSION(RealmSwift))
++ (nonnull instancetype)bridgingFrom:(id _Nonnull)objectiveCValue with:(id _Nullable)metadata SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+/// :nodoc:
+/// Internal class. Do not use directly.
+SWIFT_CLASS_NAMED("ObjectUtil")
+@interface RealmSwiftObjectUtil : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+@interface RLMSyncCredentials (SWIFT_EXTENSION(RealmSwift))
+@end
+
+
+@interface RLMSyncManager (SWIFT_EXTENSION(RealmSwift))
+/// The sole instance of the singleton.
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RLMSyncManager * _Nonnull shared;)
++ (RLMSyncManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
+@end
+
+@class RLMSyncPermissionValue;
+
+@interface RLMSyncPermissionResults (SWIFT_EXTENSION(RealmSwift))
+- (RLMSyncPermissionValue * _Nonnull)objectAtIndexedSubscript:(NSInteger)index SWIFT_WARN_UNUSED_RESULT;
+- (NSInteger)indexAfter:(NSInteger)i SWIFT_WARN_UNUSED_RESULT;
+@property (nonatomic, readonly) NSInteger startIndex;
+@property (nonatomic, readonly) NSInteger endIndex;
+@end
+
+
+@interface RLMSyncSession (SWIFT_EXTENSION(RealmSwift))
+@end
+
+
+@interface RLMSyncUser (SWIFT_EXTENSION(RealmSwift))
+/// A dictionary of all valid, logged-in user identities corresponding to their <code>SyncUser</code> objects.
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSDictionary<NSString *, RLMSyncUser *> * _Nonnull all;)
++ (NSDictionary<NSString *, RLMSyncUser *> * _Nonnull)all SWIFT_WARN_UNUSED_RESULT;
+/// The logged-in user. <code>nil</code> if none exists. Only use this property if your application expects
+/// no more than one logged-in user at any given time.
+/// warning:
+/// Throws an Objective-C exception if more than one logged-in user exists.
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RLMSyncUser * _Nullable current;)
++ (RLMSyncUser * _Nullable)current SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+/// This model is used to reflect permissions.
+/// It should be used in conjunction with a <code>SyncUser</code>’s Permission Realm.
+/// You can only read this Realm. Use the objects in Management Realm to
+/// make request for modifications of permissions.
+/// See https://realm.io/docs/realm-object-server/#permissions for general
+/// documentation.
+SWIFT_CLASS("_TtC10RealmSwift14SyncPermission")
+@interface SyncPermission : RealmSwiftObject
+/// The date this object was last modified.
+@property (nonatomic, copy) NSDate * _Nonnull updatedAt;
+/// The ID of the affected user by the permission.
+@property (nonatomic, copy) NSString * _Nonnull userId;
+/// The path to the realm.
+@property (nonatomic, copy) NSString * _Nonnull path;
+/// Whether the affected user is allowed to read from the Realm.
+@property (nonatomic) BOOL mayRead;
+/// Whether the affected user is allowed to write to the Realm.
+@property (nonatomic) BOOL mayWrite;
+/// Whether the affected user is allowed to manage the access rights for others.
+@property (nonatomic) BOOL mayManage;
+/// :nodoc:
++ (BOOL)shouldIncludeInDefaultSchema SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (NSString * _Nullable)_realmObjectName SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithRealm:(RLMRealm * _Nonnull)realm schema:(RLMObjectSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value schema:(RLMSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+/// This model is used for requesting changes to a Realm’s permissions.
+/// It should be used in conjunction with a <code>SyncUser</code>’s Management Realm.
+/// See https://realm.io/docs/realm-object-server/#permissions for general
+/// documentation.
+SWIFT_CLASS("_TtC10RealmSwift20SyncPermissionChange")
+@interface SyncPermissionChange : RealmSwiftObject
+/// The globally unique ID string of this permission change object.
+@property (nonatomic, copy) NSString * _Nonnull id;
+/// The date this object was initially created.
+@property (nonatomic, copy) NSDate * _Nonnull createdAt;
+/// The date this object was last modified.
+@property (nonatomic, copy) NSDate * _Nonnull updatedAt;
+/// An error or informational message, typically written to by the Realm Object Server.
+@property (nonatomic, copy) NSString * _Nullable statusMessage;
+/// Sync management object status.
+@property (nonatomic, readonly) RLMSyncManagementObjectStatus status;
+/// The remote URL to the realm.
+@property (nonatomic, copy) NSString * _Nonnull realmUrl;
+/// The identity of a user affected by this permission change.
+@property (nonatomic, copy) NSString * _Nonnull userId;
+/// :nodoc:
++ (NSString * _Nullable)primaryKey SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (BOOL)shouldIncludeInDefaultSchema SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (NSString * _Nullable)_realmObjectName SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithRealm:(RLMRealm * _Nonnull)realm schema:(RLMObjectSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value schema:(RLMSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+/// This model is used for offering permission changes to other users.
+/// It should be used in conjunction with a <code>SyncUser</code>’s Management Realm.
+/// See https://realm.io/docs/realm-object-server/#permissions for general
+/// documentation.
+SWIFT_CLASS("_TtC10RealmSwift19SyncPermissionOffer")
+@interface SyncPermissionOffer : RealmSwiftObject
+/// The globally unique ID string of this permission offer object.
+@property (nonatomic, copy) NSString * _Nonnull id;
+/// The date this object was initially created.
+@property (nonatomic, copy) NSDate * _Nonnull createdAt;
+/// The date this object was last modified.
+@property (nonatomic, copy) NSDate * _Nonnull updatedAt;
+/// An error or informational message, typically written to by the Realm Object Server.
+@property (nonatomic, copy) NSString * _Nullable statusMessage;
+/// Sync management object status.
+@property (nonatomic, readonly) RLMSyncManagementObjectStatus status;
+/// A token which uniquely identifies this offer. Generated by the server.
+@property (nonatomic, copy) NSString * _Nullable token;
+/// The remote URL to the realm.
+@property (nonatomic, copy) NSString * _Nonnull realmUrl;
+/// Whether this offer allows the receiver to read from the Realm.
+@property (nonatomic) BOOL mayRead;
+/// Whether this offer allows the receiver to write to the Realm.
+@property (nonatomic) BOOL mayWrite;
+/// Whether this offer allows the receiver to manage the access rights for others.
+@property (nonatomic) BOOL mayManage;
+/// When this token will expire and become invalid.
+@property (nonatomic, copy) NSDate * _Nullable expiresAt;
+/// Construct a permission offer object used to offer permission changes to other users.
+/// \param realmURL The URL to the Realm on which to apply these permission changes
+/// to, once the offer is accepted.
+///
+/// \param expiresAt When this token will expire and become invalid.
+/// Pass <code>nil</code> if this offer should not expire.
+///
+/// \param mayRead Grant or revoke read access.
+///
+/// \param mayWrite Grant or revoked read-write access.
+///
+/// \param mayManage Grant or revoke administrative access.
+///
+- (nonnull instancetype)initWithRealmURL:(NSString * _Nonnull)realmURL expiresAt:(NSDate * _Nullable)expiresAt mayRead:(BOOL)mayRead mayWrite:(BOOL)mayWrite mayManage:(BOOL)mayManage;
+/// :nodoc:
++ (NSArray<NSString *> * _Nonnull)indexedProperties SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (NSString * _Nullable)primaryKey SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (BOOL)shouldIncludeInDefaultSchema SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (NSString * _Nullable)_realmObjectName SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithRealm:(RLMRealm * _Nonnull)realm schema:(RLMObjectSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value schema:(RLMSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+/// This model is used to apply permission changes defined in the permission offer
+/// object represented by the specified token, which was created by another user’s
+/// <code>SyncPermissionOffer</code> object.
+/// It should be used in conjunction with a <code>SyncUser</code>’s Management Realm.
+/// See https://realm.io/docs/realm-object-server/#permissions for general
+/// documentation.
+SWIFT_CLASS("_TtC10RealmSwift27SyncPermissionOfferResponse")
+@interface SyncPermissionOfferResponse : RealmSwiftObject
+/// The globally unique ID string of this permission offer response object.
+@property (nonatomic, copy) NSString * _Nonnull id;
+/// The date this object was initially created.
+@property (nonatomic, copy) NSDate * _Nonnull createdAt;
+/// The date this object was last modified.
+@property (nonatomic, copy) NSDate * _Nonnull updatedAt;
+/// An error or informational message, typically written to by the Realm Object Server.
+@property (nonatomic, copy) NSString * _Nullable statusMessage;
+/// Sync management object status.
+@property (nonatomic, readonly) RLMSyncManagementObjectStatus status;
+/// The received token which uniquely identifies another user’s <code>SyncPermissionOffer</code>.
+@property (nonatomic, copy) NSString * _Nonnull token;
+/// The remote URL to the realm on which these permission changes were applied.
+@property (nonatomic, copy) NSString * _Nullable realmUrl;
+/// Construct a permission offer response object used to apply permission changes
+/// defined in the permission offer object represented by the specified token,
+/// which was created by another user’s <code>SyncPermissionOffer</code> object.
+/// \param token The received token which uniquely identifies another user’s
+/// <code>SyncPermissionOffer</code>.
+///
+- (nonnull instancetype)initWithToken:(NSString * _Nonnull)token;
+/// :nodoc:
++ (NSString * _Nullable)primaryKey SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (BOOL)shouldIncludeInDefaultSchema SWIFT_WARN_UNUSED_RESULT;
+/// :nodoc:
++ (NSString * _Nullable)_realmObjectName SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithRealm:(RLMRealm * _Nonnull)realm schema:(RLMObjectSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value schema:(RLMSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+@end
+
+#pragma clang diagnostic pop

二進制
Libraries external/Realm/RealmSwift.framework/Info.plist


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftdoc


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftmodule


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftdoc


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftmodule


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftdoc


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftmodule


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc


二進制
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule


+ 3 - 0
Libraries external/Realm/RealmSwift.framework/Modules/module.modulemap

@@ -0,0 +1,3 @@
+framework module RealmSwift {
+    header "RealmSwift-Swift.h"
+}

二進制
Libraries external/Realm/RealmSwift.framework/RealmSwift


+ 32 - 38
Nextcloud.xcodeproj/project.pbxproj

@@ -191,16 +191,6 @@
 		F750374F1DBFA91A008FB480 /* NSArray+PureLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = F75037461DBFA91A008FB480 /* NSArray+PureLayout.m */; };
 		F75037511DBFA91A008FB480 /* NSLayoutConstraint+PureLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = F75037481DBFA91A008FB480 /* NSLayoutConstraint+PureLayout.m */; };
 		F75797AE1E81356C00187A1B /* CTAssetsPicker.strings in Resources */ = {isa = PBXBuildFile; fileRef = F75797AC1E81356C00187A1B /* CTAssetsPicker.strings */; };
-		F75A3FF21EBCB4AA00B213E8 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F75A3FF11EBCB4AA00B213E8 /* Realm.framework */; };
-		F75A3FFE1EBCB55A00B213E8 /* Realm.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = F75A3FF11EBCB4AA00B213E8 /* Realm.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
-		F75A40011EBCB92300B213E8 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F75A3FF11EBCB4AA00B213E8 /* Realm.framework */; };
-		F75A40021EBCB95C00B213E8 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F75A3FF11EBCB4AA00B213E8 /* Realm.framework */; };
-		F75A40081EBCBB5E00B213E8 /* NCDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = F75A40071EBCBB5E00B213E8 /* NCDatabase.m */; };
-		F75A40091EBCBB5E00B213E8 /* NCDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = F75A40071EBCBB5E00B213E8 /* NCDatabase.m */; };
-		F75A400A1EBCBB5E00B213E8 /* NCDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = F75A40071EBCBB5E00B213E8 /* NCDatabase.m */; };
-		F75A40171EBCC6C600B213E8 /* NCManageDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = F75A40161EBCC6C600B213E8 /* NCManageDatabase.m */; };
-		F75A40181EBCC6C600B213E8 /* NCManageDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = F75A40161EBCC6C600B213E8 /* NCManageDatabase.m */; };
-		F75A40191EBCC6C600B213E8 /* NCManageDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = F75A40161EBCC6C600B213E8 /* NCManageDatabase.m */; };
 		F75ADF451DC75FFE008A7347 /* CCLogin.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F75ADF441DC75FFE008A7347 /* CCLogin.storyboard */; };
 		F75AE3C71E9D12900088BB09 /* SwiftyAvatar.swift in Sources */ = {isa = PBXBuildFile; fileRef = F75AE3C61E9D12900088BB09 /* SwiftyAvatar.swift */; };
 		F75EDFAC1E8C106900E6F369 /* FirebaseAnalytics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F75EDFA61E8C106900E6F369 /* FirebaseAnalytics.framework */; };
@@ -553,6 +543,16 @@
 		F7C525A21E3B6DA800FFE02C /* CCNotification.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F7C525A11E3B6DA800FFE02C /* CCNotification.storyboard */; };
 		F7C742D81E7BD5C900D9C973 /* MainInterface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F7C742D71E7BD5C900D9C973 /* MainInterface.storyboard */; };
 		F7D2677C1E157053005ACB7E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F7F67BB81A24D27800EE80DA /* Images.xcassets */; };
+		F7DFE2511EBDC3A400CF5202 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE24F1EBDC3A400CF5202 /* Realm.framework */; };
+		F7DFE2521EBDC3A400CF5202 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE24F1EBDC3A400CF5202 /* Realm.framework */; };
+		F7DFE2531EBDC3A400CF5202 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE24F1EBDC3A400CF5202 /* Realm.framework */; };
+		F7DFE2541EBDC3A400CF5202 /* RealmSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE2501EBDC3A400CF5202 /* RealmSwift.framework */; };
+		F7DFE2551EBDC3A400CF5202 /* RealmSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE2501EBDC3A400CF5202 /* RealmSwift.framework */; };
+		F7DFE2561EBDC3A400CF5202 /* RealmSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE2501EBDC3A400CF5202 /* RealmSwift.framework */; };
+		F7DFE2571EBDC52E00CF5202 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE24F1EBDC3A400CF5202 /* Realm.framework */; };
+		F7DFE2581EBDC52E00CF5202 /* Realm.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE24F1EBDC3A400CF5202 /* Realm.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+		F7DFE2591EBDC53200CF5202 /* RealmSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE2501EBDC3A400CF5202 /* RealmSwift.framework */; };
+		F7DFE25A1EBDC53200CF5202 /* RealmSwift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = F7DFE2501EBDC3A400CF5202 /* RealmSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
 		F7E718B01EB0FBE700FA58C9 /* CCGraphics.m in Sources */ = {isa = PBXBuildFile; fileRef = F76C3B841C6388BC00DC4301 /* CCGraphics.m */; };
 		F7ECBA6D1E239DCD003E6328 /* CCCreateCloud.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7ECBA6C1E239DCD003E6328 /* CCCreateCloud.swift */; };
 		F7EF0CAF1D9E95F400A9D15E /* CCSharedDBSession.m in Sources */ = {isa = PBXBuildFile; fileRef = F7EF0CAD1D9E95F400A9D15E /* CCSharedDBSession.m */; };
@@ -751,7 +751,8 @@
 			dstPath = "";
 			dstSubfolderSpec = 10;
 			files = (
-				F75A3FFE1EBCB55A00B213E8 /* Realm.framework in Embed Frameworks */,
+				F7DFE25A1EBDC53200CF5202 /* RealmSwift.framework in Embed Frameworks */,
+				F7DFE2581EBDC52E00CF5202 /* Realm.framework in Embed Frameworks */,
 			);
 			name = "Embed Frameworks";
 			runOnlyForDeploymentPostprocessing = 0;
@@ -1159,11 +1160,6 @@
 		F7540F2B1D5B238600C3FFA8 /* x509_vfy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x509_vfy.h; sourceTree = "<group>"; };
 		F7540F2C1D5B238600C3FFA8 /* x509v3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x509v3.h; sourceTree = "<group>"; };
 		F75797AD1E81356C00187A1B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/CTAssetsPicker.strings; sourceTree = "<group>"; };
-		F75A3FF11EBCB4AA00B213E8 /* Realm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Realm.framework; sourceTree = "<group>"; };
-		F75A40061EBCBB5E00B213E8 /* NCDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NCDatabase.h; sourceTree = "<group>"; };
-		F75A40071EBCBB5E00B213E8 /* NCDatabase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NCDatabase.m; sourceTree = "<group>"; };
-		F75A40151EBCC6C600B213E8 /* NCManageDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NCManageDatabase.h; sourceTree = "<group>"; };
-		F75A40161EBCC6C600B213E8 /* NCManageDatabase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NCManageDatabase.m; sourceTree = "<group>"; };
 		F75ADF441DC75FFE008A7347 /* CCLogin.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = CCLogin.storyboard; sourceTree = "<group>"; };
 		F75AE3C61E9D12900088BB09 /* SwiftyAvatar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SwiftyAvatar.swift; sourceTree = "<group>"; };
 		F75CDBF51DF063AD00116AD0 /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; name = .gitignore; path = ../.gitignore; sourceTree = "<group>"; };
@@ -1524,6 +1520,8 @@
 		F7D0E65E1BC5042E008D989A /* CCDetail.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDetail.h; sourceTree = "<group>"; };
 		F7D0E65F1BC5042E008D989A /* CCDetail.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCDetail.m; sourceTree = "<group>"; };
 		F7D154271E2392A300202FD9 /* Nextcloud-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Nextcloud-Bridging-Header.h"; sourceTree = "<group>"; };
+		F7DFE24F1EBDC3A400CF5202 /* Realm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Realm.framework; sourceTree = "<group>"; };
+		F7DFE2501EBDC3A400CF5202 /* RealmSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = RealmSwift.framework; sourceTree = "<group>"; };
 		F7E456D41C89D54A00BD63F0 /* Share Ext-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Share Ext-Bridging-Header.h"; sourceTree = "<group>"; };
 		F7ECBA6C1E239DCD003E6328 /* CCCreateCloud.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CCCreateCloud.swift; sourceTree = "<group>"; };
 		F7EF0CAC1D9E95EC00A9D15E /* CCSharedDBSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = CCSharedDBSession.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
@@ -1681,9 +1679,10 @@
 			files = (
 				F71E68021DC1F79D003BA52B /* libownCloudiOS.a in Frameworks */,
 				F72C63891DC14B0400FA5ED5 /* libMagicalRecord.a in Frameworks */,
+				F7DFE2551EBDC3A400CF5202 /* RealmSwift.framework in Frameworks */,
 				F70A630F1D5B3467004E2AA5 /* libssl.a in Frameworks */,
 				F70A630B1D5B3467004E2AA5 /* libcrypto.a in Frameworks */,
-				F75A40011EBCB92300B213E8 /* Realm.framework in Frameworks */,
+				F7DFE2521EBDC3A400CF5202 /* Realm.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -1693,9 +1692,10 @@
 			files = (
 				F74344541E1277D8001CC831 /* libownCloudiOS.a in Frameworks */,
 				F74344551E1277E2001CC831 /* libMagicalRecord.a in Frameworks */,
+				F7DFE2561EBDC3A400CF5202 /* RealmSwift.framework in Frameworks */,
 				F74344591E12786C001CC831 /* libssl.a in Frameworks */,
 				F74344561E12784A001CC831 /* libcrypto.a in Frameworks */,
-				F75A40021EBCB95C00B213E8 /* Realm.framework in Frameworks */,
+				F7DFE2531EBDC3A400CF5202 /* Realm.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -1710,9 +1710,12 @@
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
+				F7DFE2571EBDC52E00CF5202 /* Realm.framework in Frameworks */,
 				F75EDFBF1E8C116D00E6F369 /* libstdc++.tbd in Frameworks */,
 				F75EDFBD1E8C112F00E6F369 /* libsqlite3.0.tbd in Frameworks */,
+				F7DFE2541EBDC3A400CF5202 /* RealmSwift.framework in Frameworks */,
 				F71E68001DC1F792003BA52B /* libownCloudiOS.a in Frameworks */,
+				F7DFE2591EBDC53200CF5202 /* RealmSwift.framework in Frameworks */,
 				F714526D1DC1523B0006A5D4 /* libMagicalRecord.a in Frameworks */,
 				F75EDFAC1E8C106900E6F369 /* FirebaseAnalytics.framework in Frameworks */,
 				F75EDFAE1E8C106900E6F369 /* FirebaseInstanceID.framework in Frameworks */,
@@ -1722,7 +1725,7 @@
 				F75EDFAD1E8C106900E6F369 /* FirebaseCore.framework in Frameworks */,
 				F75EDFAF1E8C106900E6F369 /* FirebaseMessaging.framework in Frameworks */,
 				F7A3771A1EB2364A002856D3 /* Fabric.framework in Frameworks */,
-				F75A3FF21EBCB4AA00B213E8 /* Realm.framework in Frameworks */,
+				F7DFE2511EBDC3A400CF5202 /* Realm.framework in Frameworks */,
 				F7BB14961D5B62C000ECEE68 /* libcrypto.a in Frameworks */,
 				F7BB14971D5B62C000ECEE68 /* libssl.a in Frameworks */,
 				F75EDFB01E8C106900E6F369 /* GoogleToolboxForMac.framework in Frameworks */,
@@ -1783,8 +1786,8 @@
 				F70F051D1C889184008DAB36 /* PPImageScrollingTableViewCell */,
 				F75037421DBFA91A008FB480 /* PureLayout */,
 				F70F05241C889184008DAB36 /* Reachability */,
+				F7DFE24E1EBDC3A400CF5202 /* Realm */,
 				F7659A3A1DC0B760004860C4 /* PSTCollectionView */,
-				F75A3FF01EBCB4AA00B213E8 /* Realm */,
 				F70F05321C889184008DAB36 /* RNCryptor */,
 				F70F0F921C889487008DAB36 /* SSZipArchive */,
 				F75AE3C51E9D12900088BB09 /* SwiftyAvatar */,
@@ -2366,14 +2369,6 @@
 			path = openssl;
 			sourceTree = "<group>";
 		};
-		F75A3FF01EBCB4AA00B213E8 /* Realm */ = {
-			isa = PBXGroup;
-			children = (
-				F75A3FF11EBCB4AA00B213E8 /* Realm.framework */,
-			);
-			path = Realm;
-			sourceTree = "<group>";
-		};
 		F75AE3C51E9D12900088BB09 /* SwiftyAvatar */ = {
 			isa = PBXGroup;
 			children = (
@@ -3140,6 +3135,15 @@
 			name = "Supporting Files";
 			sourceTree = "<group>";
 		};
+		F7DFE24E1EBDC3A400CF5202 /* Realm */ = {
+			isa = PBXGroup;
+			children = (
+				F7DFE24F1EBDC3A400CF5202 /* Realm.framework */,
+				F7DFE2501EBDC3A400CF5202 /* RealmSwift.framework */,
+			);
+			path = Realm;
+			sourceTree = "<group>";
+		};
 		F7E95CEC1AC40BA40060D08E /* FileSystem */ = {
 			isa = PBXGroup;
 			children = (
@@ -3148,10 +3152,6 @@
 				F7B81D801C64E77F006D02DF /* CCCoreData.m */,
 				F7C8C1721B482A920048180E /* CCMetadata.h */,
 				F7C8C1731B482A920048180E /* CCMetadata.m */,
-				F75A40061EBCBB5E00B213E8 /* NCDatabase.h */,
-				F75A40071EBCBB5E00B213E8 /* NCDatabase.m */,
-				F75A40151EBCC6C600B213E8 /* NCManageDatabase.h */,
-				F75A40161EBCC6C600B213E8 /* NCManageDatabase.m */,
 			);
 			path = FileSystem;
 			sourceTree = "<group>";
@@ -4022,7 +4022,6 @@
 				F71459ED1D12E3B700CAFEEC /* UIImage+Masking.m in Sources */,
 				F71459F01D12E3B700CAFEEC /* NSString+Base64.m in Sources */,
 				F7EF0CAF1D9E95F400A9D15E /* CCSharedDBSession.m in Sources */,
-				F75A40181EBCC6C600B213E8 /* NCManageDatabase.m in Sources */,
 				F71459F11D12E3B700CAFEEC /* CCMove.m in Sources */,
 				F71459F31D12E3B700CAFEEC /* UIImage+Resizing.m in Sources */,
 				F71459F71D12E3B700CAFEEC /* CCGraphics.m in Sources */,
@@ -4035,7 +4034,6 @@
 				F7145A001D12E3B700CAFEEC /* CCGlobal.m in Sources */,
 				F7145A011D12E3B700CAFEEC /* UIImage+Blurring.m in Sources */,
 				F7145A041D12E3B700CAFEEC /* CCloadItemData.swift in Sources */,
-				F75A40091EBCBB5E00B213E8 /* NCDatabase.m in Sources */,
 				F708CF951E56E8CC00271D8B /* TableAutomaticUpload+CoreDataProperties.m in Sources */,
 				F73CC07F1E813DFF006E3047 /* BKTouchIDSwitchView.m in Sources */,
 				F76B3CCF1EAE01BD00921AC9 /* NCBrand.swift in Sources */,
@@ -4097,13 +4095,11 @@
 				F74344861E127F89001CC831 /* RNEncryptor.m in Sources */,
 				F73C41521E82E51F000137C0 /* TableExternalSites+CoreDataClass.m in Sources */,
 				F73C41551E82E51F000137C0 /* TableExternalSites+CoreDataProperties.m in Sources */,
-				F75A400A1EBCBB5E00B213E8 /* NCDatabase.m in Sources */,
 				F73CC06B1E813DFF006E3047 /* BKPasscodeDummyViewController.m in Sources */,
 				F708CF991E56E8CC00271D8B /* TableAccount+CoreDataClass.m in Sources */,
 				F7FC88FA1E140558006D0506 /* cryptocloud.xcdatamodeld in Sources */,
 				F708CF721E56E8CC00271D8B /* TableMetadata+CoreDataProperties.m in Sources */,
 				F74344631E127D79001CC831 /* CCBKPasscode.m in Sources */,
-				F75A40191EBCC6C600B213E8 /* NCManageDatabase.m in Sources */,
 				F708CF8A1E56E8CC00271D8B /* TableShare+CoreDataProperties.m in Sources */,
 				F74344661E127E35001CC831 /* CCCoreData.m in Sources */,
 				F76B3CD01EAE01BD00921AC9 /* NCBrand.swift in Sources */,
@@ -4205,7 +4201,6 @@
 				F708CF791E56E8CC00271D8B /* TableGPS+CoreDataClass.m in Sources */,
 				F7B1FBCA1E72E3D1001781FE /* SwiftWebVCActivitySafari.swift in Sources */,
 				F7F54D0A1E5B14C800E19C62 /* MWPhotoBrowser.m in Sources */,
-				F75A40171EBCC6C600B213E8 /* NCManageDatabase.m in Sources */,
 				F720E01F1E48C73E001A4B9E /* CCActions.swift in Sources */,
 				F762CB081EACB66200B38484 /* XLFormOptionsViewController.m in Sources */,
 				F73CC0721E813DFF006E3047 /* BKPasscodeLockScreenManager.m in Sources */,
@@ -4339,7 +4334,6 @@
 				F7F06EC11DBFACC600099AE9 /* CTAssetsPickerAccessDeniedView.m in Sources */,
 				F7F06ECB1DBFACC600099AE9 /* CTAssetThumbnailOverlay.m in Sources */,
 				F762CB011EACB66200B38484 /* XLFormSelectorCell.m in Sources */,
-				F75A40081EBCBB5E00B213E8 /* NCDatabase.m in Sources */,
 				F77B0E9B1D118A16002130FE /* CCBKPasscode.m in Sources */,
 				F77B0E9D1D118A16002130FE /* HRColorPickerView.m in Sources */,
 				F77B0E9F1D118A16002130FE /* mztools.c in Sources */,

+ 0 - 1
iOSClient/AppDelegate.m

@@ -38,7 +38,6 @@
 #import <Fabric/Fabric.h>
 #import <Crashlytics/Crashlytics.h>
 #import "JDStatusBarNotification.h"
-#import "NCManageDatabase.h"
 
 #ifdef CUSTOM_BUILD
     #import "CustomSwift.h"

+ 0 - 29
iOSClient/FileSystem/NCDatabase.h

@@ -1,29 +0,0 @@
-//
-//  NCDatabase.h
-//  Nextcloud
-//
-//  Created by Marino Faggiana on 05/05/17.
-//  Copyright © 2017 TWS. All rights reserved.
-//
-
-#import <Realm/Realm.h>
-
-@interface DBActivity : RLMObject
-    
-    @property NSString *account;
-    @property NSString *action;
-    @property NSDate *date;
-    @property NSString *file;
-    @property NSString *fileID;
-    @property long long idActivity;
-    @property NSString *link;
-    @property NSString *note;
-    @property NSString *selector;
-    @property NSString *type;
-    @property BOOL verbose;
-
-@end
-
-// This protocol enables typed collections. i.e.:
-// RLMArray<NCDatabase *><NCDatabase>
-RLM_ARRAY_TYPE(DBActivity)

+ 0 - 39
iOSClient/FileSystem/NCDatabase.m

@@ -1,39 +0,0 @@
-//
-//  NCDatabase.m
-//  Nextcloud
-//
-//  Created by Marino Faggiana on 05/05/17.
-//  Copyright © 2017 TWS. All rights reserved.
-//
-
-#import "NCDatabase.h"
-
-@implementation DBActivity
-
-// Specify default values for properties
-
-//+ (NSDictionary *)defaultPropertyValues
-//{
-//    return @{};
-//}
-
-// Specify properties to ignore (Realm won't persist these)
-
-//+ (NSArray *)ignoredProperties
-//{
-//    return @[];
-//}
-
-+ (NSArray *)requiredProperties {
-    return @[@"account"];
-}
-    
-+ (NSArray *)indexedProperties {
-    return @[@"date"];
-}
-
-+ (NSDictionary *)defaultPropertyValues {
-    return @{@"date" : [NSDate date], @"idActivity" : @0, @"verbose" : @NO};
-}
-
-@end

+ 0 - 20
iOSClient/FileSystem/NCManageDatabase.h

@@ -1,20 +0,0 @@
-//
-//  NCManageDatabase.h
-//  Nextcloud
-//
-//  Created by Marino Faggiana on 05/05/17.
-//  Copyright © 2017 TWS. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "NCDatabase.h"
-#import "OCActivity.h"
-
-@interface NCManageDatabase : NSObject
-
-+ (NCManageDatabase *)sharedManageDatabase;
-
-//
-- (void)addActivityServer:(NSArray *)listOfActivity account:(NSString *)account;
-
-@end

+ 0 - 67
iOSClient/FileSystem/NCManageDatabase.m

@@ -1,67 +0,0 @@
-//
-//  NCManageDatabase.m
-//  Nextcloud
-//
-//  Created by Marino Faggiana on 05/05/17.
-//  Copyright © 2017 TWS. All rights reserved.
-//
-
-#import "NCManageDatabase.h"
-
-@implementation NCManageDatabase
-
-+ (NCManageDatabase *)sharedManageDatabase {
-    static NCManageDatabase *sharedManageDatabase;
-    @synchronized(self)
-    {
-        if (!sharedManageDatabase) {
-            
-            sharedManageDatabase = [NCManageDatabase new];
-        }
-        return sharedManageDatabase;
-    }
-}
-
-- (id)init
-{
-    self = [super init];
-    
-    NSURL *dirGroup = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:k_capabilitiesGroups];
-    
-    RLMRealmConfiguration *config = [RLMRealmConfiguration defaultConfiguration];
-    
-    config.fileURL = [dirGroup URLByAppendingPathComponent:[appDatabaseNextcloud stringByAppendingPathComponent:k_databaseDefault]];
-    
-    // Set this as the configuration used for the default Realm
-    [RLMRealmConfiguration setDefaultConfiguration:config];
-    
-    return self;
-}
-
-- (void)addActivityServer:(NSArray *)listOfActivity account:(NSString *)account
-{
-    RLMRealm *realm = [RLMRealm defaultRealm];
-    
-    [realm beginWriteTransaction];
-    
-    for (OCActivity *activity in listOfActivity) {
-        
-        DBActivity *dbActivity = [DBActivity new];
-        
-        dbActivity.account = account;
-        dbActivity.action = @"Activity";
-        dbActivity.date = activity.date;
-        dbActivity.file = activity.file;
-        dbActivity.idActivity = activity.idActivity;
-        dbActivity.link = activity.link;
-        dbActivity.note = activity.subject;
-        dbActivity.type = k_activityTypeInfo;
-        dbActivity.verbose = k_activityVerboseDefault;
-        
-        [realm addObject:dbActivity];
-    }
-    
-    [realm commitWriteTransaction];
-}
-
-@end

+ 1 - 2
iOSClient/Main/CCMain.m

@@ -32,7 +32,6 @@
 #import <OCCommunicationLib/OCFrameworkConstants.h>
 #import <OCCommunicationLib/OCCapabilities.h>
 #import "CTAssetCheckmark.h"
-#import "NCManageDatabase.h"
 
 #ifdef CUSTOM_BUILD
 #import "CustomSwift.h"
@@ -1107,7 +1106,7 @@
     }
     
     // New Realm DB Test
-    [[NCManageDatabase sharedManageDatabase] addActivityServer:listOfActivity account:app.activeAccount];
+    //[[NCManageDatabase sharedManageDatabase] addActivityServer:listOfActivity account:app.activeAccount];
     
     // Reload Activity Data Source
     [app.activeActivity reloadDatasource];

部分文件因文件數量過多而無法顯示