فهرست منبع

Updated Realm version (to 0.98.6) to support OSX

Daniel Cohen Gindi 9 سال پیش
والد
کامیت
2da8db00e6
100فایلهای تغییر یافته به همراه11089 افزوده شده و 2480 حذف شده
  1. 169 2
      ChartsRealm/ChartsRealm.xcodeproj/project.pbxproj
  2. 80 0
      ChartsRealm/ChartsRealm.xcodeproj/xcshareddata/xcschemes/ChartsRealm-OSX.xcscheme
  3. 2 2
      ChartsRealm/Classes/Data/RealmRadarDataSet.swift
  4. 1 1
      ChartsRealm/Supporting Files/ChartsRealm.h
  5. 795 180
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/B7E6B987-25C6-35D2-A39E-CD1F26B4B565.bcsymbolmap
  6. 176 0
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/CHANGELOG.md
  7. 740 319
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/F21CE448-56C2-35BC-B83A-DE0DB0183DCE.bcsymbolmap
  8. 26 1
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMArray.h
  9. 17 1
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMCollection.h
  10. 5 3
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMConstants.h
  11. 8 0
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMDefines.h
  12. 6 0
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMObject.h
  13. 12 6
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMRealm.h
  14. 56 4
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMResults.h
  15. BIN
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Info.plist
  16. 0 1
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMAccessor.h
  17. 1 1
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMObjectSchema_Private.h
  18. 3 0
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMObject_Private.h
  19. 1 1
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMOptionalBase.h
  20. 1 0
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMProperty_Private.h
  21. 5 1
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMRealm_Private.h
  22. 2 3
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMSchema_Private.h
  23. BIN
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Realm
  24. 367 122
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/_CodeSignature/CodeResources
  25. 3 1
      ChartsRealm/ThirdParty/Realm/ios/Realm.framework/strip-frameworks.sh
  26. 259 0
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/30CEB204-6425-389B-B3F3-937F658CD8D3.bcsymbolmap
  27. 0 283
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/3575149B-6A97-3EED-8AC5-249F0F69893D.bcsymbolmap
  28. 0 280
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/781824F3-7FDF-337C-B733-289907054DB2.bcsymbolmap
  29. 795 180
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/B7E6B987-25C6-35D2-A39E-CD1F26B4B565.bcsymbolmap
  30. 740 319
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/F21CE448-56C2-35BC-B83A-DE0DB0183DCE.bcsymbolmap
  31. 256 0
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/FFDD4BCA-8164-39F2-A6F1-E8CBFDA1D3F9.bcsymbolmap
  32. 57 43
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Headers/RealmSwift-Swift.h
  33. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Info.plist
  34. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftdoc
  35. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftmodule
  36. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftdoc
  37. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftmodule
  38. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftdoc
  39. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftmodule
  40. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc
  41. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule
  42. BIN
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/RealmSwift
  43. 66 56
      ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/_CodeSignature/CodeResources
  44. 1 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Headers
  45. 1 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Modules
  46. 1 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/PrivateHeaders
  47. 1 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Realm
  48. 1 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Resources
  49. 364 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMArray.h
  50. 184 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMCollection.h
  51. 131 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMConstants.h
  52. 95 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMDefines.h
  53. 107 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMMigration.h
  54. 425 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObject.h
  55. 42 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObjectBase.h
  56. 84 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObjectBase_Dynamic.h
  57. 73 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObjectSchema.h
  58. 22 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMPlatform.h
  59. 95 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMProperty.h
  60. 519 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMRealm.h
  61. 79 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMRealmConfiguration.h
  62. 130 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMRealm_Dynamic.h
  63. 280 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMResults.h
  64. 76 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMSchema.h
  65. 30 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/Realm.h
  66. 27 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Modules/module.modulemap
  67. 64 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMAccessor.h
  68. 24 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMArray_Private.h
  69. 29 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMListBase.h
  70. 34 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMMigration_Private.h
  71. 70 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMObjectSchema_Private.h
  72. 99 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMObjectStore.h
  73. 89 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMObject_Private.h
  74. 34 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMOptionalBase.h
  75. 93 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMProperty_Private.h
  76. 38 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMRealmConfiguration_Private.h
  77. 42 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMRealmUtil.hpp
  78. 86 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMRealm_Private.h
  79. 25 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMResults_Private.h
  80. 66 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMSchema_Private.h
  81. BIN
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Realm
  82. 1516 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/CHANGELOG.md
  83. 53 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/Info.plist
  84. 269 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/LICENSE
  85. 72 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/strip-frameworks.sh
  86. 1 0
      ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/Current
  87. 1 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Headers
  88. 1 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Modules
  89. 1 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/RealmSwift
  90. 1 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Resources
  91. 317 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Headers/RealmSwift-Swift.h
  92. BIN
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc
  93. BIN
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule
  94. 3 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Modules/module.modulemap
  95. BIN
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/RealmSwift
  96. 46 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Resources/Info.plist
  97. 1 0
      ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/Current
  98. 176 0
      ChartsRealm/ThirdParty/Realm/tvos/Realm.framework/CHANGELOG.md
  99. 395 669
      ChartsRealm/ThirdParty/Realm/tvos/Realm.framework/F5FCBCBD-51F1-331B-BEB2-8A5B113A0F24.bcsymbolmap
  100. 26 1
      ChartsRealm/ThirdParty/Realm/tvos/Realm.framework/Headers/RLMArray.h

+ 169 - 2
ChartsRealm/ChartsRealm.xcodeproj/project.pbxproj

@@ -52,6 +52,29 @@
 		5B88D8A71C634EBB00B54CBD /* RealmScatterDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8841C634EBB00B54CBD /* RealmScatterDataSet.swift */; };
 		5B88D8A71C634EBB00B54CBD /* RealmScatterDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8841C634EBB00B54CBD /* RealmScatterDataSet.swift */; };
 		5B88D8A81C634EBB00B54CBD /* RealmScatterDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8841C634EBB00B54CBD /* RealmScatterDataSet.swift */; };
 		5B88D8A81C634EBB00B54CBD /* RealmScatterDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8841C634EBB00B54CBD /* RealmScatterDataSet.swift */; };
 		5B88D8B51C63504200B54CBD /* Charts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B88D8B01C63502500B54CBD /* Charts.framework */; settings = {ATTRIBUTES = (Required, ); }; };
 		5B88D8B51C63504200B54CBD /* Charts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B88D8B01C63502500B54CBD /* Charts.framework */; settings = {ATTRIBUTES = (Required, ); }; };
+		5BA899261CADB7F20012ED64 /* RealmLineRadarDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D87D1C634EBB00B54CBD /* RealmLineRadarDataSet.swift */; };
+		5BA899271CADB7F20012ED64 /* RealmPieDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8801C634EBB00B54CBD /* RealmPieDataSet.swift */; };
+		5BA899281CADB7F20012ED64 /* RealmLineDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D87C1C634EBB00B54CBD /* RealmLineDataSet.swift */; };
+		5BA899291CADB7F20012ED64 /* RealmChartUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B4AC1811C4C12B80028D1A6 /* RealmChartUtils.swift */; };
+		5BA8992A1CADB7F20012ED64 /* RealmScatterDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8841C634EBB00B54CBD /* RealmScatterDataSet.swift */; };
+		5BA8992B1CADB7F20012ED64 /* RealmBarData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8731C634EBB00B54CBD /* RealmBarData.swift */; };
+		5BA8992C1CADB7F20012ED64 /* RealmBarDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8741C634EBB00B54CBD /* RealmBarDataSet.swift */; };
+		5BA8992D1CADB7F20012ED64 /* RealmBaseDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8761C634EBB00B54CBD /* RealmBaseDataSet.swift */; };
+		5BA8992E1CADB7F20012ED64 /* RealmCandleDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D87A1C634EBB00B54CBD /* RealmCandleDataSet.swift */; };
+		5BA8992F1CADB7F20012ED64 /* RealmCandleData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8791C634EBB00B54CBD /* RealmCandleData.swift */; };
+		5BA899301CADB7F20012ED64 /* RealmBubbleData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8771C634EBB00B54CBD /* RealmBubbleData.swift */; };
+		5BA899311CADB7F20012ED64 /* RealmBarLineScatterCandleBubbleDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8751C634EBB00B54CBD /* RealmBarLineScatterCandleBubbleDataSet.swift */; };
+		5BA899321CADB7F20012ED64 /* RealmScatterData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8831C634EBB00B54CBD /* RealmScatterData.swift */; };
+		5BA899331CADB7F20012ED64 /* RealmBubbleDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8781C634EBB00B54CBD /* RealmBubbleDataSet.swift */; };
+		5BA899341CADB7F20012ED64 /* RealmLineScatterCandleRadarDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D87E1C634EBB00B54CBD /* RealmLineScatterCandleRadarDataSet.swift */; };
+		5BA899351CADB7F20012ED64 /* RealmRadarDataSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8821C634EBB00B54CBD /* RealmRadarDataSet.swift */; };
+		5BA899361CADB7F20012ED64 /* RealmLineData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D87B1C634EBB00B54CBD /* RealmLineData.swift */; };
+		5BA899371CADB7F20012ED64 /* RealmPieData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D87F1C634EBB00B54CBD /* RealmPieData.swift */; };
+		5BA899381CADB7F20012ED64 /* RealmRadarData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B88D8811C634EBB00B54CBD /* RealmRadarData.swift */; };
+		5BA8993A1CADB7F20012ED64 /* Charts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B88D8B01C63502500B54CBD /* Charts.framework */; settings = {ATTRIBUTES = (Required, ); }; };
+		5BA8993E1CADB7F20012ED64 /* ChartsRealm.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B680D3C1A9D1AD90026A057 /* ChartsRealm.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		5BA8994C1CADB8EC0012ED64 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BA8994A1CADB8EC0012ED64 /* Realm.framework */; };
+		5BA8994D1CADB8EC0012ED64 /* RealmSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BA8994B1CADB8EC0012ED64 /* RealmSwift.framework */; };
 		5BF782821C840EE1003A9E91 /* Charts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B88D8B21C63502500B54CBD /* Charts.framework */; };
 		5BF782821C840EE1003A9E91 /* Charts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B88D8B21C63502500B54CBD /* Charts.framework */; };
 /* End PBXBuildFile section */
 /* End PBXBuildFile section */
 
 
@@ -112,12 +135,25 @@
 		5B88D8831C634EBB00B54CBD /* RealmScatterData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealmScatterData.swift; sourceTree = "<group>"; };
 		5B88D8831C634EBB00B54CBD /* RealmScatterData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealmScatterData.swift; sourceTree = "<group>"; };
 		5B88D8841C634EBB00B54CBD /* RealmScatterDataSet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealmScatterDataSet.swift; sourceTree = "<group>"; };
 		5B88D8841C634EBB00B54CBD /* RealmScatterDataSet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealmScatterDataSet.swift; sourceTree = "<group>"; };
 		5B88D8A91C63502400B54CBD /* Charts.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Charts.xcodeproj; path = ../Charts/Charts.xcodeproj; sourceTree = "<group>"; };
 		5B88D8A91C63502400B54CBD /* Charts.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Charts.xcodeproj; path = ../Charts/Charts.xcodeproj; sourceTree = "<group>"; };
+		5BA899431CADB7F20012ED64 /* ChartsRealm.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ChartsRealm.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		5BA8994A1CADB8EC0012ED64 /* Realm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Realm.framework; sourceTree = "<group>"; };
+		5BA8994B1CADB8EC0012ED64 /* RealmSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = RealmSwift.framework; sourceTree = "<group>"; };
 		5BA8EC401A9D14DC00CE82E1 /* ChartsRealm.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ChartsRealm.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		5BA8EC401A9D14DC00CE82E1 /* ChartsRealm.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ChartsRealm.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		5BA8EC441A9D14DC00CE82E1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		5BA8EC441A9D14DC00CE82E1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		A52C5C371BAC5CA400594CDD /* ChartsRealm.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ChartsRealm.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		A52C5C371BAC5CA400594CDD /* ChartsRealm.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ChartsRealm.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 /* End PBXFileReference section */
 /* End PBXFileReference section */
 
 
 /* Begin PBXFrameworksBuildPhase section */
 /* Begin PBXFrameworksBuildPhase section */
+		5BA899391CADB7F20012ED64 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				5BA8994C1CADB8EC0012ED64 /* Realm.framework in Frameworks */,
+				5BA8994D1CADB8EC0012ED64 /* RealmSwift.framework in Frameworks */,
+				5BA8993A1CADB7F20012ED64 /* Charts.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		5BA8EC3C1A9D14DC00CE82E1 /* Frameworks */ = {
 		5BA8EC3C1A9D14DC00CE82E1 /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			buildActionMask = 2147483647;
@@ -153,6 +189,7 @@
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
 				5B4AC12D1C44684E0028D1A6 /* ios */,
 				5B4AC12D1C44684E0028D1A6 /* ios */,
+				5BA899491CADB8EC0012ED64 /* osx */,
 				5B4AC1301C44684E0028D1A6 /* tvos */,
 				5B4AC1301C44684E0028D1A6 /* tvos */,
 			);
 			);
 			name = Realm;
 			name = Realm;
@@ -188,6 +225,15 @@
 			name = Products;
 			name = Products;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
+		5BA899491CADB8EC0012ED64 /* osx */ = {
+			isa = PBXGroup;
+			children = (
+				5BA8994A1CADB8EC0012ED64 /* Realm.framework */,
+				5BA8994B1CADB8EC0012ED64 /* RealmSwift.framework */,
+			);
+			path = osx;
+			sourceTree = "<group>";
+		};
 		5BA8EC361A9D14DC00CE82E1 = {
 		5BA8EC361A9D14DC00CE82E1 = {
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
@@ -204,6 +250,7 @@
 			children = (
 			children = (
 				5BA8EC401A9D14DC00CE82E1 /* ChartsRealm.framework */,
 				5BA8EC401A9D14DC00CE82E1 /* ChartsRealm.framework */,
 				A52C5C371BAC5CA400594CDD /* ChartsRealm.framework */,
 				A52C5C371BAC5CA400594CDD /* ChartsRealm.framework */,
+				5BA899431CADB7F20012ED64 /* ChartsRealm.framework */,
 			);
 			);
 			name = Products;
 			name = Products;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
@@ -262,6 +309,14 @@
 /* End PBXGroup section */
 /* End PBXGroup section */
 
 
 /* Begin PBXHeadersBuildPhase section */
 /* Begin PBXHeadersBuildPhase section */
+		5BA8993D1CADB7F20012ED64 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				5BA8993E1CADB7F20012ED64 /* ChartsRealm.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		5BA8EC3D1A9D14DC00CE82E1 /* Headers */ = {
 		5BA8EC3D1A9D14DC00CE82E1 /* Headers */ = {
 			isa = PBXHeadersBuildPhase;
 			isa = PBXHeadersBuildPhase;
 			buildActionMask = 2147483647;
 			buildActionMask = 2147483647;
@@ -281,6 +336,24 @@
 /* End PBXHeadersBuildPhase section */
 /* End PBXHeadersBuildPhase section */
 
 
 /* Begin PBXNativeTarget section */
 /* Begin PBXNativeTarget section */
+		5BA899241CADB7F20012ED64 /* ChartsRealm-OSX */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 5BA899401CADB7F20012ED64 /* Build configuration list for PBXNativeTarget "ChartsRealm-OSX" */;
+			buildPhases = (
+				5BA899251CADB7F20012ED64 /* Sources */,
+				5BA899391CADB7F20012ED64 /* Frameworks */,
+				5BA8993D1CADB7F20012ED64 /* Headers */,
+				5BA8993F1CADB7F20012ED64 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "ChartsRealm-OSX";
+			productName = Charts;
+			productReference = 5BA899431CADB7F20012ED64 /* ChartsRealm.framework */;
+			productType = "com.apple.product-type.framework";
+		};
 		5BA8EC3F1A9D14DC00CE82E1 /* ChartsRealm-iOS */ = {
 		5BA8EC3F1A9D14DC00CE82E1 /* ChartsRealm-iOS */ = {
 			isa = PBXNativeTarget;
 			isa = PBXNativeTarget;
 			buildConfigurationList = 5BA8EC561A9D14DC00CE82E1 /* Build configuration list for PBXNativeTarget "ChartsRealm-iOS" */;
 			buildConfigurationList = 5BA8EC561A9D14DC00CE82E1 /* Build configuration list for PBXNativeTarget "ChartsRealm-iOS" */;
@@ -358,6 +431,7 @@
 			targets = (
 			targets = (
 				5BA8EC3F1A9D14DC00CE82E1 /* ChartsRealm-iOS */,
 				5BA8EC3F1A9D14DC00CE82E1 /* ChartsRealm-iOS */,
 				A52C5C361BAC5CA400594CDD /* ChartsRealm-TV */,
 				A52C5C361BAC5CA400594CDD /* ChartsRealm-TV */,
+				5BA899241CADB7F20012ED64 /* ChartsRealm-OSX */,
 			);
 			);
 		};
 		};
 /* End PBXProject section */
 /* End PBXProject section */
@@ -394,6 +468,13 @@
 /* End PBXReferenceProxy section */
 /* End PBXReferenceProxy section */
 
 
 /* Begin PBXResourcesBuildPhase section */
 /* Begin PBXResourcesBuildPhase section */
+		5BA8993F1CADB7F20012ED64 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		5BA8EC3E1A9D14DC00CE82E1 /* Resources */ = {
 		5BA8EC3E1A9D14DC00CE82E1 /* Resources */ = {
 			isa = PBXResourcesBuildPhase;
 			isa = PBXResourcesBuildPhase;
 			buildActionMask = 2147483647;
 			buildActionMask = 2147483647;
@@ -411,6 +492,32 @@
 /* End PBXResourcesBuildPhase section */
 /* End PBXResourcesBuildPhase section */
 
 
 /* Begin PBXSourcesBuildPhase section */
 /* Begin PBXSourcesBuildPhase section */
+		5BA899251CADB7F20012ED64 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				5BA899261CADB7F20012ED64 /* RealmLineRadarDataSet.swift in Sources */,
+				5BA899271CADB7F20012ED64 /* RealmPieDataSet.swift in Sources */,
+				5BA899281CADB7F20012ED64 /* RealmLineDataSet.swift in Sources */,
+				5BA899291CADB7F20012ED64 /* RealmChartUtils.swift in Sources */,
+				5BA8992A1CADB7F20012ED64 /* RealmScatterDataSet.swift in Sources */,
+				5BA8992B1CADB7F20012ED64 /* RealmBarData.swift in Sources */,
+				5BA8992C1CADB7F20012ED64 /* RealmBarDataSet.swift in Sources */,
+				5BA8992D1CADB7F20012ED64 /* RealmBaseDataSet.swift in Sources */,
+				5BA8992E1CADB7F20012ED64 /* RealmCandleDataSet.swift in Sources */,
+				5BA8992F1CADB7F20012ED64 /* RealmCandleData.swift in Sources */,
+				5BA899301CADB7F20012ED64 /* RealmBubbleData.swift in Sources */,
+				5BA899311CADB7F20012ED64 /* RealmBarLineScatterCandleBubbleDataSet.swift in Sources */,
+				5BA899321CADB7F20012ED64 /* RealmScatterData.swift in Sources */,
+				5BA899331CADB7F20012ED64 /* RealmBubbleDataSet.swift in Sources */,
+				5BA899341CADB7F20012ED64 /* RealmLineScatterCandleRadarDataSet.swift in Sources */,
+				5BA899351CADB7F20012ED64 /* RealmRadarDataSet.swift in Sources */,
+				5BA899361CADB7F20012ED64 /* RealmLineData.swift in Sources */,
+				5BA899371CADB7F20012ED64 /* RealmPieData.swift in Sources */,
+				5BA899381CADB7F20012ED64 /* RealmRadarData.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		5BA8EC3B1A9D14DC00CE82E1 /* Sources */ = {
 		5BA8EC3B1A9D14DC00CE82E1 /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
 			buildActionMask = 2147483647;
@@ -466,6 +573,59 @@
 /* End PBXSourcesBuildPhase section */
 /* End PBXSourcesBuildPhase section */
 
 
 /* Begin XCBuildConfiguration section */
 /* Begin XCBuildConfiguration section */
+		5BA899411CADB7F20012ED64 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				CLANG_ENABLE_MODULES = YES;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/ThirdParty",
+					"$(PROJECT_DIR)/ThirdParty/Realm/osx",
+				);
+				INFOPLIST_FILE = "Supporting Files/Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.dcg.ChartsRealmOSX;
+				PRODUCT_NAME = ChartsRealm;
+				PROVISIONING_PROFILE = "";
+				SDKROOT = macosx;
+				SKIP_INSTALL = YES;
+				SUPPORTED_PLATFORMS = macosx;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+			};
+			name = Debug;
+		};
+		5BA899421CADB7F20012ED64 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				CLANG_ENABLE_MODULES = YES;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/ThirdParty",
+					"$(PROJECT_DIR)/ThirdParty/Realm/osx",
+				);
+				INFOPLIST_FILE = "Supporting Files/Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.dcg.ChartsRealmOSX;
+				PRODUCT_NAME = ChartsRealm;
+				PROVISIONING_PROFILE = "";
+				SDKROOT = macosx;
+				SKIP_INSTALL = YES;
+				SUPPORTED_PLATFORMS = macosx;
+			};
+			name = Release;
+		};
 		5BA8EC541A9D14DC00CE82E1 /* Debug */ = {
 		5BA8EC541A9D14DC00CE82E1 /* Debug */ = {
 			isa = XCBuildConfiguration;
 			isa = XCBuildConfiguration;
 			buildSettings = {
 			buildSettings = {
@@ -614,7 +774,6 @@
 					"$(inherited)",
 					"$(inherited)",
 					"$(PROJECT_DIR)/ThirdParty",
 					"$(PROJECT_DIR)/ThirdParty",
 					"$(PROJECT_DIR)/ThirdParty/Realm/tvos",
 					"$(PROJECT_DIR)/ThirdParty/Realm/tvos",
-					"$(PROJECT_DIR)/ThirdParty/Realm/ios",
 				);
 				);
 				INFOPLIST_FILE = "Supporting Files/Info.plist";
 				INFOPLIST_FILE = "Supporting Files/Info.plist";
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -643,7 +802,6 @@
 					"$(inherited)",
 					"$(inherited)",
 					"$(PROJECT_DIR)/ThirdParty",
 					"$(PROJECT_DIR)/ThirdParty",
 					"$(PROJECT_DIR)/ThirdParty/Realm/tvos",
 					"$(PROJECT_DIR)/ThirdParty/Realm/tvos",
-					"$(PROJECT_DIR)/ThirdParty/Realm/ios",
 				);
 				);
 				INFOPLIST_FILE = "Supporting Files/Info.plist";
 				INFOPLIST_FILE = "Supporting Files/Info.plist";
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -661,6 +819,15 @@
 /* End XCBuildConfiguration section */
 /* End XCBuildConfiguration section */
 
 
 /* Begin XCConfigurationList section */
 /* Begin XCConfigurationList section */
+		5BA899401CADB7F20012ED64 /* Build configuration list for PBXNativeTarget "ChartsRealm-OSX" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				5BA899411CADB7F20012ED64 /* Debug */,
+				5BA899421CADB7F20012ED64 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
 		5BA8EC3A1A9D14DC00CE82E1 /* Build configuration list for PBXProject "ChartsRealm" */ = {
 		5BA8EC3A1A9D14DC00CE82E1 /* Build configuration list for PBXProject "ChartsRealm" */ = {
 			isa = XCConfigurationList;
 			isa = XCConfigurationList;
 			buildConfigurations = (
 			buildConfigurations = (

+ 80 - 0
ChartsRealm/ChartsRealm.xcodeproj/xcshareddata/xcschemes/ChartsRealm-OSX.xcscheme

@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0730"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "5BA899241CADB7F20012ED64"
+               BuildableName = "ChartsRealm.framework"
+               BlueprintName = "ChartsRealm-OSX"
+               ReferencedContainer = "container:ChartsRealm.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+      </Testables>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "5BA899241CADB7F20012ED64"
+            BuildableName = "ChartsRealm.framework"
+            BlueprintName = "ChartsRealm-OSX"
+            ReferencedContainer = "container:ChartsRealm.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "5BA899241CADB7F20012ED64"
+            BuildableName = "ChartsRealm.framework"
+            BlueprintName = "ChartsRealm-OSX"
+            ReferencedContainer = "container:ChartsRealm.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>

+ 2 - 2
ChartsRealm/Classes/Data/RealmRadarDataSet.swift

@@ -36,11 +36,11 @@ public class RealmRadarDataSet: RealmLineRadarDataSet, IRadarChartDataSet
     /// - returns: true if highlight circle should be drawn, false if not
     /// - returns: true if highlight circle should be drawn, false if not
     public var isDrawHighlightCircleEnabled: Bool { return drawHighlightCircleEnabled }
     public var isDrawHighlightCircleEnabled: Bool { return drawHighlightCircleEnabled }
     
     
-    public var highlightCircleFillColor: UIColor? = UIColor.whiteColor()
+    public var highlightCircleFillColor: NSUIColor? = NSUIColor.whiteColor()
     
     
     /// The stroke color for highlight circle.
     /// The stroke color for highlight circle.
     /// If `nil`, the color of the dataset is taken.
     /// If `nil`, the color of the dataset is taken.
-    public var highlightCircleStrokeColor: UIColor?
+    public var highlightCircleStrokeColor: NSUIColor?
     
     
     public var highlightCircleStrokeAlpha: CGFloat = 0.3
     public var highlightCircleStrokeAlpha: CGFloat = 0.3
     
     

+ 1 - 1
ChartsRealm/Supporting Files/ChartsRealm.h

@@ -12,7 +12,7 @@
 //  https://github.com/danielgindi/ios-charts
 //  https://github.com/danielgindi/ios-charts
 //
 //
 
 
-#import <UIKit/UIKit.h>
+#import <Foundation/Foundation.h>
 
 
 //! Project version number for ChartsRealm.
 //! Project version number for ChartsRealm.
 FOUNDATION_EXPORT double ChartsRealmVersionNumber;
 FOUNDATION_EXPORT double ChartsRealmVersionNumber;

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 795 - 180
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/B7E6B987-25C6-35D2-A39E-CD1F26B4B565.bcsymbolmap


+ 176 - 0
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/CHANGELOG.md

@@ -1,3 +1,179 @@
+0.98.6 Release notes (2016-03-25)
+=============================================================
+
+Prebuilt frameworks are now built with Xcode 7.3.
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix running unit tests on iOS simulators and devices with Xcode 7.3.
+
+0.98.5 Release notes (2016-03-14)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix a crash when opening a Realm on 32-bit iOS devices.
+
+0.98.4 Release notes (2016-03-10)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Properly report changes made by adding an object to a Realm with
+  addOrUpdate:/createOrUpdate: to KVO observers for existing objects with that
+  primary key.
+* Fix crashes and assorted issues when a migration which added object link
+  properties is rolled back due to an error in the migration block.
+* Fix assertion failures when deleting objects within a migration block of a
+  type which had an object link property added in that migration.
+* Fix an assertion failure in `Query::apply_patch` when updating certain kinds
+  of queries after a write transaction is committed.
+
+0.98.3 Release notes (2016-02-26)
+=============================================================
+
+### Enhancements
+
+* Initializing the shared schema is 3x faster.
+
+### Bugfixes
+
+* Using Realm Objective-C from Swift while having Realm Swift linked no longer causes that the
+  declared `ignoredProperties` are not taken into account.
+* Fix assertion failures when rolling back a migration which added Object link
+  properties to a class.
+* Fix potential errors when cancelling a write transaction which modified
+  multiple `RLMArray`/`List` properties.
+* Report the correct value for inWriteTransaction after attempting to commit a
+  write transaction fails.
+* Support CocoaPods 1.0 beginning from prerelease 1.0.0.beta.4 while retaining
+  backwards compatibility with 0.39.
+
+0.98.2 Release notes (2016-02-18)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Aggregate operations (`ANY`, `NONE`, `@count`, `SUBQUERY`, etc.) are now supported for key paths
+  that begin with an object relationship so long as there is a `RLMArray`/`List` property at some
+  point in a key path.
+* Predicates of the form `%@ IN arrayProperty` are now supported.
+
+### Bugfixes
+
+* Use of KVC collection operators on Swift collection types no longer throws an exception.
+* Fix reporting of inWriteTransaction in notifications triggered by
+  `beginWriteTransaction`.
+* The contents of `List` and `Optional` properties are now correctly preserved when copying
+  a Swift object from one Realm to another, and performing other operations that result in a
+  Swift object graph being recursively traversed from Objective-C.
+* Fix a deadlock when queries are performed within a Realm notification block.
+* The `ANY` / `SOME` / `NONE` qualifiers are now required in comparisons involving a key path that
+  traverse a `RLMArray`/`List` property. Previously they were only required if the first key in the
+  key path was an `RLMArray`/`List` property.
+* Fix several scenarios where the default schema would be initialized
+  incorrectly if the first Realm opened used a restricted class subset (via
+  `objectClasses`/`objectTypes`).
+
+0.98.1 Release notes (2016-02-10)
+=============================================================
+
+### Bugfixes
+
+* Fix crashes when deleting an object containing an `RLMArray`/`List` which had
+  previously been queried.
+* Fix a crash when deleting an object containing an `RLMArray`/`List` with
+  active notification blocks.
+* Fix duplicate file warnings when building via CocoaPods.
+* Fix crash or incorrect results when calling `indexOfObject:` on an
+  `RLMResults` derived from an `RLMArray`.
+
+0.98.0 Release notes (2016-02-04)
+=============================================================
+
+### API breaking changes
+
+* `+[RLMRealm realmWithPath:]`/`Realm.init(path:)` now inherits from the default
+  configuration.
+* Swift 1.2 is no longer supported.
+
+### Enhancements
+
+* Add `addNotificationBlock` to `RLMResults`, `Results`, `RLMArray`, and
+  `List`, which calls the given block whenever the collection changes.
+* Do a lot of the work for keeping `RLMResults`/`Results` up-to-date after
+  write transactions on a background thread to help avoid blocking the main
+  thread.
+* `NSPredicate`'s `SUBQUERY` operator is now supported. It has the following limitations:
+  * `@count` is the only operator that may be applied to the `SUBQUERY` expression.
+  * The `SUBQUERY(…).@count` expression must be compared with a constant.
+  * Correlated subqueries are not yet supported.
+
+### Bugfixes
+
+* None.
+
+0.97.1 Release notes (2016-01-29)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Swift: Added `Error` enum allowing to catch errors e.g. thrown on initializing
+  `RLMRealm`/`Realm` instances.
+* Fail with `RLMErrorFileNotFound` instead of the more generic `RLMErrorFileAccess`,
+  if no file was found when a realm was opened as read-only or if the directory part
+  of the specified path was not found when a copy should be written. 
+* Greatly improve performance when deleting objects with one or more indexed
+  properties.
+* Indexing `BOOL`/`Bool` and `NSDate` properties are now supported.
+* Swift: Add support for indexing optional properties.
+
+### Bugfixes
+
+* Fix incorrect results or crashes when using `-[RLMResults setValue:forKey:]`
+  on an RLMResults which was filtered on the key being set.
+* Fix crashes when an RLMRealm is deallocated from the wrong thread.
+* Fix incorrect results from aggregate methods on `Results`/`RLMResults` after
+  objects which were previously in the results are deleted.
+* Fix a crash when adding a new property to an existing class with over a
+  million objects in the Realm.
+* Fix errors when opening encrypted Realm files created with writeCopyToPath.
+* Fix crashes or incorrect results for queries that use relationship equality
+  in cases where the `RLMResults` is kept alive and instances of the target class
+  of the relationship are deleted.
+
 0.97.0 Release notes (2015-12-17)
 0.97.0 Release notes (2015-12-17)
 =============================================================
 =============================================================
 
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 740 - 319
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/F21CE448-56C2-35BC-B83A-DE0DB0183DCE.bcsymbolmap


+ 26 - 1
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMArray.h

@@ -23,7 +23,7 @@
 
 
 RLM_ASSUME_NONNULL_BEGIN
 RLM_ASSUME_NONNULL_BEGIN
 
 
-@class RLMObject, RLMRealm, RLMResults RLM_GENERIC_COLLECTION;
+@class RLMObject, RLMRealm, RLMResults RLM_GENERIC_COLLECTION, RLMNotificationToken;
 
 
 /**
 /**
 
 
@@ -228,6 +228,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Gets the index of the first object matching the predicate.
  Gets the index of the first object matching the predicate.
 
 
@@ -246,6 +249,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
 - (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Get objects matching the given predicate in the RLMArray.
  Get objects matching the given predicate in the RLMArray.
 
 
@@ -280,6 +286,25 @@ RLM_ASSUME_NONNULL_BEGIN
 /// :nodoc:
 /// :nodoc:
 - (void)setObject:(RLMObjectType)newValue atIndexedSubscript:(NSUInteger)index;
 - (void)setObject:(RLMObjectType)newValue atIndexedSubscript:(NSUInteger)index;
 
 
+#pragma mark - Notifications
+
+/**
+ Register a block to be called each time the RLMArray changes.
+
+ The block will be asynchronously called with the initial array, and then
+ called again after each write transaction which changes the array or any
+ items contained in the array. You must retain the returned token for as long as
+ you want the block to continue to be called. To stop receiving updates, call
+ `-stop` on the token.
+
+ The error parameter will always be `nil`, and is present only for compatiblity
+ with the RLMResults version of this method, which can potentially fail.
+
+ @param block The block to be called each time the array changes.
+ @return A token which must be held for as long as you want notifications to be delivered.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(void (^)(RLMArray RLM_GENERIC_RETURN *array, NSError *))block RLM_WARN_UNUSED_RESULT;
+
 #pragma mark - Unavailable Methods
 #pragma mark - Unavailable Methods
 
 
 /**
 /**

+ 17 - 1
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMCollection.h

@@ -20,7 +20,7 @@
 
 
 RLM_ASSUME_NONNULL_BEGIN
 RLM_ASSUME_NONNULL_BEGIN
 
 
-@class RLMRealm, RLMResults, RLMObject, RLMSortDescriptor;
+@class RLMRealm, RLMResults, RLMObject, RLMSortDescriptor, RLMNotificationToken;
 
 
 /**
 /**
  A homogenous collection of `RLMObject`s like `RLMArray` or `RLMResults`.
  A homogenous collection of `RLMObject`s like `RLMArray` or `RLMResults`.
@@ -95,6 +95,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Gets the index of the first object matching the predicate.
  Gets the index of the first object matching the predicate.
  
  
@@ -113,6 +116,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (RLMResults *)objectsWhere:(NSString *)predicateFormat, ...;
 - (RLMResults *)objectsWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (RLMResults *)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Get objects matching the given predicate in the RLMCollection.
  Get objects matching the given predicate in the RLMCollection.
  
  
@@ -163,6 +169,16 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (void)setValue:(nullable id)value forKey:(NSString *)key;
 - (void)setValue:(nullable id)value forKey:(NSString *)key;
 
 
+#pragma mark - Notifications
+
+/**
+ Register a block to be called each time the collection changes.
+
+ @param block The block to be called each time the collection changes.
+ @return A token which must be held for as long as you want notifications to be delivered.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(void (^)(id<RLMCollection> collection))block RLM_WARN_UNUSED_RESULT;
+
 @end
 @end
 
 
 RLM_ASSUME_NONNULL_END
 RLM_ASSUME_NONNULL_END

+ 5 - 3
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMConstants.h

@@ -65,13 +65,15 @@ typedef NS_ENUM(NSInteger, RLMError) {
     /** Returned by RLMRealm if no other specific error is returned when a realm is opened. */
     /** Returned by RLMRealm if no other specific error is returned when a realm is opened. */
     RLMErrorFail                  = 1,
     RLMErrorFail                  = 1,
     /** Returned by RLMRealm for any I/O related exception scenarios when a realm is opened. */
     /** Returned by RLMRealm for any I/O related exception scenarios when a realm is opened. */
-    RLMErrorFileAccessError       = 2,
+    RLMErrorFileAccess            = 2,
     /** Returned by RLMRealm if the user does not have permission to open or create
     /** Returned by RLMRealm if the user does not have permission to open or create
         the specified file in the specified access mode when the realm is opened. */
         the specified file in the specified access mode when the realm is opened. */
     RLMErrorFilePermissionDenied  = 3,
     RLMErrorFilePermissionDenied  = 3,
-    /** Returned by RLMRealm if no_create was specified and the file did already exist when the realm is opened. */
+    /** Returned by RLMRealm if the file already exists when a copy should be written. */
     RLMErrorFileExists            = 4,
     RLMErrorFileExists            = 4,
-    /** Returned by RLMRealm if no_create was specified and the file was not found when the realm is opened. */
+    /** Returned by RLMRealm if no file was found when a realm was opened as
+        read-only or if the directory part of the specified path was not
+        found when a copy should be written. */
     RLMErrorFileNotFound          = 5,
     RLMErrorFileNotFound          = 5,
     /** Returned by RLMRealm if a file format upgrade is required to open the file, but upgrades were explicilty disabled. */
     /** Returned by RLMRealm if a file format upgrade is required to open the file, but upgrades were explicilty disabled. */
     RLMErrorFileFormatUpgradeRequired = 6,
     RLMErrorFileFormatUpgradeRequired = 6,

+ 8 - 0
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMDefines.h

@@ -78,6 +78,14 @@ typedef RLMObject * RLMObjectArgument;
 #  define RLM_NOESCAPE
 #  define RLM_NOESCAPE
 #endif
 #endif
 
 
+#pragma mark - Unused Result
+
+#if __has_attribute(warn_unused_result)
+#  define RLM_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+#  define RLM_WARN_UNUSED_RESULT
+#endif
+
 #pragma mark - Swift Availability
 #pragma mark - Swift Availability
 
 
 #if defined(NS_SWIFT_UNAVAILABLE)
 #if defined(NS_SWIFT_UNAVAILABLE)

+ 6 - 0
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMObject.h

@@ -297,6 +297,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 + (RLMResults *)objectsWhere:(NSString *)predicateFormat, ...;
 + (RLMResults *)objectsWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
++ (RLMResults *)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
 
 
 /**
 /**
  Get objects matching the given predicate for this type from the default Realm.
  Get objects matching the given predicate for this type from the default Realm.
@@ -343,6 +346,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 + (RLMResults *)objectsInRealm:(RLMRealm *)realm where:(NSString *)predicateFormat, ...;
 + (RLMResults *)objectsInRealm:(RLMRealm *)realm where:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
++ (RLMResults *)objectsInRealm:(RLMRealm *)realm where:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Get objects matching the given predicate for this type from the specified Realm.
  Get objects matching the given predicate for this type from the specified Realm.
 
 

+ 12 - 6
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMRealm.h

@@ -125,8 +125,7 @@ RLM_ASSUME_NONNULL_BEGIN
 #pragma mark - Notifications
 #pragma mark - Notifications
 
 
 /// Block to run when the data in a Realm was modified.
 /// Block to run when the data in a Realm was modified.
-typedef void(^RLMNotificationBlock)(NSString *notification, RLMRealm *realm);
-
+typedef void (^RLMNotificationBlock)(NSString *notification, RLMRealm *realm);
 
 
 #pragma mark - Receiving Notification when a Realm Changes
 #pragma mark - Receiving Notification when a Realm Changes
 
 
@@ -152,10 +151,10 @@ typedef void(^RLMNotificationBlock)(NSString *notification, RLMRealm *realm);
 
 
  @param block   A block which is called to process RLMRealm notifications.
  @param block   A block which is called to process RLMRealm notifications.
 
 
- @return A token object which can later be passed to `-removeNotification:`
-         to remove this notification.
+ @return A token object which must be stored as long as you wish to continue
+         receiving change notifications.
  */
  */
-- (RLMNotificationToken *)addNotificationBlock:(RLMNotificationBlock)block;
+- (RLMNotificationToken *)addNotificationBlock:(RLMNotificationBlock)block RLM_WARN_UNUSED_RESULT;
 
 
 /**
 /**
  Remove a previously registered notification handler using the token returned
  Remove a previously registered notification handler using the token returned
@@ -505,9 +504,16 @@ typedef void (^RLMMigrationBlock)(RLMMigration *migration, uint64_t oldSchemaVer
 @end
 @end
 
 
 /**
 /**
- Notification token - holds onto the realm and the notification block
+ A token which is returned from methods which subscribe to changes to a Realm.
+
+ Change subscriptions in Realm return an RLMNotificationToken which can be used
+ to unsubscribe from the changes. You must store a strong reference to the token
+ for as long as you want to continue to receive notifications. When you wish to
+ stop, call the `-stop` method.
  */
  */
 @interface RLMNotificationToken : NSObject
 @interface RLMNotificationToken : NSObject
+/// Stop receiving notifications for the subcription that returned this token.
+- (void)stop;
 @end
 @end
 
 
 RLM_ASSUME_NONNULL_END
 RLM_ASSUME_NONNULL_END

+ 56 - 4
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Headers/RLMResults.h

@@ -22,7 +22,7 @@
 
 
 RLM_ASSUME_NONNULL_BEGIN
 RLM_ASSUME_NONNULL_BEGIN
 
 
-@class RLMObject, RLMRealm;
+@class RLMObject, RLMRealm, RLMNotificationToken;
 
 
 /**
 /**
  RLMResults is an auto-updating container type in Realm returned from object
  RLMResults is an auto-updating container type in Realm returned from object
@@ -31,6 +31,22 @@ RLM_ASSUME_NONNULL_BEGIN
  RLMResults can be queried with the same predicates as RLMObject and RLMArray
  RLMResults can be queried with the same predicates as RLMObject and RLMArray
  and you can chain queries to further filter query results.
  and you can chain queries to further filter query results.
 
 
+ RLMResults always reflect the current state of the Realm on the current thread,
+ including during write transactions on the current thread. The one exception to
+ this is when using `for...in` fast enumeration, which will always enumerate
+ over the objects which matched the query when the enumeration is begun, even if
+ some of them are deleted or modified to be excluded by the filter during the
+ enumeration.
+
+ RLMResults are initially lazily evaluated, and only run queries when the result
+ of the query is requested. This means that chaining several temporary
+ RLMResults to sort and filter your data does not perform any extra work
+ processing the intermediate state.
+
+ Once the results have been evaluated or a notification block has been added,
+ the results are eagerly kept up-to-date, with the work done to keep them
+ up-to-date done on a background thread whenever possible.
+
  RLMResults cannot be created directly.
  RLMResults cannot be created directly.
  */
  */
 @interface RLMResults RLM_GENERIC_COLLECTION : NSObject<RLMCollection, NSFastEnumeration>
 @interface RLMResults RLM_GENERIC_COLLECTION : NSObject<RLMCollection, NSFastEnumeration>
@@ -81,9 +97,6 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (nullable RLMObjectType)lastObject;
 - (nullable RLMObjectType)lastObject;
 
 
-
-
-
 #pragma mark - Querying Results
 #pragma mark - Querying Results
 
 
 /**
 /**
@@ -104,6 +117,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Gets the index of the first object matching the predicate.
  Gets the index of the first object matching the predicate.
 
 
@@ -122,6 +138,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
 - (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Get objects matching the given predicate in the RLMResults.
  Get objects matching the given predicate in the RLMResults.
 
 
@@ -150,6 +169,39 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (RLMResults RLM_GENERIC_RETURN*)sortedResultsUsingDescriptors:(NSArray *)properties;
 - (RLMResults RLM_GENERIC_RETURN*)sortedResultsUsingDescriptors:(NSArray *)properties;
 
 
+#pragma mark - Notifications
+
+/**
+ Register a block to be called each time the RLMResults changes.
+
+ The block will be asynchronously called with the initial results, and then
+ called again after each write transaction which causes the results to change.
+ You must retain the returned token for as long as you want the results to
+ continue to be sent to the block. To stop receiving updates, call -stop on the
+ token.
+
+ The determination for whether or not a write transaction has changed the
+ results is currently very coarse, and the block may be called even if no
+ changes occurred. The opposite (not being called despite changes) will not
+ happen. This will become more precise in future versions.
+
+ If an error occurs the block will be called with `nil` for the results
+ parameter and a non-`nil` error. Currently the only errors that can occur are
+ when opening the RLMRealm on the background worker thread or the destination
+ queue fails.
+
+ At the time when the block is called, the RLMResults object will be fully
+ evaluated and up-to-date, and as long as you do not perform a write transaction
+ on the same thread or explicitly call `-[RLMRealm refresh]`, accessing it will
+ never perform blocking work.
+
+ @warning This method cannot be called during a write transaction, or when the
+          containing realm is read-only.
+
+ @param block The block to be called with the evaluated results.
+ @return A token which must be held for as long as you want query results to be delivered.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(void (^)(RLMResults RLM_GENERIC_RETURN *__nullable results, NSError *__nullable error))block RLM_WARN_UNUSED_RESULT;
 
 
 #pragma mark - Aggregating Property Values
 #pragma mark - Aggregating Property Values
 
 

BIN
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Info.plist


+ 0 - 1
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMAccessor.h

@@ -60,6 +60,5 @@ void RLMReplaceClassNameMethod(Class accessorClass, NSString *className);
 
 
 // Replace sharedSchema method for the given class
 // Replace sharedSchema method for the given class
 void RLMReplaceSharedSchemaMethod(Class accessorClass, RLMObjectSchema * __nullable schema);
 void RLMReplaceSharedSchemaMethod(Class accessorClass, RLMObjectSchema * __nullable schema);
-void RLMReplaceSharedSchemaMethodWithBlock(Class accessorClass, RLMObjectSchema *(^method)(Class));
 
 
 RLM_ASSUME_NONNULL_END
 RLM_ASSUME_NONNULL_END

+ 1 - 1
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMObjectSchema_Private.h

@@ -35,7 +35,7 @@ RLM_ASSUME_NONNULL_BEGIN
 @property (nonatomic, readwrite, assign) Class accessorClass;
 @property (nonatomic, readwrite, assign) Class accessorClass;
 @property (nonatomic, readwrite, assign) Class standaloneClass;
 @property (nonatomic, readwrite, assign) Class standaloneClass;
 
 
-@property (nonatomic, readwrite) RLMProperty *primaryKeyProperty;
+@property (nonatomic, readwrite, nullable) RLMProperty *primaryKeyProperty;
 
 
 @property (nonatomic, readonly) NSArray RLM_GENERIC(RLMProperty *) *propertiesInDeclaredOrder;
 @property (nonatomic, readonly) NSArray RLM_GENERIC(RLMProperty *) *propertiesInDeclaredOrder;
 
 

+ 3 - 0
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMObject_Private.h

@@ -38,6 +38,9 @@
 // shared schema for this class
 // shared schema for this class
 + (RLMObjectSchema *)sharedSchema;
 + (RLMObjectSchema *)sharedSchema;
 
 
+// provide injection point for alternative Swift object util class
++ (Class)objectUtilClass:(BOOL)isSwift;
+
 @end
 @end
 
 
 @interface RLMDynamicObject : RLMObject
 @interface RLMDynamicObject : RLMObject

+ 1 - 1
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMOptionalBase.h

@@ -29,6 +29,6 @@
 
 
 @property (nonatomic, unsafe_unretained) RLMProperty *property;
 @property (nonatomic, unsafe_unretained) RLMProperty *property;
 
 
-@property (nonatomic) id underlyingValue;
+@property (nonatomic, strong) id underlyingValue;
 
 
 @end
 @end

+ 1 - 0
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMProperty_Private.h

@@ -42,6 +42,7 @@ FOUNDATION_EXTERN BOOL RLMPropertyTypeIsNumeric(RLMPropertyType propertyType);
                               objectClassName:(NSString *)objectClassName;
                               objectClassName:(NSString *)objectClassName;
 
 
 - (instancetype)initSwiftOptionalPropertyWithName:(NSString *)name
 - (instancetype)initSwiftOptionalPropertyWithName:(NSString *)name
+                                          indexed:(BOOL)indexed
                                              ivar:(Ivar)ivar
                                              ivar:(Ivar)ivar
                                      propertyType:(RLMPropertyType)propertyType;
                                      propertyType:(RLMPropertyType)propertyType;
 
 

+ 5 - 1
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMRealm_Private.h

@@ -25,6 +25,10 @@ FOUNDATION_EXTERN void RLMDisableSyncToDisk();
 
 
 FOUNDATION_EXTERN NSData *RLMRealmValidatedEncryptionKey(NSData *key);
 FOUNDATION_EXTERN NSData *RLMRealmValidatedEncryptionKey(NSData *key);
 
 
+// Translate an in-flight exception resulting from opening a SharedGroup to
+// an NSError or NSException (if error is nil)
+void RLMRealmTranslateException(NSError **error);
+
 // RLMRealm private members
 // RLMRealm private members
 @interface RLMRealm ()
 @interface RLMRealm ()
 
 
@@ -74,8 +78,8 @@ FOUNDATION_EXTERN NSData *RLMRealmValidatedEncryptionKey(NSData *key);
 - (void)detachAllEnumerators;
 - (void)detachAllEnumerators;
 
 
 - (void)sendNotifications:(NSString *)notification;
 - (void)sendNotifications:(NSString *)notification;
-- (void)notify;
 - (void)verifyThread;
 - (void)verifyThread;
+- (void)verifyNotificationsAreSupported;
 
 
 + (NSString *)writeableTemporaryPathForFile:(NSString *)fileName;
 + (NSString *)writeableTemporaryPathForFile:(NSString *)fileName;
 
 

+ 2 - 3
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/PrivateHeaders/RLMSchema_Private.h

@@ -49,15 +49,14 @@ RLM_ASSUME_NONNULL_BEGIN
 // schema based upon all currently registered object classes
 // schema based upon all currently registered object classes
 + (instancetype)partialSharedSchema;
 + (instancetype)partialSharedSchema;
 
 
-// schema based on tables in a Realm
-+ (instancetype)dynamicSchemaFromRealm:(RLMRealm *)realm;
-
 // class for string
 // class for string
 + (nullable Class)classForString:(NSString *)className;
 + (nullable Class)classForString:(NSString *)className;
 
 
 // shallow copy for reusing schema properties accross the same Realm on multiple threads
 // shallow copy for reusing schema properties accross the same Realm on multiple threads
 - (instancetype)shallowCopy;
 - (instancetype)shallowCopy;
 
 
++ (RLMObjectSchema *)sharedSchemaForClass:(Class)cls;
+
 @end
 @end
 
 
 RLM_ASSUME_NONNULL_END
 RLM_ASSUME_NONNULL_END

BIN
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/Realm


+ 367 - 122
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/_CodeSignature/CodeResources

@@ -6,23 +6,23 @@
 	<dict>
 	<dict>
 		<key>CHANGELOG.md</key>
 		<key>CHANGELOG.md</key>
 		<data>
 		<data>
-		WtRnippLvfyXgYBTNBxbLpRbSBs=
+		ITzch5xw9HT+qCF2kFm9jnfI9/0=
 		</data>
 		</data>
 		<key>Headers/RLMArray.h</key>
 		<key>Headers/RLMArray.h</key>
 		<data>
 		<data>
-		bRs8XaYmHk0IHomL+DoLg9VIQcs=
+		cWNUcfhY6hCPSbG1XTBUk6upsvM=
 		</data>
 		</data>
 		<key>Headers/RLMCollection.h</key>
 		<key>Headers/RLMCollection.h</key>
 		<data>
 		<data>
-		h4bGbTfAAbi6elYEeJrJjXPqt08=
+		NaMCSK+nyb1Pqcg3yQKxbaqY8Us=
 		</data>
 		</data>
 		<key>Headers/RLMConstants.h</key>
 		<key>Headers/RLMConstants.h</key>
 		<data>
 		<data>
-		XqUg6H8LD1r47czttNT7tWKNEj0=
+		JziISMzAF+7cdG5K+Uhudb4IsTA=
 		</data>
 		</data>
 		<key>Headers/RLMDefines.h</key>
 		<key>Headers/RLMDefines.h</key>
 		<data>
 		<data>
-		LTBLIMI2hpGzefHHDJFlrFyBKbk=
+		yh8n2Di0gnu6CRX5+5Cm/7ND2wE=
 		</data>
 		</data>
 		<key>Headers/RLMMigration.h</key>
 		<key>Headers/RLMMigration.h</key>
 		<data>
 		<data>
@@ -30,7 +30,7 @@
 		</data>
 		</data>
 		<key>Headers/RLMObject.h</key>
 		<key>Headers/RLMObject.h</key>
 		<data>
 		<data>
-		IEyXRi6XT8aREje0aq4u1ojSfhw=
+		fscotHX2wNSSis/Q/u6wXc44x98=
 		</data>
 		</data>
 		<key>Headers/RLMObjectBase.h</key>
 		<key>Headers/RLMObjectBase.h</key>
 		<data>
 		<data>
@@ -54,7 +54,7 @@
 		</data>
 		</data>
 		<key>Headers/RLMRealm.h</key>
 		<key>Headers/RLMRealm.h</key>
 		<data>
 		<data>
-		bgO+AUJolw7Xh0MHh/QoKnAieIg=
+		yI37+etIOP1lbiMx47ZNHZitOQQ=
 		</data>
 		</data>
 		<key>Headers/RLMRealmConfiguration.h</key>
 		<key>Headers/RLMRealmConfiguration.h</key>
 		<data>
 		<data>
@@ -66,7 +66,7 @@
 		</data>
 		</data>
 		<key>Headers/RLMResults.h</key>
 		<key>Headers/RLMResults.h</key>
 		<data>
 		<data>
-		pP+fyUttoujCFSw7GoeRn360Uck=
+		wAjPg6EEAPutMjaL9KdXM4D7X6k=
 		</data>
 		</data>
 		<key>Headers/RLMSchema.h</key>
 		<key>Headers/RLMSchema.h</key>
 		<data>
 		<data>
@@ -78,7 +78,7 @@
 		</data>
 		</data>
 		<key>Info.plist</key>
 		<key>Info.plist</key>
 		<data>
 		<data>
-		Qi3tX1ETKnUqfCbSA7ds0j59GDQ=
+		mRwcapvCGt+TKwdtuiaY5I3zUSc=
 		</data>
 		</data>
 		<key>LICENSE</key>
 		<key>LICENSE</key>
 		<data>
 		<data>
@@ -90,7 +90,7 @@
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMAccessor.h</key>
 		<key>PrivateHeaders/RLMAccessor.h</key>
 		<data>
 		<data>
-		frmri5ACsKv2OnJX6jRK060rV7I=
+		goWWAaGV8ebKEnQuc+Cv+2A7GCU=
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMArray_Private.h</key>
 		<key>PrivateHeaders/RLMArray_Private.h</key>
 		<data>
 		<data>
@@ -106,7 +106,7 @@
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMObjectSchema_Private.h</key>
 		<key>PrivateHeaders/RLMObjectSchema_Private.h</key>
 		<data>
 		<data>
-		suyvJeELVvYHFmMzTDZzHJRNI70=
+		eRu3sG//nx+XMcgyaQBRYv+wZUU=
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMObjectStore.h</key>
 		<key>PrivateHeaders/RLMObjectStore.h</key>
 		<data>
 		<data>
@@ -114,15 +114,15 @@
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMObject_Private.h</key>
 		<key>PrivateHeaders/RLMObject_Private.h</key>
 		<data>
 		<data>
-		QIad9fS9NNa0vUf1myF5yGQxSMw=
+		gohElc8a9YwnkPlPojtt7dO9tq4=
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMOptionalBase.h</key>
 		<key>PrivateHeaders/RLMOptionalBase.h</key>
 		<data>
 		<data>
-		A/LlZhK4J7iob6s5uQf/JMlmiKc=
+		bx6iNKfai8U/msEmKoffsR8v/+E=
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMProperty_Private.h</key>
 		<key>PrivateHeaders/RLMProperty_Private.h</key>
 		<data>
 		<data>
-		i68jLrh1gfTNuZtSUobmZBkCYtk=
+		hxLiKqn6eqddwZL6shdLWkdXgdw=
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMRealmConfiguration_Private.h</key>
 		<key>PrivateHeaders/RLMRealmConfiguration_Private.h</key>
 		<data>
 		<data>
@@ -134,7 +134,7 @@
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMRealm_Private.h</key>
 		<key>PrivateHeaders/RLMRealm_Private.h</key>
 		<data>
 		<data>
-		g3blVvmjHDUB1dnBaI4e5l/qMjA=
+		vEqy9gRmkUt8ZsS8RaU1f9+p0dg=
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMResults_Private.h</key>
 		<key>PrivateHeaders/RLMResults_Private.h</key>
 		<data>
 		<data>
@@ -142,155 +142,400 @@
 		</data>
 		</data>
 		<key>PrivateHeaders/RLMSchema_Private.h</key>
 		<key>PrivateHeaders/RLMSchema_Private.h</key>
 		<data>
 		<data>
-		7hUckKxhPwVmhaaG5mAX8sSxrpU=
+		8QMc6dI6R/oJj7n/pGF0BWj/quk=
 		</data>
 		</data>
 		<key>strip-frameworks.sh</key>
 		<key>strip-frameworks.sh</key>
 		<data>
 		<data>
-		DPAZOV226EEqFQPiH+tOjs+Q+cU=
+		bENFeKfMHTdHyWS5AygjhdAo44Q=
 		</data>
 		</data>
 	</dict>
 	</dict>
 	<key>files2</key>
 	<key>files2</key>
 	<dict>
 	<dict>
 		<key>CHANGELOG.md</key>
 		<key>CHANGELOG.md</key>
-		<data>
-		WtRnippLvfyXgYBTNBxbLpRbSBs=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			ITzch5xw9HT+qCF2kFm9jnfI9/0=
+			</data>
+			<key>hash2</key>
+			<data>
+			Dl3shQKgMH93SV5ZcmDpg6QKt50fqdzPLHLsDr1u5f8=
+			</data>
+		</dict>
 		<key>Headers/RLMArray.h</key>
 		<key>Headers/RLMArray.h</key>
-		<data>
-		bRs8XaYmHk0IHomL+DoLg9VIQcs=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			cWNUcfhY6hCPSbG1XTBUk6upsvM=
+			</data>
+			<key>hash2</key>
+			<data>
+			NPCMiYy+8VyuTLPF2eliCpJohVd7bKKJ9CQITmiVtbM=
+			</data>
+		</dict>
 		<key>Headers/RLMCollection.h</key>
 		<key>Headers/RLMCollection.h</key>
-		<data>
-		h4bGbTfAAbi6elYEeJrJjXPqt08=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			NaMCSK+nyb1Pqcg3yQKxbaqY8Us=
+			</data>
+			<key>hash2</key>
+			<data>
+			8tNoEvzzPHGIb/+jSgqe6VLfUZW34S7uouVkkI6w78w=
+			</data>
+		</dict>
 		<key>Headers/RLMConstants.h</key>
 		<key>Headers/RLMConstants.h</key>
-		<data>
-		XqUg6H8LD1r47czttNT7tWKNEj0=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			JziISMzAF+7cdG5K+Uhudb4IsTA=
+			</data>
+			<key>hash2</key>
+			<data>
+			0SaFwr/R2i17PrD++e9y5R+pwhwUCFqwNN9c0+yMNBo=
+			</data>
+		</dict>
 		<key>Headers/RLMDefines.h</key>
 		<key>Headers/RLMDefines.h</key>
-		<data>
-		LTBLIMI2hpGzefHHDJFlrFyBKbk=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			yh8n2Di0gnu6CRX5+5Cm/7ND2wE=
+			</data>
+			<key>hash2</key>
+			<data>
+			KWeS0gTrzoi4Rn9JiQFReIAiX+SHaxgR8aJO2mdiHCg=
+			</data>
+		</dict>
 		<key>Headers/RLMMigration.h</key>
 		<key>Headers/RLMMigration.h</key>
-		<data>
-		A4sSaGlSDsQXHcZdUzapdp/hau0=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			A4sSaGlSDsQXHcZdUzapdp/hau0=
+			</data>
+			<key>hash2</key>
+			<data>
+			N402NYDZzB+AJ9Xo3gTxGZTgAN8hAuMxfsLY9iFthjc=
+			</data>
+		</dict>
 		<key>Headers/RLMObject.h</key>
 		<key>Headers/RLMObject.h</key>
-		<data>
-		IEyXRi6XT8aREje0aq4u1ojSfhw=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			fscotHX2wNSSis/Q/u6wXc44x98=
+			</data>
+			<key>hash2</key>
+			<data>
+			yQ+TzXopwSeIkz4+4QJQ+l5vdH7LGi9XI+1g/7d31lg=
+			</data>
+		</dict>
 		<key>Headers/RLMObjectBase.h</key>
 		<key>Headers/RLMObjectBase.h</key>
-		<data>
-		fXWWphrRK0lge69TTsBoTRfLIfM=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			fXWWphrRK0lge69TTsBoTRfLIfM=
+			</data>
+			<key>hash2</key>
+			<data>
+			u+XcMcac6LckajZoSnqOFuDeqMd77Dd3FamI2Cdbqf0=
+			</data>
+		</dict>
 		<key>Headers/RLMObjectBase_Dynamic.h</key>
 		<key>Headers/RLMObjectBase_Dynamic.h</key>
-		<data>
-		FBN57naxDdaazOlw9Nr0xzFqNSs=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			FBN57naxDdaazOlw9Nr0xzFqNSs=
+			</data>
+			<key>hash2</key>
+			<data>
+			XHXpLc3BadSu6SKt001q9UvOBVifKpJ4YTq3OYCEG6M=
+			</data>
+		</dict>
 		<key>Headers/RLMObjectSchema.h</key>
 		<key>Headers/RLMObjectSchema.h</key>
-		<data>
-		M+w0HEHJ6KK7GXfRJ7y9bXkNeEo=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			M+w0HEHJ6KK7GXfRJ7y9bXkNeEo=
+			</data>
+			<key>hash2</key>
+			<data>
+			MZK1zmDSyoWNDy1bXgoEFHHRnmoXz8kKcZPBrXrgLWU=
+			</data>
+		</dict>
 		<key>Headers/RLMPlatform.h</key>
 		<key>Headers/RLMPlatform.h</key>
-		<data>
-		zYUh7M2Z6HWMeYtgEGVcJ0rh/Ms=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			zYUh7M2Z6HWMeYtgEGVcJ0rh/Ms=
+			</data>
+			<key>hash2</key>
+			<data>
+			J/7NXp4B8FD/QLbqjDK66Xe3wdOfglq3wbzTgsj8ecY=
+			</data>
+		</dict>
 		<key>Headers/RLMProperty.h</key>
 		<key>Headers/RLMProperty.h</key>
-		<data>
-		0eitI2tVWsqzamYEBn7BgMXX2Ok=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			0eitI2tVWsqzamYEBn7BgMXX2Ok=
+			</data>
+			<key>hash2</key>
+			<data>
+			hfIl8X3PIQEWzsFmZFkxNbZDKZl1sjxMgLNWwq9DwvM=
+			</data>
+		</dict>
 		<key>Headers/RLMRealm.h</key>
 		<key>Headers/RLMRealm.h</key>
-		<data>
-		bgO+AUJolw7Xh0MHh/QoKnAieIg=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			yI37+etIOP1lbiMx47ZNHZitOQQ=
+			</data>
+			<key>hash2</key>
+			<data>
+			3cFVEget/p71Svz8XWQARerUmpIC6xOsrPQBNPc8AbQ=
+			</data>
+		</dict>
 		<key>Headers/RLMRealmConfiguration.h</key>
 		<key>Headers/RLMRealmConfiguration.h</key>
-		<data>
-		yZ+GwRhf3S99mmMZ4Rwuhv2jBXY=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			yZ+GwRhf3S99mmMZ4Rwuhv2jBXY=
+			</data>
+			<key>hash2</key>
+			<data>
+			TmLhEJn1TA8k94jB3bwkeYBQw9QC4lUp1CMsx6tegU8=
+			</data>
+		</dict>
 		<key>Headers/RLMRealm_Dynamic.h</key>
 		<key>Headers/RLMRealm_Dynamic.h</key>
-		<data>
-		hFGhGxu2S3Y6dPqCpZy3SO7W7nA=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			hFGhGxu2S3Y6dPqCpZy3SO7W7nA=
+			</data>
+			<key>hash2</key>
+			<data>
+			xCltXy6L2lSnK3BVv8C+uLZ5Q9EF+7yr0FFy48pmnfs=
+			</data>
+		</dict>
 		<key>Headers/RLMResults.h</key>
 		<key>Headers/RLMResults.h</key>
-		<data>
-		pP+fyUttoujCFSw7GoeRn360Uck=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			wAjPg6EEAPutMjaL9KdXM4D7X6k=
+			</data>
+			<key>hash2</key>
+			<data>
+			Q4bNBfVjk7AQL3a630+QuIDXhqr4Sf6sqZJTyQ9Z0y0=
+			</data>
+		</dict>
 		<key>Headers/RLMSchema.h</key>
 		<key>Headers/RLMSchema.h</key>
-		<data>
-		ucTfsMHStZKxGPQonKt1ObQhKdw=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			ucTfsMHStZKxGPQonKt1ObQhKdw=
+			</data>
+			<key>hash2</key>
+			<data>
+			V+XRXp6JbdtCQqQNO393QNEZI80qAFgwBcAZN7Y9l7U=
+			</data>
+		</dict>
 		<key>Headers/Realm.h</key>
 		<key>Headers/Realm.h</key>
-		<data>
-		f/j3RmYmndvc1H++AFAkWTXKdNY=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			f/j3RmYmndvc1H++AFAkWTXKdNY=
+			</data>
+			<key>hash2</key>
+			<data>
+			dJ1vt0bxaJc7BJJ32SlLYyyNvEczUqXZxc4Le+YoOik=
+			</data>
+		</dict>
 		<key>LICENSE</key>
 		<key>LICENSE</key>
-		<data>
-		O5GBxTR5LKuLS2mE2yllKbrYEMM=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			O5GBxTR5LKuLS2mE2yllKbrYEMM=
+			</data>
+			<key>hash2</key>
+			<data>
+			AzrKHg4p/VYBIEtnbHduEHMXzF0MrXszYKCY0tXZFvA=
+			</data>
+		</dict>
 		<key>Modules/module.modulemap</key>
 		<key>Modules/module.modulemap</key>
-		<data>
-		a8dTqOP2XQeiuyeVF8dfuB/54Qs=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			a8dTqOP2XQeiuyeVF8dfuB/54Qs=
+			</data>
+			<key>hash2</key>
+			<data>
+			YWKBFQnrKb5l2RjauYm0eX4aOzla9YTpyRKiqI13owU=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMAccessor.h</key>
 		<key>PrivateHeaders/RLMAccessor.h</key>
-		<data>
-		frmri5ACsKv2OnJX6jRK060rV7I=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			goWWAaGV8ebKEnQuc+Cv+2A7GCU=
+			</data>
+			<key>hash2</key>
+			<data>
+			FyZ0YfraHHpDMuPM5pWId+1rFXpqqYgkZjkfahbcgPs=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMArray_Private.h</key>
 		<key>PrivateHeaders/RLMArray_Private.h</key>
-		<data>
-		cA4uV1tqKkcpRvA9d34Zc1hrpWE=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			cA4uV1tqKkcpRvA9d34Zc1hrpWE=
+			</data>
+			<key>hash2</key>
+			<data>
+			WQe9kPz1e8ULzx/xadfWqZn0jmKPl82beeBPRAkRfKk=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMListBase.h</key>
 		<key>PrivateHeaders/RLMListBase.h</key>
-		<data>
-		7Xh7nklxIgCo14S2WYaAzy5H1nA=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			7Xh7nklxIgCo14S2WYaAzy5H1nA=
+			</data>
+			<key>hash2</key>
+			<data>
+			kSuG1aOvlq+pO2c2iN388O8iwLv4WOwo7X+qE6H3bLk=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMMigration_Private.h</key>
 		<key>PrivateHeaders/RLMMigration_Private.h</key>
-		<data>
-		tj8rBoNCTBIIh1uADxnfvtomsHU=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			tj8rBoNCTBIIh1uADxnfvtomsHU=
+			</data>
+			<key>hash2</key>
+			<data>
+			ci2kGXTU9o415EF2ddBuvlX1pRRYaAIPn4BgQihJSzY=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMObjectSchema_Private.h</key>
 		<key>PrivateHeaders/RLMObjectSchema_Private.h</key>
-		<data>
-		suyvJeELVvYHFmMzTDZzHJRNI70=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			eRu3sG//nx+XMcgyaQBRYv+wZUU=
+			</data>
+			<key>hash2</key>
+			<data>
+			KN6y3Re4ftRn3QyEnyiBiC57HEHz5qd1dRzoWTzWBkQ=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMObjectStore.h</key>
 		<key>PrivateHeaders/RLMObjectStore.h</key>
-		<data>
-		C3sQjl4EiGEA6EsB/O+qlF391Vo=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			C3sQjl4EiGEA6EsB/O+qlF391Vo=
+			</data>
+			<key>hash2</key>
+			<data>
+			E2refwsuaOInx7jJ+mdUNG1u7wDHh9KNNvNlx8HqE6A=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMObject_Private.h</key>
 		<key>PrivateHeaders/RLMObject_Private.h</key>
-		<data>
-		QIad9fS9NNa0vUf1myF5yGQxSMw=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			gohElc8a9YwnkPlPojtt7dO9tq4=
+			</data>
+			<key>hash2</key>
+			<data>
+			aXYcPafNTJLRjV8+oEkiIciFbqptKdylspnyG19qyUw=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMOptionalBase.h</key>
 		<key>PrivateHeaders/RLMOptionalBase.h</key>
-		<data>
-		A/LlZhK4J7iob6s5uQf/JMlmiKc=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			bx6iNKfai8U/msEmKoffsR8v/+E=
+			</data>
+			<key>hash2</key>
+			<data>
+			sWA/iJ/HEjG1XG6L6JJPnDvJyOfj1Gd9mtp+LBDf974=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMProperty_Private.h</key>
 		<key>PrivateHeaders/RLMProperty_Private.h</key>
-		<data>
-		i68jLrh1gfTNuZtSUobmZBkCYtk=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			hxLiKqn6eqddwZL6shdLWkdXgdw=
+			</data>
+			<key>hash2</key>
+			<data>
+			lwDPWTohtncfKFzjuBru1fukOMa1N190XINZHaKiYf8=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMRealmConfiguration_Private.h</key>
 		<key>PrivateHeaders/RLMRealmConfiguration_Private.h</key>
-		<data>
-		6YTZOy5plQg6qtOWdRS87YZKnic=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			6YTZOy5plQg6qtOWdRS87YZKnic=
+			</data>
+			<key>hash2</key>
+			<data>
+			ReMc8bqw2cB0zmITCG9zPu66/6kN8Cy673XjQXO2jA8=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMRealmUtil.hpp</key>
 		<key>PrivateHeaders/RLMRealmUtil.hpp</key>
-		<data>
-		EfQBaZeq1f7zRMWKtXsigqvzj+8=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			EfQBaZeq1f7zRMWKtXsigqvzj+8=
+			</data>
+			<key>hash2</key>
+			<data>
+			+FU0Jd5ozX/BfL5rhzUozPA6uPj46hEl5UGr/6t/5Pg=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMRealm_Private.h</key>
 		<key>PrivateHeaders/RLMRealm_Private.h</key>
-		<data>
-		g3blVvmjHDUB1dnBaI4e5l/qMjA=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			vEqy9gRmkUt8ZsS8RaU1f9+p0dg=
+			</data>
+			<key>hash2</key>
+			<data>
+			fPHz2iYLQiN3Sp1sLtDlBYBFiLWlZi+H80V2dxtG+cI=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMResults_Private.h</key>
 		<key>PrivateHeaders/RLMResults_Private.h</key>
-		<data>
-		CXr8fqruIV+V8/QWCmANg/Y+Ba0=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			CXr8fqruIV+V8/QWCmANg/Y+Ba0=
+			</data>
+			<key>hash2</key>
+			<data>
+			VaUgmA6FEe0wlVDDy/G5yAtdHbITgFa/s8oyhrQsmKU=
+			</data>
+		</dict>
 		<key>PrivateHeaders/RLMSchema_Private.h</key>
 		<key>PrivateHeaders/RLMSchema_Private.h</key>
-		<data>
-		7hUckKxhPwVmhaaG5mAX8sSxrpU=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			8QMc6dI6R/oJj7n/pGF0BWj/quk=
+			</data>
+			<key>hash2</key>
+			<data>
+			594l8OsLJAV9We6eKjpyF5CdM1+IYfoY5ipzo+JYf4Q=
+			</data>
+		</dict>
 		<key>strip-frameworks.sh</key>
 		<key>strip-frameworks.sh</key>
-		<data>
-		DPAZOV226EEqFQPiH+tOjs+Q+cU=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			bENFeKfMHTdHyWS5AygjhdAo44Q=
+			</data>
+			<key>hash2</key>
+			<data>
+			TdoX67LzludHG3MJM/ykgPmTswRtyXdokveq/f6XloI=
+			</data>
+		</dict>
 	</dict>
 	</dict>
 	<key>rules</key>
 	<key>rules</key>
 	<dict>
 	<dict>

+ 3 - 1
ChartsRealm/ThirdParty/Realm/ios/Realm.framework/strip-frameworks.sh

@@ -35,6 +35,9 @@ code_sign() {
   /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
   /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
 }
 }
 
 
+# Set working directory to product’s embedded frameworks 
+cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+
 if [ "$ACTION" = "install" ]; then
 if [ "$ACTION" = "install" ]; then
   echo "Copy .bcsymbolmap files to .xcarchive"
   echo "Copy .bcsymbolmap files to .xcarchive"
   find . -name '*.bcsymbolmap' -type f -exec mv {} "${CONFIGURATION_BUILD_DIR}" \;
   find . -name '*.bcsymbolmap' -type f -exec mv {} "${CONFIGURATION_BUILD_DIR}" \;
@@ -44,7 +47,6 @@ else
 fi
 fi
 
 
 echo "Stripping frameworks"
 echo "Stripping frameworks"
-cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}"
 
 
 for file in $(find . -type f -perm +111); do
 for file in $(find . -type f -perm +111); do
   # Skip non-dynamic libraries
   # Skip non-dynamic libraries

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 259 - 0
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/30CEB204-6425-389B-B3F3-937F658CD8D3.bcsymbolmap


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 283
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/3575149B-6A97-3EED-8AC5-249F0F69893D.bcsymbolmap


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 280
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/781824F3-7FDF-337C-B733-289907054DB2.bcsymbolmap


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 795 - 180
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/B7E6B987-25C6-35D2-A39E-CD1F26B4B565.bcsymbolmap


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 740 - 319
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/F21CE448-56C2-35BC-B83A-DE0DB0183DCE.bcsymbolmap


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 256 - 0
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/FFDD4BCA-8164-39F2-A6F1-E8CBFDA1D3F9.bcsymbolmap


+ 57 - 43
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Headers/RealmSwift-Swift.h

@@ -1,4 +1,4 @@
-// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81)
+// Generated by Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)
 #pragma clang diagnostic push
 #pragma clang diagnostic push
 
 
 #if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
 #if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
@@ -11,15 +11,25 @@
 #include <stddef.h>
 #include <stddef.h>
 #include <stdbool.h>
 #include <stdbool.h>
 
 
-#if defined(__has_include) && __has_include(<uchar.h>)
-# include <uchar.h>
-#elif !defined(__cplusplus) || __cplusplus < 201103L
+#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_least16_t char16_t;
 typedef uint_least32_t char32_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)));
 #endif
 #endif
 
 
-typedef struct _NSZone NSZone;
-
 #if !defined(SWIFT_PASTE)
 #if !defined(SWIFT_PASTE)
 # define SWIFT_PASTE_HELPER(x, y) x##y
 # define SWIFT_PASTE_HELPER(x, y) x##y
 # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
 # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
@@ -48,7 +58,7 @@ typedef struct _NSZone NSZone;
 # define SWIFT_ENUM_EXTRA
 # define SWIFT_ENUM_EXTRA
 #endif
 #endif
 #if !defined(SWIFT_CLASS)
 #if !defined(SWIFT_CLASS)
-# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) 
+# 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(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
 #  define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
 # else
 # else
@@ -75,16 +85,12 @@ typedef struct _NSZone NSZone;
 #endif
 #endif
 #if !defined(SWIFT_ENUM)
 #if !defined(SWIFT_ENUM)
 # define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type
 # 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
 #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)));
 #if defined(__has_feature) && __has_feature(modules)
 #if defined(__has_feature) && __has_feature(modules)
 @import Realm;
 @import Realm;
 @import Realm.Private;
 @import Realm.Private;
@@ -186,7 +192,7 @@ SWIFT_CLASS_NAMED("Object")
 /// or an <code>Array
 /// or an <code>Array
 /// </code> with one object for each persisted property. An exception will be
 /// </code> with one object for each persisted property. An exception will be
 /// thrown if any required properties are not present and no default is set.
 /// thrown if any required properties are not present and no default is set.
-- (nonnull instancetype)initWithValue:(id __nonnull)value OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
 
 
 /// Indicates if an object can no longer be accessed.
 /// Indicates if an object can no longer be accessed.
 ///
 ///
@@ -198,41 +204,49 @@ SWIFT_CLASS_NAMED("Object")
 @property (nonatomic, readonly, getter=isInvalidated) BOOL invalidated;
 @property (nonatomic, readonly, getter=isInvalidated) BOOL invalidated;
 
 
 /// Returns a human-readable description of this object.
 /// Returns a human-readable description of this object.
-@property (nonatomic, readonly, copy) NSString * __nonnull description;
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
 
 
 /// Helper to return the class name for an Object subclass.
 /// Helper to return the class name for an Object subclass.
-@property (nonatomic, readonly, copy) NSString * __nonnull className;
+@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;
 
 
 /// Override to designate a property as the primary key for an Object subclass. Only properties of type String and Int can be designated as the primary key. Primary key properties enforce uniqueness for each value whenever the property is set which incurs some overhead. Indexes are created automatically for primary key properties.
 /// Override to designate a property as the primary key for an Object subclass. Only properties of type String and Int can be designated as the primary key. Primary key properties enforce uniqueness for each value whenever the property is set which incurs some overhead. Indexes are created automatically for primary key properties.
 ///
 ///
 /// \returns  Name of the property designated as the primary key, or <code>nil
 /// \returns  Name of the property designated as the primary key, or <code>nil
 /// </code> if the model has no primary key.
 /// </code> if the model has no primary key.
-+ (NSString * __nullable)primaryKey;
++ (NSString * _Nullable)primaryKey;
 
 
 /// Override to return an array of property names to ignore. These properties will not be persisted and are treated as transient.
 /// Override to return an array of property names to ignore. These properties will not be persisted and are treated as transient.
 ///
 ///
 /// \returns  <code>Array
 /// \returns  <code>Array
 /// </code> of property names to ignore.
 /// </code> of property names to ignore.
-+ (NSArray<NSString *> * __nonnull)ignoredProperties;
++ (NSArray<NSString *> * _Nonnull)ignoredProperties;
 
 
 /// Return an array of property names for properties which should be indexed. Only supported for string and int properties.
 /// Return an array of property names for properties which should be indexed. Only supported for string and int properties.
 ///
 ///
 /// \returns  <code>Array
 /// \returns  <code>Array
 /// </code> of property names to index.
 /// </code> of property names to index.
-+ (NSArray<NSString *> * __nonnull)indexedProperties;
-- (id __nullable)objectForKeyedSubscript:(NSString * __nonnull)key;
-- (void)setObject:(id __nullable)value forKeyedSubscript:(NSString * __nonnull)key;
++ (NSArray<NSString *> * _Nonnull)indexedProperties;
+- (id _Nullable)objectForKeyedSubscript:(NSString * _Nonnull)key;
+- (void)setObject:(id _Nullable)value forKeyedSubscript:(NSString * _Nonnull)key;
 
 
-/// Returns whether both objects are equal. Objects are considered equal when they are both from the same Realm and point to the same underlying object in the database.
-- (BOOL)isEqual:(id __nullable)object;
+/// Returns whether both objects are equal.
+///
+/// Objects are considered equal when they are both from the same Realm and point to the same
+/// underlying object in the database.
+///
+/// \param object Object to compare for equality.
+- (BOOL)isEqual:(id _Nullable)object;
 
 
 /// WARNING: This is an internal initializer not intended for public use. :nodoc:
 /// 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;
+- (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:
 /// 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;
-- (RLMListBase * __nonnull)listForProperty:(RLMProperty * __nonnull)prop;
-- (RLMOptionalBase * __nonnull)optionalForProperty:(RLMProperty * __nonnull)prop;
+- (nonnull instancetype)initWithValue:(id _Nonnull)value schema:(RLMSchema * _Nonnull)schema OBJC_DESIGNATED_INITIALIZER;
+- (RLMListBase * _Nonnull)listForProperty:(RLMProperty * _Nonnull)prop;
+- (RLMOptionalBase * _Nonnull)optionalForProperty:(RLMProperty * _Nonnull)prop;
 @end
 @end
 
 
 
 
@@ -240,21 +254,21 @@ SWIFT_CLASS_NAMED("Object")
 /// Object interface which allows untyped getters and setters for Objects. :nodoc:
 /// Object interface which allows untyped getters and setters for Objects. :nodoc:
 SWIFT_CLASS("_TtC10RealmSwift13DynamicObject")
 SWIFT_CLASS("_TtC10RealmSwift13DynamicObject")
 @interface DynamicObject : RealmSwiftObject
 @interface DynamicObject : RealmSwiftObject
-- (RLMListBase * __nonnull)listForProperty:(RLMProperty * __nonnull)prop;
-- (RLMOptionalBase * __nonnull)optionalForProperty:(RLMProperty * __nonnull)prop;
+- (RLMListBase * _Nonnull)listForProperty:(RLMProperty * _Nonnull)prop;
+- (RLMOptionalBase * _Nonnull)optionalForProperty:(RLMProperty * _Nonnull)prop;
 
 
 /// :nodoc:
 /// :nodoc:
-- (id __nullable)valueForUndefinedKey:(NSString * __nonnull)key;
+- (id _Nullable)valueForUndefinedKey:(NSString * _Nonnull)key;
 
 
 /// :nodoc:
 /// :nodoc:
-- (void)setValue:(id __nullable)value forUndefinedKey:(NSString * __nonnull)key;
+- (void)setValue:(id _Nullable)value forUndefinedKey:(NSString * _Nonnull)key;
 
 
 /// :nodoc:
 /// :nodoc:
 + (BOOL)shouldIncludeInDefaultSchema;
 + (BOOL)shouldIncludeInDefaultSchema;
 - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
 - (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;
+- (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
 @end
 
 
 @class RLMArray;
 @class RLMArray;
@@ -265,11 +279,11 @@ SWIFT_CLASS("_TtC10RealmSwift8ListBase")
 @interface ListBase : RLMListBase
 @interface ListBase : RLMListBase
 
 
 /// Returns a human-readable description of the objects contained in the List.
 /// Returns a human-readable description of the objects contained in the List.
-@property (nonatomic, readonly, copy) NSString * __nonnull description;
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
 
 
 /// Returns the number of objects in this List.
 /// Returns the number of objects in this List.
 @property (nonatomic, readonly) NSInteger count;
 @property (nonatomic, readonly) NSInteger count;
-- (null_unspecified instancetype)initWithArray:(RLMArray * __null_unspecified)array OBJC_DESIGNATED_INITIALIZER;
+- (null_unspecified instancetype)initWithArray:(RLMArray * _Null_unspecified)array OBJC_DESIGNATED_INITIALIZER;
 - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
 - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
 @end
 @end
 
 
@@ -292,12 +306,12 @@ SWIFT_CLASS_NAMED("ObjectUtil")
 /// :nodoc: Internal class. Do not use directly.
 /// :nodoc: Internal class. Do not use directly.
 SWIFT_CLASS("_TtC10RealmSwift11ResultsBase")
 SWIFT_CLASS("_TtC10RealmSwift11ResultsBase")
 @interface ResultsBase : NSObject <NSFastEnumeration>
 @interface ResultsBase : NSObject <NSFastEnumeration>
-@property (nonatomic, readonly, strong) RLMResults * __nonnull rlmResults;
+@property (nonatomic, readonly, strong) RLMResults * _Nonnull rlmResults;
 
 
 /// Returns a human-readable description of the objects contained in these results.
 /// Returns a human-readable description of the objects contained in these results.
-@property (nonatomic, readonly, copy) NSString * __nonnull description;
-- (nonnull instancetype)init:(RLMResults * __nonnull)rlmResults OBJC_DESIGNATED_INITIALIZER;
-- (NSInteger)countByEnumeratingWithState:(NSFastEnumerationState * __null_unspecified)state objects:(id __nullable * __null_unspecified)buffer count:(NSInteger)len;
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
+- (nonnull instancetype)init:(RLMResults * _Nonnull)rlmResults OBJC_DESIGNATED_INITIALIZER;
+- (NSInteger)countByEnumeratingWithState:(NSFastEnumerationState * _Null_unspecified)state objects:(id _Nullable * _Null_unspecified)buffer count:(NSInteger)len;
 @end
 @end
 
 
 #pragma clang diagnostic pop
 #pragma clang diagnostic pop

BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Info.plist


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftdoc


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftmodule


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftdoc


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftmodule


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftdoc


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftmodule


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule


BIN
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/RealmSwift


+ 66 - 56
ChartsRealm/ThirdParty/Realm/ios/RealmSwift.framework/_CodeSignature/CodeResources

@@ -6,43 +6,27 @@
 	<dict>
 	<dict>
 		<key>Headers/RealmSwift-Swift.h</key>
 		<key>Headers/RealmSwift-Swift.h</key>
 		<data>
 		<data>
-		cFfxa9dsNtjOxlugvrJodFG/vbE=
+		UEw29eJeCgqjTdblgGafXBaA+Po=
 		</data>
 		</data>
 		<key>Info.plist</key>
 		<key>Info.plist</key>
 		<data>
 		<data>
-		xNs6Eq8RnIGK/VOwMo6S8bZ22uA=
+		ZdaDh636eQ+xeucYueb6LJr4E8k=
 		</data>
 		</data>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftdoc</key>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftdoc</key>
 		<data>
 		<data>
-		q+stJQOd59cDjlJway1qn8NglD4=
+		pju9mhUcrBv+LpdtxUZasfrYG24=
 		</data>
 		</data>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftmodule</key>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftmodule</key>
 		<data>
 		<data>
-		oSLaUAqV11FHXXypotaix/3A0Yk=
+		WH3s/24RxYpSIrv3QixV44e47kw=
 		</data>
 		</data>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftdoc</key>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftdoc</key>
 		<data>
 		<data>
-		iiQZYAnFI3jPzYVN9w7b+TWg1yU=
+		URwSj+rm5acs1YQMElSXPN+tH5g=
 		</data>
 		</data>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftmodule</key>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftmodule</key>
 		<data>
 		<data>
-		dXDIwekd/cYKZZ+ALxSRJm2Kgz4=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/i386.swiftdoc</key>
-		<data>
-		ZeP4hwJxzIPcyBL5QcN9MJRUBh0=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/i386.swiftmodule</key>
-		<data>
-		PdVrXn2zkh/xi40wilqh5Ndj60I=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/x86_64.swiftdoc</key>
-		<data>
-		HNJpE3SykbUWOpDtmhqObUFew/Q=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/x86_64.swiftmodule</key>
-		<data>
-		o7kNLFS+pv11WpdD48tCAnvobf4=
+		U/Woqm5wDKdIxHoERFr0sKQyXnA=
 		</data>
 		</data>
 		<key>Modules/module.modulemap</key>
 		<key>Modules/module.modulemap</key>
 		<data>
 		<data>
@@ -52,45 +36,71 @@
 	<key>files2</key>
 	<key>files2</key>
 	<dict>
 	<dict>
 		<key>Headers/RealmSwift-Swift.h</key>
 		<key>Headers/RealmSwift-Swift.h</key>
-		<data>
-		cFfxa9dsNtjOxlugvrJodFG/vbE=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			UEw29eJeCgqjTdblgGafXBaA+Po=
+			</data>
+			<key>hash2</key>
+			<data>
+			RwnTRli6/1VgZsj9daFAeY/A2eu4N9EmRSnPkFgkJg8=
+			</data>
+		</dict>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftdoc</key>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftdoc</key>
-		<data>
-		q+stJQOd59cDjlJway1qn8NglD4=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			pju9mhUcrBv+LpdtxUZasfrYG24=
+			</data>
+			<key>hash2</key>
+			<data>
+			hXzy93WPkeoJAj6FW3mf+3e0RwP7STnd08n7sYEzhmE=
+			</data>
+		</dict>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftmodule</key>
 		<key>Modules/RealmSwift.swiftmodule/arm.swiftmodule</key>
-		<data>
-		oSLaUAqV11FHXXypotaix/3A0Yk=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			WH3s/24RxYpSIrv3QixV44e47kw=
+			</data>
+			<key>hash2</key>
+			<data>
+			CKlvaWDrq8vseC+fsvVXn2EDMMZIl/0EQ6m0frCzbk4=
+			</data>
+		</dict>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftdoc</key>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftdoc</key>
-		<data>
-		iiQZYAnFI3jPzYVN9w7b+TWg1yU=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			URwSj+rm5acs1YQMElSXPN+tH5g=
+			</data>
+			<key>hash2</key>
+			<data>
+			qmjYcbxGRzv5CFYYewHIjxeQdabjr90dNs11VOkpsJ8=
+			</data>
+		</dict>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftmodule</key>
 		<key>Modules/RealmSwift.swiftmodule/arm64.swiftmodule</key>
-		<data>
-		dXDIwekd/cYKZZ+ALxSRJm2Kgz4=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/i386.swiftdoc</key>
-		<data>
-		ZeP4hwJxzIPcyBL5QcN9MJRUBh0=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/i386.swiftmodule</key>
-		<data>
-		PdVrXn2zkh/xi40wilqh5Ndj60I=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/x86_64.swiftdoc</key>
-		<data>
-		HNJpE3SykbUWOpDtmhqObUFew/Q=
-		</data>
-		<key>Modules/RealmSwift.swiftmodule/x86_64.swiftmodule</key>
-		<data>
-		o7kNLFS+pv11WpdD48tCAnvobf4=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			U/Woqm5wDKdIxHoERFr0sKQyXnA=
+			</data>
+			<key>hash2</key>
+			<data>
+			yxKQ8JlfDDrm/7iH1OUD0XEBeiZjvAiDWERmJTysfQw=
+			</data>
+		</dict>
 		<key>Modules/module.modulemap</key>
 		<key>Modules/module.modulemap</key>
-		<data>
-		9tvIENgxkNSlkY6s37U2G7wibRQ=
-		</data>
+		<dict>
+			<key>hash</key>
+			<data>
+			9tvIENgxkNSlkY6s37U2G7wibRQ=
+			</data>
+			<key>hash2</key>
+			<data>
+			AtlhvdJhfodENPALSejOETiBfBok2qPubVwieWkL75I=
+			</data>
+		</dict>
 	</dict>
 	</dict>
 	<key>rules</key>
 	<key>rules</key>
 	<dict>
 	<dict>

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Headers

@@ -0,0 +1 @@
+Versions/Current/Headers

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Modules

@@ -0,0 +1 @@
+Versions/Current/Modules

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/PrivateHeaders

@@ -0,0 +1 @@
+Versions/Current/PrivateHeaders

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Realm

@@ -0,0 +1 @@
+Versions/Current/Realm

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Resources

@@ -0,0 +1 @@
+Versions/Current/Resources

+ 364 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMArray.h

@@ -0,0 +1,364 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+#import <Realm/RLMCollection.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMObject, RLMRealm, RLMResults RLM_GENERIC_COLLECTION, RLMNotificationToken;
+
+/**
+
+ RLMArray is the container type in Realm used to define to-many relationships.
+
+ Unlike an NSArray, RLMArrays hold a single type, specified by the `objectClassName` property.
+ This is referred to in these docs as the “type” of the array.
+
+ When declaring an RLMArray property, the type must be marked as conforming to a
+ protocol by the same name as the objects it should contain (see the
+ `RLM_ARRAY_TYPE` macro). RLMArray properties can also use Objective-C generics
+ if available. For example:
+
+     RLM_ARRAY_TYPE(ObjectType)
+     ...
+     @property RLMArray<ObjectType *><ObjectType> *arrayOfObjectTypes;
+
+ RLMArrays can be queried with the same predicates as RLMObject and RLMResults.
+
+ RLMArrays cannot be created directly. RLMArray properties on RLMObjects are
+ lazily created when accessed, or can be obtained by querying a Realm.
+
+ ### Key-Value Observing
+
+ RLMArray supports array key-value observing on RLMArray properties on RLMObject
+ subclasses, and the `invalidated` property on RLMArray instances themselves is
+ key-value observing compliant when the RLMArray is attached to a persisted
+ RLMObject (RLMArrays on standalone RLMObjects will never become invalidated).
+
+ Because RLMArrays are attached to the object which they are a property of, they
+ do not require using the mutable collection proxy objects from
+ `-mutableArrayValueForKey:` or KVC-compatible mutation methods on the containing
+ object. Instead, you can call the mutation methods on the RLMArray directly.
+ */
+
+@interface RLMArray RLM_GENERIC_COLLECTION : NSObject<RLMCollection, NSFastEnumeration>
+
+#pragma mark - Properties
+ 
+/**
+ Number of objects in the array.
+ */
+@property (nonatomic, readonly, assign) NSUInteger count;
+
+/**
+ The class name (i.e. type) of the RLMObjects contained in this RLMArray.
+ */
+@property (nonatomic, readonly, copy) NSString *objectClassName;
+
+/**
+ The Realm in which this array is persisted. Returns nil for standalone arrays.
+ */
+@property (nonatomic, readonly, nullable) RLMRealm *realm;
+
+/**
+ Indicates if an array can no longer be accessed.
+ */
+@property (nonatomic, readonly, getter = isInvalidated) BOOL invalidated;
+
+#pragma mark - Accessing Objects from an Array
+
+/**
+ Returns the object at the index specified.
+
+ @param index   The index to look up.
+
+ @return An RLMObject of the type contained in this RLMArray.
+ */
+- (RLMObjectType)objectAtIndex:(NSUInteger)index;
+
+/**
+ Returns the first object in the array.
+
+ Returns `nil` if called on an empty RLMArray.
+
+ @return An RLMObject of the type contained in this RLMArray.
+ */
+- (nullable RLMObjectType)firstObject;
+
+/**
+ Returns the last object in the array.
+
+ Returns `nil` if called on an empty RLMArray.
+
+ @return An RLMObject of the type contained in this RLMArray.
+ */
+- (nullable RLMObjectType)lastObject;
+
+
+
+#pragma mark - Adding, Removing, and Replacing Objects in an Array
+
+/**
+ Adds an object to the end of the array.
+
+ @warning This method can only be called during a write transaction.
+
+ @param object  An RLMObject of the type contained in this RLMArray.
+ */
+- (void)addObject:(RLMObjectArgument)object;
+
+/**
+ Adds an array of objects at the end of the array.
+
+ @warning This method can only be called during a write transaction.
+
+ @param objects     An enumerable object such as NSArray or RLMResults which contains objects of the
+                    same class as this RLMArray.
+ */
+- (void)addObjects:(id<NSFastEnumeration>)objects;
+
+/**
+ Inserts an object at the given index.
+
+ Throws an exception when the index exceeds the bounds of this RLMArray.
+
+ @warning This method can only be called during a write transaction.
+
+ @param anObject  An RLMObject of the type contained in this RLMArray.
+ @param index   The array index at which the object is inserted.
+ */
+- (void)insertObject:(RLMObjectArgument)anObject atIndex:(NSUInteger)index;
+
+/**
+ Removes an object at a given index.
+
+ Throws an exception when the index exceeds the bounds of this RLMArray.
+
+ @warning This method can only be called during a write transaction.
+
+ @param index   The array index identifying the object to be removed.
+ */
+- (void)removeObjectAtIndex:(NSUInteger)index;
+
+/**
+ Removes the last object in an RLMArray.
+
+ @warning This method can only be called during a write transaction.
+*/
+- (void)removeLastObject;
+
+/**
+ Removes all objects from an RLMArray.
+
+ @warning This method can only be called during a write transaction.
+ */
+- (void)removeAllObjects;
+
+/**
+ Replaces an object at the given index with a new object.
+
+ Throws an exception when the index exceeds the bounds of this RLMArray.
+
+ @warning This method can only be called during a write transaction.
+
+ @param index       The array index of the object to be replaced.
+ @param anObject    An object (of the same type as returned from the objectClassName selector).
+ */
+- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(RLMObjectArgument)anObject;
+
+/**
+ Moves the object at the given source index to the given destination index.
+
+ Throws an exception when the index exceeds the bounds of this RLMArray.
+
+ @warning This method can only be called during a write transaction.
+
+ @param sourceIndex      The index of the object to be moved.
+ @param destinationIndex The index to which the object at `sourceIndex` should be moved.
+ */
+- (void)moveObjectAtIndex:(NSUInteger)sourceIndex toIndex:(NSUInteger)destinationIndex;
+
+/**
+ Exchanges the objects in the array at given indexes.
+
+ Throws an exception when either index exceeds the bounds of this RLMArray.
+
+ @warning This method can only be called during a write transaction.
+
+ @param index1 The index of the object with which to replace the object at index `index2`.
+ @param index2 The index of the object with which to replace the object at index `index1`.
+ */
+- (void)exchangeObjectAtIndex:(NSUInteger)index1 withObjectAtIndex:(NSUInteger)index2;
+
+#pragma mark - Querying an Array
+
+/**
+ Gets the index of an object.
+
+ Returns NSNotFound if the object is not found in this RLMArray.
+
+ @param object  An object (of the same type as returned from the objectClassName selector).
+ */
+- (NSUInteger)indexOfObject:(RLMObjectArgument)object;
+
+/**
+ Gets the index of the first object matching the predicate.
+
+ @param predicateFormat The predicate format string which can accept variable arguments.
+
+ @return    Index of object or NSNotFound if the object is not found in this RLMArray.
+ */
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat args:(va_list)args;
+
+/**
+ Gets the index of the first object matching the predicate.
+
+ @param predicate   The predicate to filter the objects.
+
+ @return    Index of object or NSNotFound if the object is not found in this RLMArray.
+ */
+- (NSUInteger)indexOfObjectWithPredicate:(NSPredicate *)predicate;
+
+/**
+ Get objects matching the given predicate in the RLMArray.
+
+ @param predicateFormat The predicate format string which can accept variable arguments.
+
+ @return                An RLMResults of objects that match the given predicate
+ */
+- (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
+- (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
+/**
+ Get objects matching the given predicate in the RLMArray.
+
+ @param predicate   The predicate to filter the objects.
+
+ @return            An RLMResults of objects that match the given predicate
+ */
+- (RLMResults RLM_GENERIC_RETURN*)objectsWithPredicate:(NSPredicate *)predicate;
+
+/**
+ Get a sorted RLMResults from an RLMArray
+
+ @param property    The property name to sort by.
+ @param ascending   The direction to sort by.
+
+ @return    An RLMResults sorted by the specified property.
+ */
+- (RLMResults RLM_GENERIC_RETURN*)sortedResultsUsingProperty:(NSString *)property ascending:(BOOL)ascending;
+
+/**
+ Get a sorted RLMResults from an RLMArray
+
+ @param properties  An array of `RLMSortDescriptor`s to sort by.
+
+ @return    An RLMResults sorted by the specified properties.
+ */
+- (RLMResults RLM_GENERIC_RETURN*)sortedResultsUsingDescriptors:(NSArray *)properties;
+
+/// :nodoc:
+- (RLMObjectType)objectAtIndexedSubscript:(NSUInteger)index;
+
+/// :nodoc:
+- (void)setObject:(RLMObjectType)newValue atIndexedSubscript:(NSUInteger)index;
+
+#pragma mark - Notifications
+
+/**
+ Register a block to be called each time the RLMArray changes.
+
+ The block will be asynchronously called with the initial array, and then
+ called again after each write transaction which changes the array or any
+ items contained in the array. You must retain the returned token for as long as
+ you want the block to continue to be called. To stop receiving updates, call
+ `-stop` on the token.
+
+ The error parameter will always be `nil`, and is present only for compatiblity
+ with the RLMResults version of this method, which can potentially fail.
+
+ @param block The block to be called each time the array changes.
+ @return A token which must be held for as long as you want notifications to be delivered.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(void (^)(RLMArray RLM_GENERIC_RETURN *array, NSError *))block RLM_WARN_UNUSED_RESULT;
+
+#pragma mark - Unavailable Methods
+
+/**
+ -[RLMArray init] is not available because RLMArrays cannot be created directly.
+ RLMArray properties on RLMObjects are lazily created when accessed, or can be obtained by querying a Realm.
+ */
+- (instancetype)init __attribute__((unavailable("RLMArrays cannot be created directly")));
+
+/**
+ +[RLMArray new] is not available because RLMArrays cannot be created directly.
+ RLMArray properties on RLMObjects are lazily created when accessed, or can be obtained by querying a Realm.
+ */
++ (instancetype)new __attribute__((unavailable("RLMArrays cannot be created directly")));
+
+@end
+
+/**
+ An RLMSortDescriptor stores a property name and a sort order for use with
+ `sortedResultsUsingDescriptors:`. It is similar to NSSortDescriptor, but supports
+ only the subset of functionality which can be efficiently run by the query
+ engine. RLMSortDescriptor instances are immutable.
+ */
+@interface RLMSortDescriptor : NSObject
+
+#pragma mark - Properties
+ 
+/**
+ The name of the property which this sort descriptor orders results by.
+ */
+@property (nonatomic, readonly) NSString *property;
+
+/**
+ Whether this descriptor sorts in ascending or descending order.
+ */
+@property (nonatomic, readonly) BOOL ascending;
+
+#pragma mark - Methods
+
+/**
+ Returns a new sort descriptor for the given property name and order.
+ */
++ (instancetype)sortDescriptorWithProperty:(NSString *)propertyName ascending:(BOOL)ascending;
+
+/**
+ Returns a copy of the receiver with the sort order reversed.
+ */
+- (instancetype)reversedSortDescriptor;
+
+@end
+
+/// :nodoc:
+@interface RLMArray (Swift)
+// for use only in Swift class definitions
+- (instancetype)initWithObjectClassName:(NSString *)objectClassName;
+@end
+
+RLM_ASSUME_NONNULL_END

+ 184 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMCollection.h

@@ -0,0 +1,184 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMRealm, RLMResults, RLMObject, RLMSortDescriptor, RLMNotificationToken;
+
+/**
+ A homogenous collection of `RLMObject`s like `RLMArray` or `RLMResults`.
+ */
+@protocol RLMCollection <NSFastEnumeration>
+
+@required
+
+#pragma mark - Properties
+
+/**
+ Number of objects in the collection.
+ */
+@property (nonatomic, readonly, assign) NSUInteger count;
+
+/**
+ The class name (i.e. type) of the RLMObjects contained in this RLMCollection.
+ */
+@property (nonatomic, readonly, copy) NSString *objectClassName;
+
+/**
+ The Realm in which this collection is persisted. Returns nil for standalone collections.
+ */
+@property (nonatomic, readonly) RLMRealm *realm;
+
+#pragma mark - Accessing Objects from a Collection
+
+/**
+ Returns the object at the index specified.
+ 
+ @param index   The index to look up.
+ 
+ @return An RLMObject of the type contained in this RLMCollection.
+ */
+- (id)objectAtIndex:(NSUInteger)index;
+
+/**
+ Returns the first object in the collection.
+ 
+ Returns `nil` if called on an empty RLMCollection.
+ 
+ @return An RLMObject of the type contained in this RLMCollection.
+ */
+- (nullable id)firstObject;
+
+/**
+ Returns the last object in the collection.
+ 
+ Returns `nil` if called on an empty RLMCollection.
+ 
+ @return An RLMObject of the type contained in this RLMCollection.
+ */
+- (nullable id)lastObject;
+
+#pragma mark - Querying a Collection
+
+/**
+ Gets the index of an object.
+ 
+ Returns NSNotFound if the object is not found in this RLMCollection.
+ 
+ @param object  An object (of the same type as returned from the objectClassName selector).
+ */
+- (NSUInteger)indexOfObject:(RLMObject *)object;
+
+/**
+ Gets the index of the first object matching the predicate.
+ 
+ @param predicateFormat The predicate format string which can accept variable arguments.
+ 
+ @return    Index of object or NSNotFound if the object is not found in this RLMCollection.
+ */
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat args:(va_list)args;
+
+/**
+ Gets the index of the first object matching the predicate.
+ 
+ @param predicate   The predicate to filter the objects.
+ 
+ @return    Index of object or NSNotFound if the object is not found in this RLMCollection.
+ */
+- (NSUInteger)indexOfObjectWithPredicate:(NSPredicate *)predicate;
+
+/**
+ Get objects matching the given predicate in the RLMCollection.
+ 
+ @param predicateFormat The predicate format string which can accept variable arguments.
+ 
+ @return    An RLMResults of objects that match the given predicate
+ */
+- (RLMResults *)objectsWhere:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
+- (RLMResults *)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
+/**
+ Get objects matching the given predicate in the RLMCollection.
+ 
+ @param predicate   The predicate to filter the objects.
+ 
+ @return            An RLMResults of objects that match the given predicate
+ */
+- (RLMResults *)objectsWithPredicate:(NSPredicate *)predicate;
+
+/**
+ Get a sorted RLMResults from an RLMCollection.
+ 
+ @param property    The property name to sort by.
+ @param ascending   The direction to sort by.
+ 
+ @return    An RLMResults sorted by the specified property.
+ */
+- (RLMResults *)sortedResultsUsingProperty:(NSString *)property ascending:(BOOL)ascending;
+
+/**
+ Get a sorted RLMResults from an RLMCollection.
+ 
+ @param properties  An array of `RLMSortDescriptor`s to sort by.
+ 
+ @return    An RLMResults sorted by the specified properties.
+ */
+- (RLMResults *)sortedResultsUsingDescriptors:(NSArray RLM_GENERIC(RLMSortDescriptor *) *)properties;
+
+/// :nodoc:
+- (id)objectAtIndexedSubscript:(NSUInteger)index;
+
+/**
+ Returns an NSArray containing the results of invoking `valueForKey:` using key on each of the collection's objects.
+
+ @param key The name of the property.
+
+ @return NSArray containing the results of invoking `valueForKey:` using key on each of the collection's objects.
+ */
+- (nullable id)valueForKey:(NSString *)key;
+
+/**
+ Invokes `setValue:forKey:` on each of the collection's objects using the specified value and key.
+
+ @warning This method can only be called during a write transaction.
+
+ @param value The object value.
+ @param key   The name of the property.
+ */
+- (void)setValue:(nullable id)value forKey:(NSString *)key;
+
+#pragma mark - Notifications
+
+/**
+ Register a block to be called each time the collection changes.
+
+ @param block The block to be called each time the collection changes.
+ @return A token which must be held for as long as you want notifications to be delivered.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(void (^)(id<RLMCollection> collection))block RLM_WARN_UNUSED_RESULT;
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 131 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMConstants.h

@@ -0,0 +1,131 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+#pragma mark - Enums
+
+/**
+ Property types supported in Realm models.
+
+ See [Realm Models](https://realm.io/docs/objc/latest/#models)
+ */
+// Make sure numbers match those in <realm/data_type.hpp>
+typedef NS_ENUM(int32_t, RLMPropertyType) {
+
+#pragma mark - Primitive types
+
+    /** Integer type: NSInteger, int, long, Int (Swift) */
+    RLMPropertyTypeInt    = 0,
+    /** Boolean type: BOOL, bool, Bool (Swift) */
+    RLMPropertyTypeBool   = 1,
+    /** Float type: float, Float (Swift) */
+    RLMPropertyTypeFloat  = 9,
+    /** Double type: double, Double (Swift) */
+    RLMPropertyTypeDouble = 10,
+
+#pragma mark - Object types
+
+    /** String type: NSString, String (Swift) */
+    RLMPropertyTypeString = 2,
+    /** Data type: NSData */
+    RLMPropertyTypeData   = 4,
+    /** Any type: id, **not supported in Swift** */
+    RLMPropertyTypeAny    = 6,
+    /** Date type: NSDate */
+    RLMPropertyTypeDate   = 7,
+
+#pragma mark - Array/Linked object types
+
+    /** Object type. See [Realm Models](https://realm.io/docs/objc/latest/#models) */
+    RLMPropertyTypeObject = 12,
+    /** Array type. See [Realm Models](http://realms.io/docs/objc/latest/#models) */
+    RLMPropertyTypeArray  = 13,
+};
+
+/**
+ Enum representing all recoverable errors in Realm.
+ */
+typedef NS_ENUM(NSInteger, RLMError) {
+    /** Returned by RLMRealm if no other specific error is returned when a realm is opened. */
+    RLMErrorFail                  = 1,
+    /** Returned by RLMRealm for any I/O related exception scenarios when a realm is opened. */
+    RLMErrorFileAccess            = 2,
+    /** Returned by RLMRealm if the user does not have permission to open or create
+        the specified file in the specified access mode when the realm is opened. */
+    RLMErrorFilePermissionDenied  = 3,
+    /** Returned by RLMRealm if the file already exists when a copy should be written. */
+    RLMErrorFileExists            = 4,
+    /** Returned by RLMRealm if no file was found when a realm was opened as
+        read-only or if the directory part of the specified path was not
+        found when a copy should be written. */
+    RLMErrorFileNotFound          = 5,
+    /** Returned by RLMRealm if a file format upgrade is required to open the file, but upgrades were explicilty disabled. */
+    RLMErrorFileFormatUpgradeRequired = 6,
+    /** Returned by RLMRealm if the database file is currently open in another
+        process which cannot share with the current process due to an
+        architecture mismatch. */
+    RLMErrorIncompatibleLockFile  = 8,
+};
+
+#pragma mark - Constants
+
+#pragma mark - Notification Constants
+
+/**
+ Posted by RLMRealm when the data in the realm has changed.
+
+ DidChange are posted after a realm has been refreshed to reflect a write
+ transaction, i.e. when an autorefresh occurs, `[RLMRealm refresh]` is
+ called, after an implicit refresh from `[RLMRealm beginWriteTransaction]`,
+ and after a local write transaction is committed.
+ */
+extern NSString * const RLMRealmRefreshRequiredNotification;
+
+/**
+ Posted by RLMRealm when a write transaction has been committed to an RLMRealm on
+ a different thread for the same file. This is not posted if
+ `[RLMRealm autorefresh]` is enabled or if the RLMRealm is
+ refreshed before the notifcation has a chance to run.
+
+ Realms with autorefresh disabled should normally have a handler for this
+ notification which calls `[RLMRealm refresh]` after doing some work.
+ While not refreshing is allowed, it may lead to large Realm files as Realm has
+ to keep an extra copy of the data for the un-refreshed RLMRealm.
+ */
+extern NSString * const RLMRealmDidChangeNotification;
+
+#pragma mark - Other Constants
+
+/** Schema version used for uninitialized Realms */
+extern const uint64_t RLMNotVersioned;
+
+/** Error domain used in Realm. */
+extern NSString * const RLMErrorDomain;
+
+/** Key for name of Realm exceptions. */
+extern NSString * const RLMExceptionName;
+
+/** Key for Realm file version. */
+extern NSString * const RLMRealmVersionKey;
+
+/** Key for Realm core version. */
+extern NSString * const RLMRealmCoreVersionKey;
+
+/** Key for Realm invalidated property name. */
+extern NSString * const RLMInvalidatedKey;

+ 95 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMDefines.h

@@ -0,0 +1,95 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2015 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+@class RLMObject;
+
+#ifndef __has_feature
+#define __has_feature(x) 0
+#endif
+
+#pragma mark - Generics
+
+#if __has_extension(objc_generics)
+#define RLM_GENERIC(...) <__VA_ARGS__>
+#define RLM_GENERIC_COLLECTION <RLMObjectType: RLMObject *>
+#define RLM_GENERIC_RETURN <RLMObjectType>
+#define RLMObjectArgument RLMObjectType
+#else
+#define RLM_GENERIC(...)
+#define RLM_GENERIC_COLLECTION
+#define RLM_GENERIC_RETURN
+typedef id RLMObjectType;
+typedef RLMObject * RLMObjectArgument;
+#endif
+
+#pragma mark - Nullability
+
+#if !__has_feature(nullability)
+#ifndef __nullable
+#define __nullable
+#endif
+#ifndef __nonnull
+#define __nonnull
+#endif
+#ifndef __null_unspecified
+#define __null_unspecified
+#endif
+#ifndef nullable
+#define nullable
+#endif
+#ifndef nonnull
+#define nonnull
+#endif
+#ifndef null_unspecified
+#define null_unspecified
+#endif
+#endif
+
+#if defined(NS_ASSUME_NONNULL_BEGIN) && defined(NS_ASSUME_NONNULL_END)
+#define RLM_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
+#define RLM_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
+#else
+#define RLM_ASSUME_NONNULL_BEGIN
+#define RLM_ASSUME_NONNULL_END
+#endif
+
+#pragma mark - Escaping
+
+#if __has_attribute(noescape)
+#  define RLM_NOESCAPE __attribute__((noescape))
+#else
+#  define RLM_NOESCAPE
+#endif
+
+#pragma mark - Unused Result
+
+#if __has_attribute(warn_unused_result)
+#  define RLM_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+#  define RLM_WARN_UNUSED_RESULT
+#endif
+
+#pragma mark - Swift Availability
+
+#if defined(NS_SWIFT_UNAVAILABLE)
+#  define RLM_SWIFT_UNAVAILABLE(msg) NS_SWIFT_UNAVAILABLE(msg)
+#else
+#  define RLM_SWIFT_UNAVAILABLE(msg)
+#endif

+ 107 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMMigration.h

@@ -0,0 +1,107 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMSchema;
+@class RLMArray;
+@class RLMObject;
+
+/**
+Provides both the old and new versions of an object in this Realm. Object properties can only be
+accessed using keyed subscripting.
+
+@param oldObject Object in original RLMRealm (read-only).
+@param newObject Object in migrated RLMRealm (read-write).
+*/
+typedef void (^RLMObjectMigrationBlock)(RLMObject * __nullable oldObject, RLMObject * __nullable newObject);
+
+/**
+ RLMMigration is the object passed into a user defined RLMMigrationBlock when updating the version
+ of an RLMRealm instance.
+
+ This object provides access to the RLMSchema current to this migration.
+ */
+@interface RLMMigration : NSObject
+
+#pragma mark - Properties
+
+/**
+ Get the old RLMSchema for the migration. This is the schema which describes the RLMRealm before the
+ migration is applied.
+ */
+@property (nonatomic, readonly) RLMSchema *oldSchema;
+
+/**
+ Get the new RLMSchema for the migration. This is the schema which describes the RLMRealm after applying
+ a migration.
+ */
+@property (nonatomic, readonly) RLMSchema *newSchema;
+
+
+#pragma mark - Altering Objects during a Migration
+
+/**
+ Enumerates objects of a given type in this Realm, providing both the old and new versions of each object.
+ Objects properties can be accessed using keyed subscripting.
+
+ @param className   The name of the RLMObject class to enumerate.
+
+ @warning   All objects returned are of a type specific to the current migration and should not be casted
+            to className. Instead you should access them as RLMObjects and use keyed subscripting to access
+            properties.
+ */
+- (void)enumerateObjects:(NSString *)className block:(RLMObjectMigrationBlock)block;
+
+/**
+ Create an RLMObject of type `className` in the Realm being migrated.
+
+ @param className   The name of the RLMObject class to create.
+ @param value       The value used to populate the created object. This can be any key/value coding compliant
+                    object, or a JSON object such as those returned from the methods in NSJSONSerialization, or
+                    an NSArray with one object for each persisted property. An exception will be
+                    thrown if any required properties are not present and no default is set.
+
+                    When passing in an NSArray, all properties must be present, valid and in the same order as the properties defined in the model.
+ */
+-(RLMObject *)createObject:(NSString *)className withValue:(id)value;
+
+/**
+ Delete an object from a Realm during a migration. This can be called within `enumerateObjects:block:`.
+
+ @param object  Object to be deleted from the Realm being migrated.
+ */
+- (void)deleteObject:(RLMObject *)object;
+
+/**
+ Deletes the data for the class with the given name.
+ This deletes all objects of the given class, and if the RLMObject subclass no longer exists in your program,
+ cleans up any remaining metadata for the class in the Realm file.
+
+ @param  name The name of the RLMObject class to delete.
+
+ @return whether there was any data to delete.
+ */
+- (BOOL)deleteDataForClassName:(NSString *)name;
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 425 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObject.h

@@ -0,0 +1,425 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+#import <Realm/RLMObjectBase.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMRealm;
+@class RLMResults;
+@class RLMObjectSchema;
+
+/**
+ 
+ In Realm you define your model classes by subclassing `RLMObject` and adding properties to be persisted.
+ You then instantiate and use your custom subclasses instead of using the `RLMObject` class directly.
+ 
+     // Dog.h
+     @interface Dog : RLMObject
+     @property NSString *name;
+     @property BOOL      adopted;
+     @end
+ 
+     // Dog.m
+     @implementation Dog
+     @end //none needed
+ 
+ ### Supported property types
+ 
+ - `NSString`
+ - `NSInteger`, `int`, `long`, `float`, and `double`
+ - `BOOL` or `bool`
+ - `NSDate`
+ - `NSData`
+ - `NSNumber<X>`, where X is one of RLMInt, RLMFloat, RLMDouble or RLMBool, for optional number properties
+ - `RLMObject` subclasses, so you can have many-to-one relationships.
+ - `RLMArray<X>`, where X is an `RLMObject` subclass, so you can have many-to-many relationships.
+
+ ### Querying
+ 
+ You can query an object directly via the class methods: `allObjects`, `objectsWhere:`, and `objectsWithPredicate:`.
+ These methods allow you to easily query a custom subclass for instances of this class in the
+ default Realm. To search in a Realm other than the default Realm use the interface on an RLMRealm instance.
+ 
+ ### Relationships
+ 
+ See our [Cocoa guide](https://realm.io/docs/objc/latest#relationships) for more details.
+
+ ### Key-Value Observing
+
+ All `RLMObject` properties (including properties you create in subclasses) are
+ [Key-Value Observing compliant](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.html),
+ except for `realm` and `objectSchema`. There are several Realm-specific things
+ to keep in mind when observing Realm objects:
+
+ 1. Unlike `NSMutableArray` properties, `RLMArray` properties do not require
+    using the proxy object returned from `-mutableArrayValueForKey:`, or defining
+    KVC mutation methods on the containing class. You can simply call methods on
+    the RLMArray directly and the changes will be observed by the containing
+    object.
+ 2. Standalone `RLMObjects` cannot be added to a Realm while they have any
+    observed properties.
+ 3. Modifying persisted `RLMObjects` in `-observeValueForKeyPath:ofObject:change:context:`
+    is problematic. Properties may change when the Realm is not in a write
+    transaction (for example, when `-[RLMRealm refresh]` is called after changes
+    are made on a different thread), and notifications sent prior to the change
+    being applied (when `NSKeyValueObservingOptionPrior` is used) may be sent at
+    times when you *cannot* begin a write transaction.
+ */
+
+@interface RLMObject : RLMObjectBase
+
+#pragma mark - Creating & Initializing Objects
+
+/**
+ Initialize a standalone RLMObject
+ 
+ Initialize an unpersisted instance of this object.
+ Call addObject: on an RLMRealm to add standalone object to a realm.
+ 
+ @see [RLMRealm addObject:]:
+ */
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+
+
+/**
+ Initialize a standalone RLMObject with values from an NSArray or NSDictionary
+ 
+ Initialize an unpersisted instance of this object.
+ Call addObject: on an RLMRealm to add standalone object to a realm.
+ 
+ @see [RLMRealm addObject:]:
+ */
+- (instancetype)initWithValue:(id)value NS_DESIGNATED_INITIALIZER;
+
+
+/**
+ Helper to return the class name for an RLMObject subclass.
+
+ @warning Do not override. Realm relies on this method returning the exact class
+          name.
+ 
+ @return  The class name for the model class.
+ */
++ (NSString *)className;
+
+/**
+ Create an RLMObject in the default Realm with a given value.
+
+ Creates an instance of this object and adds it to the default Realm populating
+ the object with the given value.
+ 
+ If nested objects are included in the argument, `createInDefaultRealmWithValue:` will be called
+ on them.
+
+ @param value   The value used to populate the object. This can be any key/value coding compliant
+                object, or a JSON object such as those returned from the methods in NSJSONSerialization, or
+                an NSArray with one object for each persisted property. An exception will be
+                thrown if any required properties are not present and no default is set.
+
+ When passing in an NSArray, all properties must be present, valid and in the same order as the properties defined in the model.
+
+ @see   defaultPropertyValues
+ */
++ (instancetype)createInDefaultRealmWithValue:(id)value;
+
+/**
+ Create an RLMObject in a Realm with a given object.
+ 
+ Creates an instance of this object and adds it to the given Realm populating
+ the object with the given object.
+ 
+ If nested objects are included in the argument, `createInRealm:withValue:` will be called
+ on them.
+ 
+ @param realm   The Realm in which this object is persisted.
+ @param value   The value used to populate the object. This can be any key/value coding compliant
+                object, or a JSON object such as those returned from the methods in NSJSONSerialization, or
+                an NSArray with one object for each persisted property. An exception will be
+                thrown if any required properties are not present and no default is set.
+                
+                When passing in an NSArray, all properties must be present, valid and in the same order as the properties defined in the model.
+ 
+ @see   defaultPropertyValues
+ */
++ (instancetype)createInRealm:(RLMRealm *)realm withValue:(id)value;
+
+/**
+ Create or update an RLMObject in the default Realm with a given object.
+
+ This method can only be called on object types with a primary key defined. If there is already
+ an object with the same primary key value in the default RLMRealm its values are updated and the object
+ is returned. Otherwise this creates and populates a new instance of this object in the default Realm.
+ 
+ If nested objects are included in the argument, `createOrUpdateInDefaultRealmWithValue:` will be
+ called on them if have a primary key (`createInDefaultRealmWithValue:` otherwise).
+ 
+ This is a no-op if the argument is an RLMObject of the same type already backed by the target realm.
+
+ @param value   The value used to populate the object. This can be any key/value coding compliant
+                object, or a JSON object such as those returned from the methods in NSJSONSerialization, or
+                an NSArray with one object for each persisted property. An exception will be
+                thrown if any required properties are not present and no default is set.
+
+ When passing in an NSArray, all properties must be present, valid and in the same order as the properties defined in the model.
+
+ @see   defaultPropertyValues, primaryKey
+ */
++ (instancetype)createOrUpdateInDefaultRealmWithValue:(id)value;
+
+/**
+ Create or update an RLMObject with a given object.
+
+ This method can only be called on object types with a primary key defined. If there is already
+ an object with the same primary key value in the provided RLMRealm its values are updated and the object
+ is returned. Otherwise this creates and populates a new instance of this object in the provided Realm.
+ 
+ If nested objects are included in the argument, `createOrUpdateInRealm:withValue:` will be
+ called on them if have a primary key (`createInRealm:withValue:` otherwise).
+
+ This is a no-op if the argument is an RLMObject of the same type already backed by the target realm.
+
+ @param realm   The Realm in which this object is persisted.
+ @param value   The value used to populate the object. This can be any key/value coding compliant
+                object, or a JSON object such as those returned from the methods in NSJSONSerialization, or
+                an NSArray with one object for each persisted property. An exception will be
+                thrown if any required properties are not present and no default is set.
+
+ When passing in an NSArray, all properties must be present, valid and in the same order as the properties defined in the model.
+
+ @see   defaultPropertyValues, primaryKey
+ */
++ (instancetype)createOrUpdateInRealm:(RLMRealm *)realm withValue:(id)value;
+
+#pragma mark - Properties
+
+/**
+ The Realm in which this object is persisted. Returns nil for standalone objects.
+ */
+@property (nonatomic, readonly, nullable) RLMRealm *realm;
+
+/**
+ The ObjectSchema which lists the persisted properties for this object.
+ */
+@property (nonatomic, readonly) RLMObjectSchema *objectSchema;
+
+/**
+ Indicates if an object can no longer be accessed.
+ 
+ An object can no longer be accessed if the object has been deleted from the containing `realm` or
+ if `invalidate` is called on the containing `realm`.
+ */
+@property (nonatomic, readonly, getter = isInvalidated) BOOL invalidated;
+
+
+#pragma mark - Customizing your Objects
+
+/**
+ Return an array of property names for properties which should be indexed. Only supported
+ for string and int properties.
+ @return    NSArray of property names.
+ */
++ (NSArray RLM_GENERIC(NSString *) *)indexedProperties;
+
+/**
+ Implement to indicate the default values to be used for each property.
+ 
+ @return    NSDictionary mapping property names to their default values.
+ */
++ (nullable NSDictionary *)defaultPropertyValues;
+
+/**
+ Implement to designate a property as the primary key for an RLMObject subclass. Only properties of
+ type RLMPropertyTypeString and RLMPropertyTypeInt can be designated as the primary key. Primary key 
+ properties enforce uniqueness for each value whenever the property is set which incurs some overhead.
+ Indexes are created automatically for primary key properties.
+
+ @return    Name of the property designated as the primary key.
+ */
++ (nullable NSString *)primaryKey;
+
+/**
+ Implement to return an array of property names to ignore. These properties will not be persisted
+ and are treated as transient.
+ 
+ @return    NSArray of property names to ignore.
+ */
++ (nullable NSArray RLM_GENERIC(NSString *) *)ignoredProperties;
+
+/**
+ Implement to return an array of property names that should not allow storing nil.
+
+ By default, all properties of a type that support storing nil are considered optional properties.
+ To require that an object in a Realm always have a non-nil value for a property,
+ add the name of the property to the array returned from this method.
+ 
+ Currently Object properties cannot be required. Array and NSNumber properties
+ can, but it makes little sense to do so: arrays do not support storing nil, and
+ if you want a non-optional number you should instead use the primitive type.
+
+ @return    NSArray of property names that are required.
+ */
++ (NSArray RLM_GENERIC(NSString *) *)requiredProperties;
+
+
+#pragma mark - Getting & Querying Objects from the Default Realm
+
+/**
+ Get all objects of this type from the default Realm.
+ 
+ @return    An RLMResults of all objects of this type in the default Realm.
+ */
++ (RLMResults *)allObjects;
+
+/**
+ Get objects matching the given predicate for this type from the default Realm.
+ 
+ @param predicateFormat The predicate format string which can accept variable arguments.
+ 
+ @return    An RLMResults of objects of the subclass type in the default Realm that match the given predicate
+ */
++ (RLMResults *)objectsWhere:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
++ (RLMResults *)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
+
+/**
+ Get objects matching the given predicate for this type from the default Realm.
+
+ @param predicate   The predicate to filter the objects.
+
+ @return    An RLMResults of objects of the subclass type in the default Realm that match the given predicate
+ */
++ (RLMResults *)objectsWithPredicate:(nullable NSPredicate *)predicate;
+
+/**
+ Get the single object with the given primary key from the default Realm.
+
+ Returns the object from the default Realm which has the given primary key, or
+ `nil` if the object does not exist. This is slightly faster than the otherwise
+ equivalent `[[SubclassName objectsWhere:@"primaryKeyPropertyName = %@", key] firstObject]`.
+
+ This method requires that `primaryKey` be overridden on the receiving subclass.
+
+ @return    An object of the subclass type or nil if an object with the given primary key does not exist.
+ @see       -primaryKey
+ */
++ (nullable instancetype)objectForPrimaryKey:(nullable id)primaryKey;
+
+
+#pragma mark - Querying Specific Realms
+
+/**
+ Get all objects of this type from the specified Realm.
+
+ @param realm   The Realm instance to query.
+
+ @return        An RLMResults of all objects of this type in the specified Realm.
+ */
++ (RLMResults *)allObjectsInRealm:(RLMRealm *)realm;
+
+/**
+ Get objects matching the given predicate for this type from the specified Realm.
+
+ @param predicateFormat The predicate format string which can accept variable arguments.
+ @param realm           The Realm instance to query.
+
+ @return    An RLMResults of objects of the subclass type in the specified Realm that match the given predicate
+ */
++ (RLMResults *)objectsInRealm:(RLMRealm *)realm where:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
++ (RLMResults *)objectsInRealm:(RLMRealm *)realm where:(NSString *)predicateFormat args:(va_list)args;
+
+/**
+ Get objects matching the given predicate for this type from the specified Realm.
+
+ @param predicate   The predicate to filter the objects.
+ @param realm       The Realm instance to query.
+
+ @return    An RLMResults of objects of the subclass type in the specified Realm that match the given predicate
+ */
++ (RLMResults *)objectsInRealm:(RLMRealm *)realm withPredicate:(nullable NSPredicate *)predicate;
+
+/**
+ Get the single object with the given primary key from the specified Realm.
+
+ Returns the object from the specified Realm which has the given primary key, or
+ `nil` if the object does not exist. This is slightly faster than the otherwise
+ equivalent `[[SubclassName objectsInRealm:realm where:@"primaryKeyPropertyName = %@", key] firstObject]`.
+
+ This method requires that `primaryKey` be overridden on the receiving subclass.
+
+ @return    An object of the subclass type or nil if an object with the given primary key does not exist.
+ @see       -primaryKey
+ */
++ (nullable instancetype)objectInRealm:(RLMRealm *)realm forPrimaryKey:(nullable id)primaryKey;
+
+#pragma mark - Other Instance Methods
+
+/**
+ Get an `NSArray` of objects of type `className` which have this object as the given property value. This can
+ be used to get the inverse relationship value for `RLMObject` and `RLMArray` properties.
+
+ @param className   The type of object on which the relationship to query is defined.
+ @param property    The name of the property which defines the relationship.
+
+ @return    An NSArray of objects of type `className` which have this object as their value for the `property` property.
+ */
+- (NSArray *)linkingObjectsOfClass:(NSString *)className forProperty:(NSString *)property;
+
+/**
+ Returns YES if another RLMObject points to the same object in an RLMRealm. For RLMObject types
+ with a primary, key, `isEqual:` is overridden to use this method (along with a corresponding
+ implementation for `hash`.
+
+ @param object  The object to compare to.
+
+ @return    YES if the object represents the same object in the same RLMRealm.
+ */
+- (BOOL)isEqualToObject:(RLMObject *)object;
+
+#pragma mark - Dynamic Accessors
+
+/// :nodoc:
+- (nullable id)objectForKeyedSubscript:(NSString *)key;
+
+/// :nodoc:
+- (void)setObject:(nullable id)obj forKeyedSubscript:(NSString *)key;
+
+@end
+
+#pragma mark - RLMArray Property Declaration
+
+/**
+ Properties on RLMObjects of type RLMArray must have an associated type. A type is associated
+ with an RLMArray property by defining a protocol for the object type which the RLMArray will
+ hold. To define the protocol for an object you can use the macro RLM_ARRAY_TYPE:
+ 
+     RLM_ARRAY_TYPE(ObjectType)
+     ...
+     @property RLMArray<ObjectType *><ObjectType> *arrayOfObjectTypes;
+  */
+#define RLM_ARRAY_TYPE(RLM_OBJECT_SUBCLASS)\
+@protocol RLM_OBJECT_SUBCLASS <NSObject>   \
+@end
+
+RLM_ASSUME_NONNULL_END

+ 42 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObjectBase.h

@@ -0,0 +1,42 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMRealm;
+@class RLMSchema;
+@class RLMObjectSchema;
+
+/// :nodoc:
+@interface RLMObjectBase : NSObject
+
+@property (nonatomic, readonly, getter = isInvalidated) BOOL invalidated;
+
+- (instancetype)init;
+
++ (NSString *)className;
+
+// Returns whether the class is included in the default set of classes persisted in a Realm.
++ (BOOL)shouldIncludeInDefaultSchema;
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 84 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObjectBase_Dynamic.h

@@ -0,0 +1,84 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMObject.h>
+
+@class RLMObjectSchema, RLMRealm;
+
+/**
+ This function is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to retrieve `realm` via `RLMObject`.
+ 
+ @param object	an RLMObjectBase obtained via a Swift Object or RLMObject
+ 
+ @return The Realm in which this object is persisted. Returns nil for standalone objects.
+ */
+FOUNDATION_EXTERN RLMRealm *RLMObjectBaseRealm(RLMObjectBase *object);
+
+/**
+ This function is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to retrieve `objectSchema` via `RLMObject`.
+ 
+ @param object	an RLMObjectBase obtained via a Swift Object or RLMObject
+ 
+ @return The ObjectSchema which lists the persisted properties for this object.
+ */
+FOUNDATION_EXTERN RLMObjectSchema *RLMObjectBaseObjectSchema(RLMObjectBase *object);
+
+/**
+ This function is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to retrieve the linking objects via `RLMObject`.
+ 
+ @param object		an RLMObjectBase obtained via a Swift Object or RLMObject
+ @param className	The type of object on which the relationship to query is defined.
+ @param property	The name of the property which defines the relationship.
+ 
+ @return An NSArray of objects of type `className` which have this object as their value for the `property` property.
+ */
+FOUNDATION_EXTERN NSArray *RLMObjectBaseLinkingObjectsOfClass(RLMObjectBase *object, NSString *className, NSString *property);
+
+/**
+ This function is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to retrieve key values via `RLMObject`.
+ 
+ @warning Will throw `NSUndefinedKeyException` if key is not present on the object
+ 
+ @param object	an RLMObjectBase obtained via a Swift Object or RLMObject
+ @param key		The name of the property
+ 
+ @return the object for the property requested
+ */
+FOUNDATION_EXTERN id RLMObjectBaseObjectForKeyedSubscript(RLMObjectBase *object, NSString *key);
+
+/**
+ This function is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to set key values via `RLMObject`.
+ 
+ @warning Will throw `NSUndefinedKeyException` if key is not present on the object
+ 
+ @param object	an RLMObjectBase obtained via a Swift Object or RLMObject
+ @param key		The name of the property
+ @param obj		The object to set as the value of the key
+ */
+FOUNDATION_EXTERN void RLMObjectBaseSetObjectForKeyedSubscript(RLMObjectBase *object, NSString *key, id obj);
+

+ 73 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMObjectSchema.h

@@ -0,0 +1,73 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMProperty;
+
+/**
+ This class represents Realm model object schemas.
+
+ When using Realm, RLMObjectSchema objects allow performing migrations and
+ introspecting the database's schema.
+
+ Object schemas map to tables in the core database.
+ */
+@interface RLMObjectSchema : NSObject<NSCopying>
+
+#pragma mark - Properties
+
+/**
+ Array of persisted RLMProperty objects for an object.
+ 
+ @see RLMProperty
+ */
+@property (nonatomic, readonly, copy) NSArray RLM_GENERIC(RLMProperty *) *properties;
+
+/**
+ The name of the class this schema describes.
+ */
+@property (nonatomic, readonly) NSString *className;
+
+/**
+ The property which is the primary key for this object (if any).
+ */
+@property (nonatomic, readonly, nullable) RLMProperty *primaryKeyProperty;
+
+#pragma mark - Methods
+
+/**
+ Retrieve an RLMProperty object by name.
+ 
+ @param propertyName The property's name.
+ 
+ @return RLMProperty object or nil if there is no property with the given name.
+ */
+- (nullable RLMProperty *)objectForKeyedSubscript:(id <NSCopying>)propertyName;
+
+/**
+ Returns YES if equal to objectSchema
+*/
+- (BOOL)isEqualToObjectSchema:(RLMObjectSchema *)objectSchema;
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 22 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMPlatform.h

@@ -0,0 +1,22 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#if TARGET_OS_IPHONE
+#error Attempting to use Realm's OSX framework in an iOS project.
+#endif
+

+ 95 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMProperty.h

@@ -0,0 +1,95 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMConstants.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+/// :nodoc:
+@protocol RLMInt
+@end
+
+/// :nodoc:
+@protocol RLMBool
+@end
+
+/// :nodoc:
+@protocol RLMDouble
+@end
+
+/// :nodoc:
+@protocol RLMFloat
+@end
+
+/// :nodoc:
+@interface NSNumber ()<RLMInt, RLMBool, RLMDouble, RLMFloat>
+@end
+
+/**
+ This class models properties persisted to Realm in an RLMObjectSchema.
+ 
+ When using Realm, RLMProperty objects allow performing migrations and 
+ introspecting the database's schema.
+ 
+ These properties map to columns in the core database.
+ */
+@interface RLMProperty : NSObject
+
+#pragma mark - Properties
+
+/**
+ Property name.
+ */
+@property (nonatomic, readonly) NSString *name;
+
+/**
+ Property type.
+ 
+ @see RLMPropertyType
+ */
+@property (nonatomic, readonly) RLMPropertyType type;
+
+/**
+ Indicates if this property is indexed.
+ 
+ @see RLMObject
+ */
+@property (nonatomic, readonly) BOOL indexed;
+
+/**
+ Object class name - specify object types for RLMObject and RLMArray properties.
+ */
+@property (nonatomic, readonly, copy, nullable) NSString *objectClassName;
+
+/**
+ Whether this property is optional.
+ */
+@property (nonatomic, readonly) BOOL optional;
+
+#pragma mark - Methods
+
+/**
+ Returns YES if property objects are equal.
+ */
+- (BOOL)isEqualToProperty:(RLMProperty *)property;
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 519 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMRealm.h

@@ -0,0 +1,519 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMDefines.h>
+
+@class RLMRealmConfiguration, RLMObject, RLMSchema, RLMMigration, RLMNotificationToken;
+
+RLM_ASSUME_NONNULL_BEGIN
+
+/**
+ An RLMRealm instance (also referred to as "a realm") represents a Realm
+ database.
+
+ Realms can either be stored on disk (see +[RLMRealm realmWithPath:]) or in
+ memory (see RLMRealmConfiguration).
+
+ RLMRealm instances are cached internally, and constructing equivalent RLMRealm
+ objects (with the same path or identifier) multiple times on a single thread
+ within a single iteration of the run loop will normally return the same
+ RLMRealm object. If you specifically want to ensure a RLMRealm object is
+ destroyed (for example, if you wish to open a realm, check some property, and
+ then possibly delete the realm file and re-open it), place the code which uses
+ the realm within an `@autoreleasepool {}` and ensure you have no other
+ strong references to it.
+
+ @warning RLMRealm instances are not thread safe and can not be shared across
+ threads or dispatch queues. You must call this method on each thread you want
+ to interact with the realm on. For dispatch queues, this means that you must
+ call it in each block which is dispatched, as a queue is not guaranteed to run
+ on a consistent thread.
+ */
+
+@interface RLMRealm : NSObject
+
+#pragma mark - Creating & Initializing a Realm
+
+/**
+ Obtains an instance of the default Realm.
+
+ The default Realm is used by the `RLMObject` class methods
+ which do not take a `RLMRealm` parameter, but is otherwise not special. The
+ default Realm is persisted as default.realm under the Documents directory of
+ your Application on iOS, and in your application's Application Support
+ directory on OS X.
+ 
+ The default Realm is created using the default `RLMRealmConfiguration`, which
+ can be changed via `+[RLMRealmConfiguration setDefaultConfiguration:]`.
+
+ @return The default `RLMRealm` instance for the current thread.
+ */
++ (instancetype)defaultRealm;
+
+/**
+ Obtains an `RLMRealm` instance with the given configuration.
+
+ @param configuration The configuration for the realm.
+ @param error         If an error occurs, upon return contains an `NSError` object
+                      that describes the problem. If you are not interested in
+                      possible errors, pass in `NULL`.
+
+ @return An `RLMRealm` instance.
+ */
++ (nullable instancetype)realmWithConfiguration:(RLMRealmConfiguration *)configuration error:(NSError **)error;
+
+/**
+ Obtains an `RLMRealm` instance persisted at a specific file path.
+
+ @param path Path to the file you want the data saved in.
+
+ @return An `RLMRealm` instance.
+ */
++ (instancetype)realmWithPath:(NSString *)path;
+
+/**
+ Path to the file where this Realm is persisted.
+ */
+@property (nonatomic, readonly) NSString *path;
+
+/**
+ Indicates if this Realm was opened in read-only mode.
+ */
+@property (nonatomic, readonly, getter = isReadOnly) BOOL readOnly;
+
+/**
+ The RLMSchema used by this RLMRealm.
+ */
+@property (nonatomic, readonly, null_unspecified) RLMSchema *schema;
+
+/**
+ Indicates if this Realm is currently in a write transaction.
+
+ @warning Wrapping mutating operations in a write transaction if this property returns `NO`
+          may cause a large number of write transactions to be created, which could negatively
+          impact Realm's performance. Always prefer performing multiple mutations in a single
+          transaction when possible.
+ */
+@property (nonatomic, readonly) BOOL inWriteTransaction;
+
+/**
+ Returns the `RLMRealmConfiguration` that was used to create this `RLMRealm` instance.
+ */
+@property (nonatomic, readonly) RLMRealmConfiguration *configuration;
+
+/**
+ Indicates if this Realm contains any objects.
+ */
+@property (nonatomic, readonly) BOOL isEmpty;
+
+#pragma mark - Notifications
+
+/// Block to run when the data in a Realm was modified.
+typedef void (^RLMNotificationBlock)(NSString *notification, RLMRealm *realm);
+
+#pragma mark - Receiving Notification when a Realm Changes
+
+/**
+ Add a notification handler for changes in this RLMRealm.
+
+ Notification handlers are called after each write transaction is committed,
+ either on the current thread or other threads. The block is called on the same
+ thread as they were added on, and can only be added on threads which are
+ currently within a run loop. Unless you are specifically creating and running a
+ run loop on a background thread, this normally will only be the main thread.
+
+ The block has the following definition:
+
+     typedef void(^RLMNotificationBlock)(NSString *notification, RLMRealm *realm);
+
+ It receives the following parameters:
+
+ - `NSString` \***notification**:    The name of the incoming notification. See
+                                     RLMRealmNotification for information on what
+                                     notifications are sent.
+ - `RLMRealm` \***realm**:           The realm for which this notification occurred
+
+ @param block   A block which is called to process RLMRealm notifications.
+
+ @return A token object which must be stored as long as you wish to continue
+         receiving change notifications.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(RLMNotificationBlock)block RLM_WARN_UNUSED_RESULT;
+
+/**
+ Remove a previously registered notification handler using the token returned
+ from `-addNotificationBlock:`
+
+ @param notificationToken   The token returned from `-addNotificationBlock:`
+                            corresponding to the notification block to remove.
+ */
+- (void)removeNotification:(RLMNotificationToken *)notificationToken;
+
+#pragma mark - Transactions
+
+
+#pragma mark - Writing to a Realm
+
+/**
+ Begins a write transaction in an `RLMRealm`.
+
+ Only one write transaction can be open at a time. Write transactions cannot be
+ nested, and trying to begin a write transaction on a `RLMRealm` which is
+ already in a write transaction will throw an exception. Calls to
+ `beginWriteTransaction` from `RLMRealm` instances in other threads will block
+ until the current write transaction completes.
+
+ Before beginning the write transaction, `beginWriteTransaction` updates the
+ `RLMRealm` to the latest Realm version, as if refresh was called, and
+ generates notifications if applicable. This has no effect if the `RLMRealm`
+ was already up to date.
+
+ It is rarely a good idea to have write transactions span multiple cycles of
+ the run loop, but if you do wish to do so you will need to ensure that the
+ `RLMRealm` in the write transaction is kept alive until the write transaction
+ is committed.
+ */
+- (void)beginWriteTransaction;
+
+/**
+ Commits all write operations in the current write transaction, and ends the 
+ transaction.
+
+ @warning This method can only be called during a write transaction.
+ */
+- (void)commitWriteTransaction RLM_SWIFT_UNAVAILABLE("");
+
+/**
+ Commits all write operations in the current write transaction, and ends the
+ transaction.
+
+ @warning This method can only be called during a write transaction.
+
+ @param error If an error occurs, upon return contains an `NSError` object
+              that describes the problem. If you are not interested in
+              possible errors, pass in `NULL`.
+
+ @return Whether the transaction succeeded.
+ */
+- (BOOL)commitWriteTransaction:(NSError **)error;
+
+/**
+ Reverts all writes made in the current write transaction and ends the transaction.
+
+ This rolls back all objects in the Realm to the state they were in at the
+ beginning of the write transaction, and then ends the transaction.
+
+ This restores the data for deleted objects, but does not revive invalidated
+ object instances. Any `RLMObject`s which were added to the Realm will be
+ invalidated rather than switching back to standalone objects.
+ Given the following code:
+
+     ObjectType *oldObject = [[ObjectType objectsWhere:@"..."] firstObject];
+     ObjectType *newObject = [[ObjectType alloc] init];
+
+     [realm beginWriteTransaction];
+     [realm addObject:newObject];
+     [realm deleteObject:oldObject];
+     [realm cancelWriteTransaction];
+
+ Both `oldObject` and `newObject` will return `YES` for `isInvalidated`,
+ but re-running the query which provided `oldObject` will once again return
+ the valid object.
+
+ @warning This method can only be called during a write transaction.
+ */
+- (void)cancelWriteTransaction;
+
+/**
+ Helper to perform a block within a transaction.
+ */
+- (void)transactionWithBlock:(RLM_NOESCAPE void(^)(void))block RLM_SWIFT_UNAVAILABLE("");
+
+/**
+ Performs actions contained within the given block inside a write transation.
+ 
+ Write transactions cannot be nested, and trying to execute a write transaction 
+ on a `RLMRealm` which is already in a write transaction will throw an 
+ exception. Calls to `transactionWithBlock:` from `RLMRealm` instances in other 
+ threads will block until the current write transaction completes.
+
+ Before beginning the write transaction, `transactionWithBlock:` updates the
+ `RLMRealm` to the latest Realm version, as if refresh was called, and
+ generates notifications if applicable. This has no effect if the `RLMRealm`
+ was already up to date.
+
+ @param block The block to perform.
+ @param error If an error occurs, upon return contains an `NSError` object
+              that describes the problem. If you are not interested in
+              possible errors, pass in `NULL`.
+
+ @return Whether the transaction succeeded.
+ */
+- (BOOL)transactionWithBlock:(RLM_NOESCAPE void(^)(void))block error:(NSError **)error;
+
+/**
+ Update an `RLMRealm` and outstanding objects to point to the most recent data for this `RLMRealm`.
+
+ @return    Whether the realm had any updates. Note that this may return YES even if no data has actually changed.
+ */
+- (BOOL)refresh;
+
+/**
+ Set to YES to automatically update this Realm when changes happen in other threads.
+
+ If set to YES (the default), changes made on other threads will be reflected
+ in this Realm on the next cycle of the run loop after the changes are
+ committed.  If set to NO, you must manually call `-refresh` on the Realm to
+ update it to get the latest version.
+
+ Note that by default, background threads do not have an active run loop and you 
+ will need to manually call `-refresh` in order to update to the latest version,
+ even if `autorefresh` is set to `true`.
+
+ Even with this enabled, you can still call `-refresh` at any time to update the
+ Realm before the automatic refresh would occur.
+
+ Notifications are sent when a write transaction is committed whether or not
+ this is enabled.
+
+ Disabling this on an `RLMRealm` without any strong references to it will not
+ have any effect, and it will switch back to YES the next time the `RLMRealm`
+ object is created. This is normally irrelevant as it means that there is
+ nothing to refresh (as persisted `RLMObject`s, `RLMArray`s, and `RLMResults` have strong
+ references to the containing `RLMRealm`), but it means that setting
+ `RLMRealm.defaultRealm.autorefresh = NO` in
+ `application:didFinishLaunchingWithOptions:` and only later storing Realm
+ objects will not work.
+
+ Defaults to YES.
+ */
+@property (nonatomic) BOOL autorefresh;
+
+/**
+ Write a compacted copy of the RLMRealm to the given path.
+
+ The destination file cannot already exist.
+
+ Note that if this is called from within a write transaction it writes the
+ *current* data, and not data when the last write transaction was committed.
+
+ @param path Path to save the Realm to.
+ @param error On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
+ @return YES if the realm was copied successfully. Returns NO if an error occurred.
+*/
+- (BOOL)writeCopyToPath:(NSString *)path error:(NSError **)error;
+
+/**
+ Write an encrypted and compacted copy of the RLMRealm to the given path.
+
+ The destination file cannot already exist.
+
+ Note that if this is called from within a write transaction it writes the
+ *current* data, and not data when the last write transaction was committed.
+
+ @param path Path to save the Realm to.
+ @param key 64-byte encryption key to encrypt the new file with
+ @param error On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
+ @return YES if the realm was copied successfully. Returns NO if an error occurred.
+*/
+- (BOOL)writeCopyToPath:(NSString *)path encryptionKey:(NSData *)key error:(NSError **)error;
+
+/**
+ Invalidate all RLMObjects and RLMResults read from this Realm.
+
+ An RLMRealm holds a read lock on the version of the data accessed by it, so
+ that changes made to the Realm on different threads do not modify or delete the
+ data seen by this RLMRealm. Calling this method releases the read lock,
+ allowing the space used on disk to be reused by later write transactions rather
+ than growing the file. This method should be called before performing long
+ blocking operations on a background thread on which you previously read data
+ from the Realm which you no longer need.
+
+ All `RLMObject`, `RLMResults` and `RLMArray` instances obtained from this
+ `RLMRealm` on the current thread are invalidated, and can not longer be used.
+ The `RLMRealm` itself remains valid, and a new read transaction is implicitly
+ begun the next time data is read from the Realm.
+
+ Calling this method multiple times in a row without reading any data from the
+ Realm, or before ever reading any data from the Realm is a no-op. This method
+ cannot be called on a read-only Realm.
+ */
+- (void)invalidate;
+
+#pragma mark - Accessing Objects
+
+
+#pragma mark - Adding and Removing Objects from a Realm
+
+/**
+ Adds an object to be persisted in this Realm.
+
+ Once added, this object can be retrieved using the `objectsWhere:` selectors
+ on `RLMRealm` and on subclasses of `RLMObject`. When added, all (child)
+ relationships referenced by this object will also be added to the Realm if they are
+ not already in it. If the object or any related objects already belong to a
+ different Realm an exception will be thrown. Use
+ `-[RLMObject createInRealm:withObject]` to insert a copy of a persisted object
+ into a different Realm.
+
+ The object to be added must be valid and cannot have been previously deleted
+ from a Realm (i.e. `isInvalidated`) must be false.
+
+ @warning This method can only be called during a write transaction.
+
+ @param object  Object to be added to this Realm.
+ */
+- (void)addObject:(RLMObject *)object;
+
+/**
+ Adds objects in the given array to be persisted in this Realm.
+
+ This is the equivalent of `addObject:` except for an array of objects.
+
+ @warning This method can only be called during a write transaction.
+
+ @param array   An enumerable object such as NSArray or RLMResults which contains objects to be added to
+                this Realm.
+
+ @see   addObject:
+ */
+- (void)addObjects:(id<NSFastEnumeration>)array;
+
+/**
+ Adds or updates an object to be persisted in this Realm. The object provided must have a designated
+ primary key. If no objects exist in the RLMRealm instance with the same primary key value, the object is
+ inserted. Otherwise, the existing object is updated with any changed values.
+
+ As with `addObject:`, the object cannot already be persisted in a different
+ Realm. Use `-[RLMObject createOrUpdateInRealm:withValue:]` to copy values to
+ a different Realm.
+
+ @warning This method can only be called during a write transaction.
+
+ @param object  Object to be added or updated.
+ */
+- (void)addOrUpdateObject:(RLMObject *)object;
+
+/**
+ Adds or updates objects in the given array to be persisted in this Realm.
+
+ This is the equivalent of `addOrUpdateObject:` except for an array of objects.
+
+ @warning This method can only be called during a write transaction.
+
+ @param array  `NSArray`, `RLMArray`, or `RLMResults` of `RLMObject`s (or subclasses) to be added to this Realm.
+
+ @see   addOrUpdateObject:
+ */
+- (void)addOrUpdateObjectsFromArray:(id)array;
+
+/**
+ Delete an object from this Realm.
+
+ @warning This method can only be called during a write transaction.
+
+ @param object  Object to be deleted from this Realm.
+ */
+- (void)deleteObject:(RLMObject *)object;
+
+/**
+ Delete an `NSArray`, `RLMArray`, or `RLMResults` of objects from this Realm.
+
+ @warning This method can only be called during a write transaction.
+
+ @param array  `RLMArray`, `NSArray`, or `RLMResults` of `RLMObject`s to be deleted.
+ */
+- (void)deleteObjects:(id)array;
+
+/**
+ Deletes all objects in this Realm.
+
+ @warning This method can only be called during a write transaction.
+ */
+- (void)deleteAllObjects;
+
+
+#pragma mark - Migrations
+
+/**
+ Migration block used to migrate a Realm.
+
+ @param migration   `RLMMigration` object used to perform the migration. The
+                    migration object allows you to enumerate and alter any
+                    existing objects which require migration.
+
+ @param oldSchemaVersion    The schema version of the `RLMRealm` being migrated.
+ */
+typedef void (^RLMMigrationBlock)(RLMMigration *migration, uint64_t oldSchemaVersion);
+
+/**
+ Get the schema version for a Realm at a given path.
+
+ @param realmPath   Path to a Realm file
+ @param error       If an error occurs, upon return contains an `NSError` object
+                    that describes the problem. If you are not interested in
+                    possible errors, pass in `NULL`.
+
+ @return            The version of the Realm at `realmPath` or RLMNotVersioned if the version cannot be read.
+ */
++ (uint64_t)schemaVersionAtPath:(NSString *)realmPath error:(NSError **)error;
+
+/**
+ Get the schema version for an encrypted Realm at a given path.
+
+ @param realmPath   Path to a Realm file
+ @param key         64-byte encryption key.
+ @param error       If an error occurs, upon return contains an `NSError` object
+                    that describes the problem. If you are not interested in
+                    possible errors, pass in `NULL`.
+
+ @return            The version of the Realm at `realmPath` or RLMNotVersioned if the version cannot be read.
+ */
++ (uint64_t)schemaVersionAtPath:(NSString *)realmPath encryptionKey:(nullable NSData *)key error:(NSError **)error;
+
+/**
+ Performs the given Realm configuration's migration block on a Realm at the given path.
+
+ This method is called automatically when opening a Realm for the first time and does
+ not need to be called explicitly. You can choose to call this method to control
+ exactly when and how migrations are performed.
+
+ @param configuration The Realm configuration used to open and migrate the Realm.
+ @return              The error that occurred while applying the migration, if any.
+
+ @see                 RLMMigration
+ */
++ (NSError *)migrateRealm:(RLMRealmConfiguration *)configuration;
+
+@end
+
+/**
+ A token which is returned from methods which subscribe to changes to a Realm.
+
+ Change subscriptions in Realm return an RLMNotificationToken which can be used
+ to unsubscribe from the changes. You must store a strong reference to the token
+ for as long as you want to continue to receive notifications. When you wish to
+ stop, call the `-stop` method.
+ */
+@interface RLMNotificationToken : NSObject
+/// Stop receiving notifications for the subcription that returned this token.
+- (void)stop;
+@end
+
+RLM_ASSUME_NONNULL_END

+ 79 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMRealmConfiguration.h

@@ -0,0 +1,79 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2015 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMRealm.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+/**
+ An `RLMRealmConfiguration` is used to describe the different options used to
+ create an `RLMRealm` instance.
+
+ `RLMRealmConfiguration` instances are just plain NSObjects, and unlike RLMRealm
+ and RLMObjects can be freely shared between threads as long as you do not
+ mutate them. Creating configuration objects for class subsets (by setting the
+ `objectClasses` property) can be expensive, and so you will normally want to
+ cache and reuse a single configuration object for each distinct configuration
+ that you are using rather than creating a new one each time you open a Realm.
+ */
+@interface RLMRealmConfiguration : NSObject<NSCopying>
+
+#pragma mark - Default Configuration
+
+/**
+ Returns the default configuration used to create Realms when no other
+ configuration is explicitly specified (i.e. `+[RLMRealm defaultRealm]`).
+
+ @return The default Realm configuration.
+ */
++ (instancetype)defaultConfiguration;
+
+/**
+ Sets the default configuration to the given `RLMRealmConfiguration`.
+
+ @param configuration The new default Realm configuration.
+ */
++ (void)setDefaultConfiguration:(RLMRealmConfiguration *)configuration;
+
+#pragma mark - Properties
+
+/// The path to the realm file. Mutually exclusive with `inMemoryIdentifier`.
+@property (nonatomic, copy, nullable) NSString *path;
+
+/// A string used to identify a particular in-memory Realm. Mutually exclusive with `path`.
+@property (nonatomic, copy, nullable) NSString *inMemoryIdentifier;
+
+/// 64-byte key to use to encrypt the data.
+@property (nonatomic, copy, nullable) NSData *encryptionKey;
+
+/// Whether the Realm is read-only (must be YES for read-only files).
+@property (nonatomic) BOOL readOnly;
+
+/// The current schema version.
+@property (nonatomic) uint64_t schemaVersion;
+
+/// The block which migrates the Realm to the current version.
+@property (nonatomic, copy, nullable) RLMMigrationBlock migrationBlock;
+
+/// The classes persisted in the Realm.
+@property (nonatomic, copy, nullable) NSArray *objectClasses;
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 130 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMRealm_Dynamic.h

@@ -0,0 +1,130 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMRealm.h>
+
+#import <Realm/RLMObjectSchema.h>
+#import <Realm/RLMProperty.h>
+
+@class RLMResults;
+
+@interface RLMRealm (Dynamic)
+
+#pragma mark - Getting Objects from a Realm
+
+/**
+ This method is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to use the class methods on `RLMObject`.
+ 
+ Get all objects of a given type in this Realm.
+ 
+ The preferred way to get objects of a single class is to use the class methods on RLMObject.
+ 
+ @warning This method is useful only in specialized circumstances.
+
+ @param className   The name of the RLMObject subclass to retrieve on e.g. `MyClass.className`.
+
+ @return    An RLMResults of all objects in this realm of the given type.
+
+ @see       RLMObject allObjects
+ */
+- (RLMResults *)allObjects:(NSString *)className;
+
+/**
+ This method is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to use the class methods on `RLMObject`.
+ 
+ Get objects matching the given predicate from the this Realm.
+
+ The preferred way to get objects of a single class is to use the class methods on RLMObject.
+ 
+ @warning This method is useful only in specialized circumstances.
+
+ @param className       The type of objects you are looking for (name of the class).
+ @param predicateFormat The predicate format string which can accept variable arguments.
+
+ @return    An RLMResults of results matching the given predicate.
+
+ @see       RLMObject objectsWhere:
+ */
+- (RLMResults *)objects:(NSString *)className where:(NSString *)predicateFormat, ...;
+
+/**
+ This method is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to use the class methods on `RLMObject`.
+ 
+ Get objects matching the given predicate from the this Realm.
+
+ The preferred way to get objects of a single class is to use the class methods on RLMObject.
+ 
+ @warning This method is useful only in specialized circumstances.
+
+ @param className   The type of objects you are looking for (name of the class).
+ @param predicate   The predicate to filter the objects.
+
+ @return    An RLMResults of results matching the given predicate.
+
+ @see       RLMObject objectsWhere:
+ */
+- (RLMResults *)objects:(NSString *)className withPredicate:(NSPredicate *)predicate;
+
+/**
+ This method is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to use the class methods on `RLMObject`.
+ 
+ Get an object of a given class name with a primary key
+ 
+ The preferred way to get an object of a single class is to use the class methods on RLMObject.
+ 
+ @warning This method is useful only in specialized circumstances.
+ 
+ @param className   The class name for the object you are looking for
+ @param primaryKey  The primary key value for the object you are looking for
+ 
+ @return    An object or nil if an object with the given primary key does not exist.
+ 
+ @see       RLMObject objectForPrimaryKey:
+ */
+- (RLMObject *)objectWithClassName:(NSString *)className forPrimaryKey:(id)primaryKey;
+
+/**
+ This method is useful only in specialized circumstances, for example, when building components
+ that integrate with Realm. If you are simply building an app on Realm, it is
+ recommended to use [RLMObject createInDefaultRealmWithValue:].
+ 
+ Create an RLMObject of type `className` in the Realm with a given object.
+ 
+ @warning This method is useful only in specialized circumstances.
+
+ @param value   The value used to populate the object. This can be any key/value coding compliant
+                object, or a JSON object such as those returned from the methods in NSJSONSerialization, or
+                an NSArray with one object for each persisted property. An exception will be
+                thrown if any required properties are not present and no default is set.
+
+                When passing in an NSArray, all properties must be present, valid and in the same order as 
+                the properties defined in the model.
+ 
+ @return    An RLMObject of type `className`
+ */
+-(RLMObject *)createObject:(NSString *)className withValue:(id)value;
+
+@end

+ 280 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMResults.h

@@ -0,0 +1,280 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMCollection.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMObject, RLMRealm, RLMNotificationToken;
+
+/**
+ RLMResults is an auto-updating container type in Realm returned from object
+ queries.
+
+ RLMResults can be queried with the same predicates as RLMObject and RLMArray
+ and you can chain queries to further filter query results.
+
+ RLMResults always reflect the current state of the Realm on the current thread,
+ including during write transactions on the current thread. The one exception to
+ this is when using `for...in` fast enumeration, which will always enumerate
+ over the objects which matched the query when the enumeration is begun, even if
+ some of them are deleted or modified to be excluded by the filter during the
+ enumeration.
+
+ RLMResults are initially lazily evaluated, and only run queries when the result
+ of the query is requested. This means that chaining several temporary
+ RLMResults to sort and filter your data does not perform any extra work
+ processing the intermediate state.
+
+ Once the results have been evaluated or a notification block has been added,
+ the results are eagerly kept up-to-date, with the work done to keep them
+ up-to-date done on a background thread whenever possible.
+
+ RLMResults cannot be created directly.
+ */
+@interface RLMResults RLM_GENERIC_COLLECTION : NSObject<RLMCollection, NSFastEnumeration>
+
+#pragma mark - Properties
+
+/**
+ Number of objects in the results.
+ */
+@property (nonatomic, readonly, assign) NSUInteger count;
+
+/**
+ The class name (i.e. type) of the RLMObjects contained in this RLMResults.
+ */
+@property (nonatomic, readonly, copy) NSString *objectClassName;
+
+/**
+ The Realm this `RLMResults` is associated with.
+ */
+@property (nonatomic, readonly) RLMRealm *realm;
+
+#pragma mark - Accessing Objects from an RLMResults
+
+/**
+ Returns the object at the index specified.
+
+ @param index   The index to look up.
+
+ @return An RLMObject of the type contained in this RLMResults.
+ */
+- (RLMObjectType)objectAtIndex:(NSUInteger)index;
+
+/**
+ Returns the first object in the results.
+
+ Returns `nil` if called on an empty RLMResults.
+
+ @return An RLMObject of the type contained in this RLMResults.
+ */
+- (nullable RLMObjectType)firstObject;
+
+/**
+ Returns the last object in the results.
+
+ Returns `nil` if called on an empty RLMResults.
+
+ @return An RLMObject of the type contained in this RLMResults.
+ */
+- (nullable RLMObjectType)lastObject;
+
+#pragma mark - Querying Results
+
+/**
+ Gets the index of an object.
+
+ Returns NSNotFound if the object is not found in this RLMResults.
+
+ @param object  An object (of the same type as returned from the objectClassName selector).
+ */
+- (NSUInteger)indexOfObject:(RLMObjectArgument)object;
+
+/**
+ Gets the index of the first object matching the predicate.
+
+ @param predicateFormat The predicate format string which can accept variable arguments.
+
+ @return    Index of object or NSNotFound if the object is not found in this RLMResults.
+ */
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat args:(va_list)args;
+
+/**
+ Gets the index of the first object matching the predicate.
+
+ @param predicate   The predicate to filter the objects.
+
+ @return    Index of object or NSNotFound if the object is not found in this RLMResults.
+ */
+- (NSUInteger)indexOfObjectWithPredicate:(NSPredicate *)predicate;
+
+/**
+ Get objects matching the given predicate in the RLMResults.
+
+ @param predicateFormat The predicate format string which can accept variable arguments.
+
+ @return                An RLMResults of objects that match the given predicate
+ */
+- (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
+
+/// :nodoc:
+- (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
+/**
+ Get objects matching the given predicate in the RLMResults.
+
+ @param predicate   The predicate to filter the objects.
+
+ @return            An RLMResults of objects that match the given predicate
+ */
+- (RLMResults RLM_GENERIC_RETURN*)objectsWithPredicate:(NSPredicate *)predicate;
+
+/**
+ Get a sorted `RLMResults` from an existing `RLMResults` sorted by a property.
+
+ @param property    The property name to sort by.
+ @param ascending   The direction to sort by.
+
+ @return    An RLMResults sorted by the specified property.
+ */
+- (RLMResults RLM_GENERIC_RETURN*)sortedResultsUsingProperty:(NSString *)property ascending:(BOOL)ascending;
+
+/**
+ Get a sorted `RLMResults` from an existing `RLMResults` sorted by an `NSArray`` of `RLMSortDescriptor`s.
+
+ @param properties  An array of `RLMSortDescriptor`s to sort by.
+
+ @return    An RLMResults sorted by the specified properties.
+ */
+- (RLMResults RLM_GENERIC_RETURN*)sortedResultsUsingDescriptors:(NSArray *)properties;
+
+#pragma mark - Notifications
+
+/**
+ Register a block to be called each time the RLMResults changes.
+
+ The block will be asynchronously called with the initial results, and then
+ called again after each write transaction which causes the results to change.
+ You must retain the returned token for as long as you want the results to
+ continue to be sent to the block. To stop receiving updates, call -stop on the
+ token.
+
+ The determination for whether or not a write transaction has changed the
+ results is currently very coarse, and the block may be called even if no
+ changes occurred. The opposite (not being called despite changes) will not
+ happen. This will become more precise in future versions.
+
+ If an error occurs the block will be called with `nil` for the results
+ parameter and a non-`nil` error. Currently the only errors that can occur are
+ when opening the RLMRealm on the background worker thread or the destination
+ queue fails.
+
+ At the time when the block is called, the RLMResults object will be fully
+ evaluated and up-to-date, and as long as you do not perform a write transaction
+ on the same thread or explicitly call `-[RLMRealm refresh]`, accessing it will
+ never perform blocking work.
+
+ @warning This method cannot be called during a write transaction, or when the
+          containing realm is read-only.
+
+ @param block The block to be called with the evaluated results.
+ @return A token which must be held for as long as you want query results to be delivered.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(void (^)(RLMResults RLM_GENERIC_RETURN *__nullable results, NSError *__nullable error))block RLM_WARN_UNUSED_RESULT;
+
+#pragma mark - Aggregating Property Values
+
+/**
+ Returns the minimum (lowest) value of the given property
+
+     NSNumber *min = [results minOfProperty:@"age"];
+
+ @warning You cannot use this method on RLMObject, RLMArray, and NSData properties.
+
+ @param property The property to look for a minimum on. Only properties of type int, float, double and NSDate are supported.
+
+ @return The minimum value for the property amongst objects in an RLMResults.
+ */
+- (nullable id)minOfProperty:(NSString *)property;
+
+/**
+ Returns the maximum (highest) value of the given property of objects in an RLMResults
+
+     NSNumber *max = [results maxOfProperty:@"age"];
+
+ @warning You cannot use this method on RLMObject, RLMArray, and NSData properties.
+
+ @param property The property to look for a maximum on. Only properties of type int, float, double and NSDate are supported.
+
+ @return The maximum value for the property amongst objects in an RLMResults
+ */
+- (nullable id)maxOfProperty:(NSString *)property;
+
+/**
+ Returns the sum of the given property for objects in an RLMResults.
+
+     NSNumber *sum = [results sumOfProperty:@"age"];
+
+ @warning You cannot use this method on RLMObject, RLMArray, and NSData properties.
+
+ @param property The property to calculate sum on. Only properties of type int, float and double are supported.
+
+ @return The sum of the given property over all objects in an RLMResults.
+ */
+- (NSNumber *)sumOfProperty:(NSString *)property;
+
+/**
+ Returns the average of a given property for objects in an RLMResults.
+
+     NSNumber *average = [results averageOfProperty:@"age"];
+
+ @warning You cannot use this method on RLMObject, RLMArray, and NSData properties.
+
+ @param property The property to calculate average on. Only properties of type int, float and double are supported.
+
+ @return    The average for the given property amongst objects in an RLMResults. This will be of type double for both
+ float and double properties.
+ */
+- (nullable NSNumber *)averageOfProperty:(NSString *)property;
+
+/// :nodoc:
+- (id)objectAtIndexedSubscript:(NSUInteger)index;
+
+#pragma mark - Unavailable Methods
+
+/**
+ -[RLMResults init] is not available because RLMResults cannot be created directly.
+ RLMResults can be obtained by querying a Realm.
+ */
+- (instancetype)init __attribute__((unavailable("RLMResults cannot be created directly")));
+
+/**
+ +[RLMResults new] is not available because RLMResults cannot be created directly.
+ RLMResults can be obtained by querying a Realm.
+ */
++ (instancetype)new __attribute__((unavailable("RLMResults cannot be created directly")));
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 76 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/RLMSchema.h

@@ -0,0 +1,76 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMObjectSchema;
+
+/**
+ This class represents the collection of model object schemas persisted to Realm.
+
+ When using Realm, RLMSchema objects allow performing migrations and
+ introspecting the database's schema.
+
+ Schemas map to collections of tables in the core database.
+ */
+@interface RLMSchema : NSObject<NSCopying>
+
+#pragma mark - Properties
+
+/**
+ An NSArray containing RLMObjectSchemas for all object types in this Realm. Meant
+ to be used during migrations for dynamic introspection.
+
+ @see RLMObjectSchema
+ */
+@property (nonatomic, readonly, copy) NSArray RLM_GENERIC(RLMObjectSchema *) *objectSchema;
+
+#pragma mark - Methods
+
+/**
+ Returns an RLMObjectSchema for the given class name in this RLMSchema.
+
+ @param className   The object class name.
+ @return            RLMObjectSchema for the given class in this RLMSchema.
+
+ @see               RLMObjectSchema
+ */
+- (nullable RLMObjectSchema *)schemaForClassName:(NSString *)className;
+
+/**
+ Look up an RLMObjectSchema for the given class name in this Realm. Throws 
+ an exception if there is no object of type className in this RLMSchema instance.
+
+ @param className   The object class name.
+ @return            RLMObjectSchema for the given class in this Realm.
+
+ @see               RLMObjectSchema
+ */
+- (RLMObjectSchema *)objectForKeyedSubscript:(id <NSCopying>)className;
+
+/**
+ Returns YES if equal to schema
+ */
+- (BOOL)isEqualToSchema:(RLMSchema *)schema;
+
+@end
+
+RLM_ASSUME_NONNULL_END

+ 30 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Headers/Realm.h

@@ -0,0 +1,30 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+#import <Realm/RLMArray.h>
+#import <Realm/RLMMigration.h>
+#import <Realm/RLMObject.h>
+#import <Realm/RLMObjectSchema.h>
+#import <Realm/RLMPlatform.h>
+#import <Realm/RLMProperty.h>
+#import <Realm/RLMRealm.h>
+#import <Realm/RLMRealmConfiguration.h>
+#import <Realm/RLMResults.h>
+#import <Realm/RLMSchema.h>

+ 27 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Modules/module.modulemap

@@ -0,0 +1,27 @@
+framework module Realm {
+    umbrella header "Realm.h"
+
+    export *
+    module * { export * }
+
+    explicit module Private {
+        header "RLMAccessor.h"
+        header "RLMArray_Private.h"
+        header "RLMListBase.h"
+        header "RLMMigration_Private.h"
+        header "RLMObjectSchema_Private.h"
+        header "RLMObjectStore.h"
+        header "RLMObject_Private.h"
+        header "RLMOptionalBase.h"
+        header "RLMProperty_Private.h"
+        header "RLMRealmConfiguration_Private.h"
+        header "RLMRealm_Private.h"
+        header "RLMResults_Private.h"
+        header "RLMSchema_Private.h"
+    }
+
+    explicit module Dynamic {
+        header "RLMRealm_Dynamic.h"
+        header "RLMObjectBase_Dynamic.h"
+    }
+}

+ 64 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMAccessor.h

@@ -0,0 +1,64 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+#import <Realm/RLMDefines.h>
+
+@class RLMObjectSchema, RLMProperty, RLMObjectBase, RLMProperty;
+
+#ifdef __cplusplus
+typedef NSUInteger RLMCreationOptions;
+#else
+typedef NS_OPTIONS(NSUInteger, RLMCreationOptions);
+#endif
+
+RLM_ASSUME_NONNULL_BEGIN
+
+//
+// Accessors Class Creation/Caching
+//
+
+// get accessor classes for an object class - generates classes if not cached
+Class RLMAccessorClassForObjectClass(Class objectClass, RLMObjectSchema *schema, NSString *prefix);
+Class RLMStandaloneAccessorClassForObjectClass(Class objectClass, RLMObjectSchema *schema);
+
+// Check if a given class is a generated accessor class
+bool RLMIsGeneratedClass(Class cls);
+
+//
+// Dynamic getters/setters
+//
+FOUNDATION_EXTERN void RLMDynamicValidatedSet(RLMObjectBase *obj, NSString *propName, id __nullable val);
+FOUNDATION_EXTERN RLMProperty *RLMValidatedGetProperty(RLMObjectBase *obj, NSString *propName);
+FOUNDATION_EXTERN id __nullable RLMDynamicGet(RLMObjectBase *obj, RLMProperty *prop);
+
+// by property/column
+FOUNDATION_EXTERN void RLMDynamicSet(RLMObjectBase *obj, RLMProperty *prop, id val, RLMCreationOptions options);
+
+//
+// Class modification
+//
+
+// Replace className method for the given class
+void RLMReplaceClassNameMethod(Class accessorClass, NSString *className);
+
+// Replace sharedSchema method for the given class
+void RLMReplaceSharedSchemaMethod(Class accessorClass, RLMObjectSchema * __nullable schema);
+
+RLM_ASSUME_NONNULL_END

+ 24 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMArray_Private.h

@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMArray.h>
+
+@interface RLMArray ()
+- (instancetype)initWithObjectClassName:(NSString *)objectClassName;
+- (NSString *)descriptionWithMaxDepth:(NSUInteger)depth;
+@end

+ 29 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMListBase.h

@@ -0,0 +1,29 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+@class RLMArray;
+
+// A base class for Swift generic Lists to make it possible to interact with
+// them from obj-c
+@interface RLMListBase : NSObject <NSFastEnumeration>
+@property (nonatomic, strong) RLMArray *_rlmArray;
+
+- (instancetype)initWithArray:(RLMArray *)array;
+@end

+ 34 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMMigration_Private.h

@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMMigration.h>
+#import <Realm/RLMObjectBase.h>
+#import <Realm/RLMRealm.h>
+
+typedef void (^RLMObjectBaseMigrationBlock)(RLMObjectBase *oldObject, RLMObjectBase *newObject);
+
+@interface RLMMigration ()
+
+@property (nonatomic, strong) RLMRealm *oldRealm;
+@property (nonatomic, strong) RLMRealm *realm;
+
+- (instancetype)initWithRealm:(RLMRealm *)realm oldRealm:(RLMRealm *)oldRealm;
+
+- (void)execute:(RLMMigrationBlock)block;
+
+@end

+ 70 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMObjectSchema_Private.h

@@ -0,0 +1,70 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMDefines.h>
+#import <Realm/RLMObjectSchema.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMRealm;
+
+// RLMObjectSchema private
+@interface RLMObjectSchema ()
+
+// writable redecleration
+@property (nonatomic, readwrite, copy) NSArray RLM_GENERIC(RLMProperty *) *properties;
+@property (nonatomic, readwrite, assign) bool isSwiftClass;
+
+// class used for this object schema
+@property (nonatomic, readwrite, assign) Class objectClass;
+@property (nonatomic, readwrite, assign) Class accessorClass;
+@property (nonatomic, readwrite, assign) Class standaloneClass;
+
+@property (nonatomic, readwrite, nullable) RLMProperty *primaryKeyProperty;
+
+@property (nonatomic, readonly) NSArray RLM_GENERIC(RLMProperty *) *propertiesInDeclaredOrder;
+
+// The Realm retains its object schemas, so they need to not retain the Realm
+@property (nonatomic, unsafe_unretained, nullable) RLMRealm *realm;
+// returns a cached or new schema for a given object class
++ (instancetype)schemaForObjectClass:(Class)objectClass;
+
+- (void)sortPropertiesByColumn;
+
+@end
+
+@interface RLMObjectSchema (Dynamic)
+/**
+ This method is useful only in specialized circumstances, for example, when accessing objects
+ in a Realm produced externally. If you are simply building an app on Realm, it is not recommened
+ to use this method as an [RLMObjectSchema](RLMObjectSchema) is generated automatically for every [RLMObject](RLMObject) subclass.
+ 
+ Initialize an RLMObjectSchema with classname, objectClass, and an array of properties
+ 
+ @warning This method is useful only in specialized circumstances.
+ 
+ @param objectClassName     The name of the class used to refer to objects of this type.
+ @param objectClass         The objective-c class used when creating instances of this type.
+ @param properties          An array RLMProperty describing the persisted properties for this type.
+ 
+ @return    An initialized instance of RLMObjectSchema.
+ */
+- (instancetype)initWithClassName:(NSString *)objectClassName objectClass:(Class)objectClass properties:(NSArray *)properties;
+@end
+
+RLM_ASSUME_NONNULL_END

+ 99 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMObjectStore.h

@@ -0,0 +1,99 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+@class RLMRealm, RLMSchema, RLMObjectSchema, RLMObjectBase, RLMResults, RLMProperty;
+
+//
+// Accessor Creation
+//
+
+// create or get cached accessors for the given schema
+void RLMRealmCreateAccessors(RLMSchema *schema);
+
+// Clear the cache of created accessor classes
+void RLMClearAccessorCache();
+
+
+//
+// Options for object creation
+//
+typedef NS_OPTIONS(NSUInteger, RLMCreationOptions) {
+    // Normal object creation
+    RLMCreationOptionsNone = 0,
+    // If the property is a link or array property, upsert the linked objects
+    // if they have a primary key, and insert them otherwise.
+    RLMCreationOptionsCreateOrUpdate = 1 << 0,
+    // Allow standalone objects to be promoted to persisted objects
+    // if false objects are copied during object creation
+    RLMCreationOptionsPromoteStandalone = 1 << 1,
+};
+
+
+//
+// Adding, Removing, Getting Objects
+//
+
+// add an object to the given realm
+void RLMAddObjectToRealm(RLMObjectBase *object, RLMRealm *realm, bool createOrUpdate);
+
+// delete an object from its realm
+void RLMDeleteObjectFromRealm(RLMObjectBase *object, RLMRealm *realm);
+
+// deletes all objects from a realm
+void RLMDeleteAllObjectsFromRealm(RLMRealm *realm);
+
+// get objects of a given class
+RLMResults *RLMGetObjects(RLMRealm *realm, NSString *objectClassName, NSPredicate *predicate) NS_RETURNS_RETAINED;
+
+// get an object with the given primary key
+id RLMGetObject(RLMRealm *realm, NSString *objectClassName, id key) NS_RETURNS_RETAINED;
+
+// create object from array or dictionary
+RLMObjectBase *RLMCreateObjectInRealmWithValue(RLMRealm *realm, NSString *className, id value, bool createOrUpdate) NS_RETURNS_RETAINED;
+    
+
+//
+// Accessor Creation
+//
+
+
+// switch List<> properties from being backed by standalone RLMArrays to RLMArrayLinkView
+void RLMInitializeSwiftAccessorGenerics(RLMObjectBase *object);
+
+#ifdef __cplusplus
+}
+
+namespace realm {
+    class Table;
+    template<typename T> class BasicRowExpr;
+    using RowExpr = BasicRowExpr<Table>;
+}
+// Create accessors
+RLMObjectBase *RLMCreateObjectAccessor(RLMRealm *realm,
+                                       RLMObjectSchema *objectSchema,
+                                       NSUInteger index) NS_RETURNS_RETAINED;
+RLMObjectBase *RLMCreateObjectAccessor(RLMRealm *realm,
+                                       RLMObjectSchema *objectSchema,
+                                       realm::RowExpr row) NS_RETURNS_RETAINED;
+#endif

+ 89 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMObject_Private.h

@@ -0,0 +1,89 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMObject.h>
+
+// RLMObject accessor and read/write realm
+@interface RLMObjectBase () {
+  @public
+    RLMRealm *_realm;
+    // objectSchema is a cached pointer to an object stored in the RLMSchema
+    // owned by _realm, so it's guaranteed to stay alive as long as this object
+    // without retaining it (and retaining it makes iteration slower)
+    __unsafe_unretained RLMObjectSchema *_objectSchema;
+}
+
+// standalone initializer
+- (instancetype)initWithValue:(id)value schema:(RLMSchema *)schema;
+
+// live accessor initializer
+- (instancetype)initWithRealm:(__unsafe_unretained RLMRealm *const)realm
+                       schema:(__unsafe_unretained RLMObjectSchema *const)schema;
+
+// shared schema for this class
++ (RLMObjectSchema *)sharedSchema;
+
+// provide injection point for alternative Swift object util class
++ (Class)objectUtilClass:(BOOL)isSwift;
+
+@end
+
+@interface RLMDynamicObject : RLMObject
+
+@end
+
+//
+// Getters and setters for RLMObjectBase ivars for realm and objectSchema
+//
+FOUNDATION_EXTERN void RLMObjectBaseSetRealm(RLMObjectBase *object, RLMRealm *realm);
+FOUNDATION_EXTERN RLMRealm *RLMObjectBaseRealm(RLMObjectBase *object);
+FOUNDATION_EXTERN void RLMObjectBaseSetObjectSchema(RLMObjectBase *object, RLMObjectSchema *objectSchema);
+FOUNDATION_EXTERN RLMObjectSchema *RLMObjectBaseObjectSchema(RLMObjectBase *object);
+
+// Get linking objects for an RLMObjectBase
+FOUNDATION_EXTERN NSArray *RLMObjectBaseLinkingObjectsOfClass(RLMObjectBase *object, NSString *className, NSString *property);
+
+// Dynamic access to RLMObjectBase properties
+FOUNDATION_EXTERN id RLMObjectBaseObjectForKeyedSubscript(RLMObjectBase *object, NSString *key);
+FOUNDATION_EXTERN void RLMObjectBaseSetObjectForKeyedSubscript(RLMObjectBase *object, NSString *key, id obj);
+
+// Calls valueForKey: and re-raises NSUndefinedKeyExceptions
+FOUNDATION_EXTERN id RLMValidatedValueForProperty(id object, NSString *key, NSString *className);
+
+// Compare two RLObjectBases
+FOUNDATION_EXTERN BOOL RLMObjectBaseAreEqual(RLMObjectBase *o1, RLMObjectBase *o2);
+
+// Get ObjectUil class for objc or swift
+FOUNDATION_EXTERN Class RLMObjectUtilClass(BOOL isSwift);
+
+FOUNDATION_EXTERN const NSUInteger RLMDescriptionMaxDepth;
+
+@class RLMProperty, RLMArray;
+@interface RLMObjectUtil : NSObject
+
++ (NSArray RLM_GENERIC(NSString *) *)ignoredPropertiesForClass:(Class)cls;
++ (NSArray RLM_GENERIC(NSString *) *)indexedPropertiesForClass:(Class)cls;
+
++ (NSArray RLM_GENERIC(NSString *) *)getGenericListPropertyNames:(id)obj;
++ (void)initializeListProperty:(RLMObjectBase *)object property:(RLMProperty *)property array:(RLMArray *)array;
++ (void)initializeOptionalProperty:(RLMObjectBase *)object property:(RLMProperty *)property;
+
++ (NSDictionary RLM_GENERIC(NSString *, NSNumber *) *)getOptionalProperties:(id)obj;
++ (NSArray RLM_GENERIC(NSString *) *)requiredPropertiesForClass:(Class)cls;
+
+@end

+ 34 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMOptionalBase.h

@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2015 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <Realm/RLMConstants.h>
+
+@class RLMObjectBase, RLMProperty;
+
+@interface RLMOptionalBase : NSProxy
+
+- (instancetype)init;
+
+@property (nonatomic, weak) RLMObjectBase *object;
+
+@property (nonatomic, unsafe_unretained) RLMProperty *property;
+
+@property (nonatomic, strong) id underlyingValue;
+
+@end

+ 93 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMProperty_Private.h

@@ -0,0 +1,93 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMProperty.h>
+
+#import <objc/runtime.h>
+
+@class RLMObjectBase;
+
+FOUNDATION_EXTERN BOOL RLMPropertyTypeIsNullable(RLMPropertyType propertyType);
+FOUNDATION_EXTERN BOOL RLMPropertyTypeIsNumeric(RLMPropertyType propertyType);
+
+// private property interface
+@interface RLMProperty ()
+
+- (instancetype)initWithName:(NSString *)name
+                     indexed:(BOOL)indexed
+                    property:(objc_property_t)property;
+
+- (instancetype)initSwiftPropertyWithName:(NSString *)name
+                                  indexed:(BOOL)indexed
+                                 property:(objc_property_t)property
+                                 instance:(RLMObjectBase *)objectInstance;
+
+- (instancetype)initSwiftListPropertyWithName:(NSString *)name
+                                         ivar:(Ivar)ivar
+                              objectClassName:(NSString *)objectClassName;
+
+- (instancetype)initSwiftOptionalPropertyWithName:(NSString *)name
+                                          indexed:(BOOL)indexed
+                                             ivar:(Ivar)ivar
+                                     propertyType:(RLMPropertyType)propertyType;
+
+// private setters
+@property (nonatomic, assign) NSUInteger column;
+@property (nonatomic, readwrite, assign) RLMPropertyType type;
+@property (nonatomic, readwrite) BOOL indexed;
+@property (nonatomic, readwrite) BOOL optional;
+@property (nonatomic, copy) NSString *objectClassName;
+
+// private properties
+@property (nonatomic, assign) char objcType;
+@property (nonatomic, copy) NSString *objcRawType;
+@property (nonatomic, assign) BOOL isPrimary;
+@property (nonatomic, assign) Ivar swiftIvar;
+@property (nonatomic, assign) NSUInteger declarationIndex;
+
+// getter and setter names
+@property (nonatomic, copy) NSString *getterName;
+@property (nonatomic, copy) NSString *setterName;
+@property (nonatomic) SEL getterSel;
+@property (nonatomic) SEL setterSel;
+
+@end
+
+@interface RLMProperty (Dynamic)
+/**
+ This method is useful only in specialized circumstances, for example, in conjunction with
+ +[RLMObjectSchema initWithClassName:objectClass:properties:]. If you are simply building an
+ app on Realm, it is not recommened to use this method.
+ 
+ Initialize an RLMProperty
+ 
+ @warning This method is useful only in specialized circumstances.
+ 
+ @param name            The property name.
+ @param type            The property type.
+ @param objectClassName The object type used for Object and Array types.
+ 
+ @return    An initialized instance of RLMProperty.
+ */
+- (instancetype)initWithName:(NSString *)name
+                        type:(RLMPropertyType)type
+             objectClassName:(NSString *)objectClassName
+                     indexed:(BOOL)indexed
+                    optional:(BOOL)optional;
+@end
+

+ 38 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMRealmConfiguration_Private.h

@@ -0,0 +1,38 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2015 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMRealmConfiguration.h>
+
+@class RLMSchema;
+
+@interface RLMRealmConfiguration ()
+
+@property (nonatomic, readwrite) bool cache;
+@property (nonatomic, readwrite) bool dynamic;
+@property (nonatomic, readwrite) bool disableFormatUpgrade;
+@property (nonatomic, copy) RLMSchema *customSchema;
+
+// Get the default confiugration without copying it
++ (RLMRealmConfiguration *)rawDefaultConfiguration;
+
++ (void)resetRealmConfigurationState;
+@end
+
+// Get a path in the platform-appropriate documents directory with the given filename
+FOUNDATION_EXTERN NSString *RLMRealmPathForFile(NSString *fileName);
+FOUNDATION_EXTERN NSString *RLMRealmPathForFileAndBundleIdentifier(NSString *fileName, NSString *mainBundleIdentifier);

+ 42 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMRealmUtil.hpp

@@ -0,0 +1,42 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Foundation/Foundation.h>
+#import <memory>
+#import <string>
+
+@class RLMRealm;
+
+namespace realm {
+    class BindingContext;
+}
+
+// Add a Realm to the weak cache
+void RLMCacheRealm(std::string const& path, RLMRealm *realm);
+// Get a Realm for the given path which can be used on the current thread
+RLMRealm *RLMGetThreadLocalCachedRealmForPath(std::string const& path);
+// Get a Realm for the given path
+RLMRealm *RLMGetAnyCachedRealmForPath(std::string const& path);
+// Clear the weak cache of Realms
+void RLMClearRealmCache();
+
+// Install an uncaught exception handler that cancels write transactions
+// for all cached realms on the current thread
+void RLMInstallUncaughtExceptionHandler();
+
+std::unique_ptr<realm::BindingContext> RLMCreateBindingContext(RLMRealm *realm);

+ 86 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMRealm_Private.h

@@ -0,0 +1,86 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMRealm.h>
+
+@class RLMFastEnumerator;
+
+// Disable syncing files to disk. Cannot be re-enabled. Use only for tests.
+FOUNDATION_EXTERN void RLMDisableSyncToDisk();
+
+FOUNDATION_EXTERN NSData *RLMRealmValidatedEncryptionKey(NSData *key);
+
+// Translate an in-flight exception resulting from opening a SharedGroup to
+// an NSError or NSException (if error is nil)
+void RLMRealmTranslateException(NSError **error);
+
+// RLMRealm private members
+@interface RLMRealm ()
+
+@property (nonatomic, readonly) BOOL dynamic;
+@property (nonatomic, readwrite) RLMSchema *schema;
+
++ (void)resetRealmState;
+
+/**
+ This method is useful only in specialized circumstances, for example, when opening Realm files
+ retrieved externally that contain a different schema than defined in your application.
+ If you are simply building an app on Realm you should consider using:
+ [defaultRealm]([RLMRealm defaultRealm]) or [realmWithPath:]([RLMRealm realmWithPath:])
+ 
+ Obtains an `RLMRealm` instance with persistence to a specific file path with
+ options.
+ 
+ @warning This method is useful only in specialized circumstances.
+ 
+ @param path         Path to the file you want the data saved in.
+ @param key          64-byte key to use to encrypt the data.
+ @param readonly     `BOOL` indicating if this Realm is read-only (must use for read-only files)
+ @param inMemory     `BOOL` indicating if this Realm is in-memory
+ @param dynamic      `BOOL` indicating if this Realm is dynamic
+ @param customSchema `RLMSchema` object representing the schema for the Realm
+ @param outError     If an error occurs, upon return contains an `NSError` object
+ that describes the problem. If you are not interested in
+ possible errors, pass in NULL.
+ 
+ @return An `RLMRealm` instance.
+ 
+ @see RLMRealm defaultRealm
+ @see RLMRealm realmWithPath:
+ @see RLMRealm realmWithPath:readOnly:error:
+ @see RLMRealm realmWithPath:encryptionKey:readOnly:error:
+ */
++ (instancetype)realmWithPath:(NSString *)path
+                          key:(NSData *)key
+                     readOnly:(BOOL)readonly
+                     inMemory:(BOOL)inMemory
+                      dynamic:(BOOL)dynamic
+                       schema:(RLMSchema *)customSchema
+                        error:(NSError **)outError;
+
+- (void)registerEnumerator:(RLMFastEnumerator *)enumerator;
+- (void)unregisterEnumerator:(RLMFastEnumerator *)enumerator;
+- (void)detachAllEnumerators;
+
+- (void)sendNotifications:(NSString *)notification;
+- (void)verifyThread;
+- (void)verifyNotificationsAreSupported;
+
++ (NSString *)writeableTemporaryPathForFile:(NSString *)fileName;
+
+@end

+ 25 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMResults_Private.h

@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#import <Realm/RLMResults.h>
+
+@class RLMObjectSchema;
+
+@interface RLMResults ()
+@property (nonatomic, unsafe_unretained) RLMObjectSchema *objectSchema;
+@end

+ 66 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/PrivateHeaders/RLMSchema_Private.h

@@ -0,0 +1,66 @@
+////////////////////////////////////////////////////////////////////////////
+//
+// Copyright 2014 Realm Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#import <Realm/RLMSchema.h>
+#import <Realm/RLMDefines.h>
+
+RLM_ASSUME_NONNULL_BEGIN
+
+@class RLMRealm;
+
+//
+// RLMSchema private interface
+//
+@interface RLMSchema ()
+
+/**
+ Returns an `RLMSchema` containing only the given `RLMObject` subclasses.
+
+ @param classes The classes to be included in the schema.
+
+ @return An `RLMSchema` containing only the given classes.
+ */
++ (instancetype)schemaWithObjectClasses:(NSArray RLM_GENERIC(Class) *)classes;
+
+@property (nonatomic, readwrite, copy) NSArray RLM_GENERIC(RLMObjectSchema *) *objectSchema;
+
+// schema based on runtime objects
++ (instancetype)sharedSchema;
+
+// schema based upon all currently registered object classes
++ (instancetype)partialSharedSchema;
+
+// class for string
++ (nullable Class)classForString:(NSString *)className;
+
+// shallow copy for reusing schema properties accross the same Realm on multiple threads
+- (instancetype)shallowCopy;
+
++ (RLMObjectSchema *)sharedSchemaForClass:(Class)cls;
+
+@end
+
+RLM_ASSUME_NONNULL_END
+
+#ifdef __cplusplus
+}
+#endif

BIN
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Realm


+ 1516 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/CHANGELOG.md

@@ -0,0 +1,1516 @@
+0.98.6 Release notes (2016-03-25)
+=============================================================
+
+Prebuilt frameworks are now built with Xcode 7.3.
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix running unit tests on iOS simulators and devices with Xcode 7.3.
+
+0.98.5 Release notes (2016-03-14)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix a crash when opening a Realm on 32-bit iOS devices.
+
+0.98.4 Release notes (2016-03-10)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Properly report changes made by adding an object to a Realm with
+  addOrUpdate:/createOrUpdate: to KVO observers for existing objects with that
+  primary key.
+* Fix crashes and assorted issues when a migration which added object link
+  properties is rolled back due to an error in the migration block.
+* Fix assertion failures when deleting objects within a migration block of a
+  type which had an object link property added in that migration.
+* Fix an assertion failure in `Query::apply_patch` when updating certain kinds
+  of queries after a write transaction is committed.
+
+0.98.3 Release notes (2016-02-26)
+=============================================================
+
+### Enhancements
+
+* Initializing the shared schema is 3x faster.
+
+### Bugfixes
+
+* Using Realm Objective-C from Swift while having Realm Swift linked no longer causes that the
+  declared `ignoredProperties` are not taken into account.
+* Fix assertion failures when rolling back a migration which added Object link
+  properties to a class.
+* Fix potential errors when cancelling a write transaction which modified
+  multiple `RLMArray`/`List` properties.
+* Report the correct value for inWriteTransaction after attempting to commit a
+  write transaction fails.
+* Support CocoaPods 1.0 beginning from prerelease 1.0.0.beta.4 while retaining
+  backwards compatibility with 0.39.
+
+0.98.2 Release notes (2016-02-18)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Aggregate operations (`ANY`, `NONE`, `@count`, `SUBQUERY`, etc.) are now supported for key paths
+  that begin with an object relationship so long as there is a `RLMArray`/`List` property at some
+  point in a key path.
+* Predicates of the form `%@ IN arrayProperty` are now supported.
+
+### Bugfixes
+
+* Use of KVC collection operators on Swift collection types no longer throws an exception.
+* Fix reporting of inWriteTransaction in notifications triggered by
+  `beginWriteTransaction`.
+* The contents of `List` and `Optional` properties are now correctly preserved when copying
+  a Swift object from one Realm to another, and performing other operations that result in a
+  Swift object graph being recursively traversed from Objective-C.
+* Fix a deadlock when queries are performed within a Realm notification block.
+* The `ANY` / `SOME` / `NONE` qualifiers are now required in comparisons involving a key path that
+  traverse a `RLMArray`/`List` property. Previously they were only required if the first key in the
+  key path was an `RLMArray`/`List` property.
+* Fix several scenarios where the default schema would be initialized
+  incorrectly if the first Realm opened used a restricted class subset (via
+  `objectClasses`/`objectTypes`).
+
+0.98.1 Release notes (2016-02-10)
+=============================================================
+
+### Bugfixes
+
+* Fix crashes when deleting an object containing an `RLMArray`/`List` which had
+  previously been queried.
+* Fix a crash when deleting an object containing an `RLMArray`/`List` with
+  active notification blocks.
+* Fix duplicate file warnings when building via CocoaPods.
+* Fix crash or incorrect results when calling `indexOfObject:` on an
+  `RLMResults` derived from an `RLMArray`.
+
+0.98.0 Release notes (2016-02-04)
+=============================================================
+
+### API breaking changes
+
+* `+[RLMRealm realmWithPath:]`/`Realm.init(path:)` now inherits from the default
+  configuration.
+* Swift 1.2 is no longer supported.
+
+### Enhancements
+
+* Add `addNotificationBlock` to `RLMResults`, `Results`, `RLMArray`, and
+  `List`, which calls the given block whenever the collection changes.
+* Do a lot of the work for keeping `RLMResults`/`Results` up-to-date after
+  write transactions on a background thread to help avoid blocking the main
+  thread.
+* `NSPredicate`'s `SUBQUERY` operator is now supported. It has the following limitations:
+  * `@count` is the only operator that may be applied to the `SUBQUERY` expression.
+  * The `SUBQUERY(…).@count` expression must be compared with a constant.
+  * Correlated subqueries are not yet supported.
+
+### Bugfixes
+
+* None.
+
+0.97.1 Release notes (2016-01-29)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Swift: Added `Error` enum allowing to catch errors e.g. thrown on initializing
+  `RLMRealm`/`Realm` instances.
+* Fail with `RLMErrorFileNotFound` instead of the more generic `RLMErrorFileAccess`,
+  if no file was found when a realm was opened as read-only or if the directory part
+  of the specified path was not found when a copy should be written. 
+* Greatly improve performance when deleting objects with one or more indexed
+  properties.
+* Indexing `BOOL`/`Bool` and `NSDate` properties are now supported.
+* Swift: Add support for indexing optional properties.
+
+### Bugfixes
+
+* Fix incorrect results or crashes when using `-[RLMResults setValue:forKey:]`
+  on an RLMResults which was filtered on the key being set.
+* Fix crashes when an RLMRealm is deallocated from the wrong thread.
+* Fix incorrect results from aggregate methods on `Results`/`RLMResults` after
+  objects which were previously in the results are deleted.
+* Fix a crash when adding a new property to an existing class with over a
+  million objects in the Realm.
+* Fix errors when opening encrypted Realm files created with writeCopyToPath.
+* Fix crashes or incorrect results for queries that use relationship equality
+  in cases where the `RLMResults` is kept alive and instances of the target class
+  of the relationship are deleted.
+
+0.97.0 Release notes (2015-12-17)
+=============================================================
+
+### API breaking changes
+
+* All functionality deprecated in previous releases has been removed entirely.
+* Add generic type annotations to NSArrays and NSDictionaries in public APIs.
+* Adding a Realm notification block on a thread not currently running from
+  within a run loop throws an exception rather than silently never calling the
+  notification block.
+
+### Enhancements
+
+* Support for tvOS.
+* Support for building Realm Swift from source when using Carthage.
+* The block parameter of `-[RLMRealm transactionWithBlock:]`/`Realm.write(_:)` is 
+  now marked as `__attribute__((noescape))`/`@noescape`.
+* Many forms of queries with key paths on both sides of the comparison operator
+  are now supported.
+* Add support for KVC collection operators in `RLMResults` and `RLMArray`.
+* Fail instead of deadlocking in `+[RLMRealm sharedSchema]`, if a Swift property is initialized
+  to a computed value, which attempts to open a Realm on its own.
+
+### Bugfixes
+
+* Fix poor performance when calling `-[RLMRealm deleteObjects:]` on an
+  `RLMResults` which filtered the objects when there are other classes linking
+  to the type of the deleted objects.
+* An exception is now thrown when defining `Object` properties of an unsupported
+  type.
+
+0.96.3 Release notes (2015-12-04)
+=============================================================
+
+### Enhancements
+
+* Queries are no longer limited to 16 levels of grouping.
+* Rework the implementation of encrypted Realms to no longer interfere with
+  debuggers.
+
+### Bugfixes
+
+* Fix crash when trying to retrieve object instances via `dynamicObjects`.
+* Throw an exception when querying on a link providing objects, which are from a different Realm.
+* Return empty results when querying on a link providing an unattached object.
+* Fix crashes or incorrect results when calling `-[RLMRealm refresh]` during
+  fast enumeration.
+* Add `Int8` support for `RealmOptional`, `MinMaxType` and `AddableType`.
+* Set the default value for newly added non-optional NSData properties to a
+  zero-byte NSData rather than nil.
+* Fix a potential crash when deleting all objects of a class.
+* Fix performance problems when creating large numbers of objects with
+  `RLMArray`/`List` properties.
+* Fix memory leak when using Object(value:) for subclasses with
+  `List` or `RealmOptional` properties.
+* Fix a crash when computing the average of an optional integer property.
+* Fix incorrect search results for some queries on integer properties.
+* Add error-checking for nil realm parameters in many methods such as
+  `+[RLMObject allObjectsInRealm:]`.
+* Fix a race condition between commits and opening Realm files on new threads
+  that could lead to a crash.
+* Fix several crashes when opening Realm files.
+* `-[RLMObject createInRealm:withValue:]`, `-[RLMObject createOrUpdateInRealm:withValue:]`, and
+  their variants for the default Realm now always match the contents of an `NSArray` against properties
+  in the same order as they are defined in the model.
+
+0.96.2 Release notes (2015-10-26)
+=============================================================
+
+Prebuilt frameworks are now built with Xcode 7.1.
+
+### Bugfixes
+
+* Fix ignoring optional properties in Swift.
+* Fix CocoaPods installation on case-sensitive file systems.
+
+0.96.1 Release notes (2015-10-20)
+=============================================================
+
+### Bugfixes
+
+* Support assigning `Results` to `List` properties via KVC.
+* Honor the schema version set in the configuration in `+[RLMRealm migrateRealm:]`.
+* Fix crash when using optional Int16/Int32/Int64 properties in Swift.
+
+0.96.0 Release notes (2015-10-14)
+=============================================================
+
+* No functional changes since beta2.
+
+0.96.0-beta2 Release notes (2015-10-08)
+=============================================================
+
+### Bugfixes
+
+* Add RLMOptionalBase.h to the podspec.
+
+0.96.0-beta Release notes (2015-10-07)
+=============================================================
+
+### API breaking changes
+
+* CocoaPods v0.38 or greater is now required to install Realm and RealmSwift
+  as pods.
+
+### Enhancements
+
+* Functionality common to both `List` and `Results` is now declared in a
+  `RealmCollectionType` protocol that both types conform to.
+* `Results.realm` now returns an `Optional<Realm>` in order to conform to
+  `RealmCollectionType`, but will always return `.Some()` since a `Results`
+  cannot exist independently from a `Realm`.
+* Aggregate operations are now available on `List`: `min`, `max`, `sum`,
+  `average`.
+* Committing write transactions (via `commitWrite` / `commitWriteTransaction` and
+  `write` / `transactionWithBlock`) now optionally allow for handling errors when
+  the disk is out of space.
+* Added `isEmpty` property on `RLMRealm`/`Realm` to indicate if it contains any
+  objects.
+* The `@count`, `@min`, `@max`, `@sum` and `@avg` collection operators are now
+  supported in queries.
+
+### Bugfixes
+
+* Fix assertion failure when inserting NSData between 8MB and 16MB in size.
+* Fix assertion failure when rolling back a migration which removed an object
+  link or `RLMArray`/`List` property.
+* Add the path of the file being opened to file open errors.
+* Fix a crash that could be triggered by rapidly opening and closing a Realm
+  many times on multiple threads at once.
+* Fix several places where exception messages included the name of the wrong
+  function which failed.
+
+0.95.3 Release notes (2015-10-05)
+=============================================================
+
+### Bugfixes
+
+* Compile iOS Simulator framework architectures with `-fembed-bitcode-marker`.
+* Fix crashes when the first Realm opened uses a class subset and later Realms
+  opened do not.
+* Fix inconsistent errors when `Object(value: ...)` is used to initialize the
+  default value of a property of an `Object` subclass.
+* Throw an exception when a class subset has objects with array or object
+  properties of a type that are not part of the class subset.
+
+0.95.2 Release notes (2015-09-24)
+=============================================================
+
+* Enable bitcode for iOS and watchOS frameworks.
+* Build libraries with Xcode 7 final rather than the GM.
+
+0.95.1 Release notes (2015-09-23)
+=============================================================
+
+### Enhancements
+
+* Add missing KVO handling for moving and exchanging objects in `RLMArray` and
+  `List`.
+
+### Bugfixes
+
+* Setting the primary key property on persisted `RLMObject`s / `Object`s
+  via subscripting or key-value coding will cause an exception to be thrown.
+* Fix crash due to race condition in `RLMRealmConfiguration` where the default
+  configuration was in the process of being copied in one thread, while
+  released in another.
+* Fix crash when a migration which removed an object or array property is
+  rolled back due to an error.
+
+0.95.0 Release notes (2015-08-25)
+=============================================================
+
+### API breaking changes
+
+* The following APIs have been deprecated in favor of the new `RLMRealmConfiguration` class in Realm Objective-C:
+
+| Deprecated API                                                    | New API                                                                          |
+|:------------------------------------------------------------------|:---------------------------------------------------------------------------------|
+| `+[RLMRealm realmWithPath:readOnly:error:]`                       | `+[RLMRealm realmWithConfiguration:error:]`                                      |
+| `+[RLMRealm realmWithPath:encryptionKey:readOnly:error:]`         | `+[RLMRealm realmWithConfiguration:error:]`                                      |
+| `+[RLMRealm setEncryptionKey:forRealmsAtPath:]`                   | `-[RLMRealmConfiguration setEncryptionKey:]`                                     |
+| `+[RLMRealm inMemoryRealmWithIdentifier:]`                        | `+[RLMRealm realmWithConfiguration:error:]`                                      |
+| `+[RLMRealm defaultRealmPath]`                                    | `+[RLMRealmConfiguration defaultConfiguration]`                                  |
+| `+[RLMRealm setDefaultRealmPath:]`                                | `+[RLMRealmConfiguration setDefaultConfiguration:]`                              |
+| `+[RLMRealm setDefaultRealmSchemaVersion:withMigrationBlock]`     | `RLMRealmConfiguration.schemaVersion` and `RLMRealmConfiguration.migrationBlock` |
+| `+[RLMRealm setSchemaVersion:forRealmAtPath:withMigrationBlock:]` | `RLMRealmConfiguration.schemaVersion` and `RLMRealmConfiguration.migrationBlock` |
+| `+[RLMRealm migrateRealmAtPath:]`                                 | `+[RLMRealm migrateRealm:]`                                                      |
+| `+[RLMRealm migrateRealmAtPath:encryptionKey:]`                   | `+[RLMRealm migrateRealm:]`                                                      |
+
+* The following APIs have been deprecated in favor of the new `Realm.Configuration` struct in Realm Swift for Swift 1.2:
+
+| Deprecated API                                                | New API                                                                      |
+|:--------------------------------------------------------------|:-----------------------------------------------------------------------------|
+| `Realm.defaultPath`                                           | `Realm.Configuration.defaultConfiguration`                                   |
+| `Realm(path:readOnly:encryptionKey:error:)`                   | `Realm(configuration:error:)`                                                |
+| `Realm(inMemoryIdentifier:)`                                  | `Realm(configuration:error:)`                                                |
+| `Realm.setEncryptionKey(:forPath:)`                           | `Realm(configuration:error:)`                                                |
+| `setDefaultRealmSchemaVersion(schemaVersion:migrationBlock:)` | `Realm.Configuration.schemaVersion` and `Realm.Configuration.migrationBlock` |
+| `setSchemaVersion(schemaVersion:realmPath:migrationBlock:)`   | `Realm.Configuration.schemaVersion` and `Realm.Configuration.migrationBlock` |
+| `migrateRealm(path:encryptionKey:)`                           | `migrateRealm(configuration:)`                                               |
+
+* The following APIs have been deprecated in favor of the new `Realm.Configuration` struct in Realm Swift for Swift 2.0:
+
+| Deprecated API                                                | New API                                                                      |
+|:--------------------------------------------------------------|:-----------------------------------------------------------------------------|
+| `Realm.defaultPath`                                           | `Realm.Configuration.defaultConfiguration`                                   |
+| `Realm(path:readOnly:encryptionKey:) throws`                  | `Realm(configuration:) throws`                                               |
+| `Realm(inMemoryIdentifier:)`                                  | `Realm(configuration:) throws`                                               |
+| `Realm.setEncryptionKey(:forPath:)`                           | `Realm(configuration:) throws`                                               |
+| `setDefaultRealmSchemaVersion(schemaVersion:migrationBlock:)` | `Realm.Configuration.schemaVersion` and `Realm.Configuration.migrationBlock` |
+| `setSchemaVersion(schemaVersion:realmPath:migrationBlock:)`   | `Realm.Configuration.schemaVersion` and `Realm.Configuration.migrationBlock` |
+| `migrateRealm(path:encryptionKey:)`                           | `migrateRealm(configuration:)`                                               |
+
+* `List.extend` in Realm Swift for Swift 2.0 has been replaced with `List.appendContentsOf`,
+  mirroring changes to `RangeReplaceableCollectionType`.
+
+* Object properties on `Object` subclasses in Realm Swift must be marked as optional,
+  otherwise a runtime exception will be thrown.
+
+### Enhancements
+
+* Persisted properties of `RLMObject`/`Object` subclasses are now Key-Value
+  Observing compliant.
+* The different options used to create Realm instances have been consolidated
+  into a single `RLMRealmConfiguration`/`Realm.Configuration` object.
+* Enumerating Realm collections (`RLMArray`, `RLMResults`, `List<>`,
+  `Results<>`) now enumerates over a copy of the collection, making it no
+  longer an error to modify a collection during enumeration (either directly,
+  or indirectly by modifying objects to make them no longer match a query).
+* Improve performance of object insertion in Swift to bring it roughly in line
+  with Objective-C.
+* Allow specifying a specific list of `RLMObject` / `Object` subclasses to include
+  in a given Realm via `RLMRealmConfiguration.objectClasses` / `Realm.Configuration.objectTypes`.
+
+### Bugfixes
+
+* Subscripting on `RLMObject` is now marked as nullable.
+
+0.94.1 Release notes (2015-08-10)
+=============================================================
+
+### API breaking changes
+
+* Building for watchOS requires Xcode 7 beta 5.
+
+### Enhancements
+
+* `Object.className` is now marked as `final`.
+
+### Bugfixes
+
+* Fix crash when adding a property to a model without updating the schema
+  version.
+* Fix unnecessary redownloading of the core library when building from source.
+* Fix crash when sorting by an integer or floating-point property on iOS 7.
+
+0.94.0 Release notes (2015-07-29)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Reduce the amount of memory used by RLMRealm notification listener threads.
+* Avoid evaluating results eagerly when filtering and sorting.
+* Add nullability annotations to the Objective-C API to provide enhanced compiler
+  warnings and bridging to Swift.
+* Make `RLMResult`s and `RLMArray`s support Objective-C generics.
+* Add support for building watchOS and bitcode-compatible apps.
+* Make the exceptions thrown in getters and setters more informative.
+* Add `-[RLMArray exchangeObjectAtIndex:withObjectAtIndex]` and `List.swap(_:_:)`
+  to allow exchanging the location of two objects in the given `RLMArray` / `List`.
+* Added anonymous analytics on simulator/debugger runs.
+* Add `-[RLMArray moveObjectAtIndex:toIndex:]` and `List.move(from:to:)` to
+  allow moving objects in the given `RLMArray` / `List`.
+
+### Bugfixes
+
+* Processes crashing due to an uncaught exception inside a write transaction will
+  no longer cause other processes using the same Realm to hang indefinitely.
+* Fix incorrect results when querying for < or <= on ints that
+  require 64 bits to represent with a CPU that supports SSE 4.2.
+* An exception will no longer be thrown when attempting to reset the schema
+  version or encryption key on an open Realm to the current value.
+* Date properties on 32 bit devices will retain 64 bit second precision.
+* Wrap calls to the block passed to `enumerate` in an autoreleasepool to reduce
+  memory growth when migrating a large amount of objects.
+* In-memory realms no longer write to the Documents directory on iOS or
+  Application Support on OS X.
+
+0.93.2 Release notes (2015-06-12)
+=============================================================
+
+### Bugfixes
+
+* Fixed an issue where the packaged OS X Realm.framework was built with
+  `GCC_GENERATE_TEST_COVERAGE_FILES` and `GCC_INSTRUMENT_PROGRAM_FLOW_ARCS`
+  enabled.
+* Fix a memory leak when constructing standalone Swift objects with NSDate
+  properties.
+* Throw an exception rather than asserting when an invalidated object is added
+  to an RLMArray.
+* Fix a case where data loss would occur if a device was hard-powered-off
+  shortly after a write transaction was committed which had to expand the Realm
+  file.
+
+0.93.1 Release notes (2015-05-29)
+=============================================================
+
+### Bugfixes
+
+* Objects are no longer copied into standalone objects during object creation. This fixes an issue where
+  nested objects with a primary key are sometimes duplicated rather than updated.
+* Comparison predicates with a constant on the left of the operator and key path on the right now give
+  correct results. An exception is now thrown for predicates that do not yet support this ordering.
+* Fix some crashes in `index_string.cpp` with int primary keys or indexed int properties.
+
+0.93.0 Release notes (2015-05-27)
+=============================================================
+
+### API breaking changes
+
+* Schema versions are now represented as `uint64_t` (Objective-C) and `UInt64` (Swift) so that they have
+  the same representation on all architectures.
+
+### Enhancements
+
+* Swift: `Results` now conforms to `CVarArgType` so it can
+  now be passed as an argument to `Results.filter(_:...)`
+  and `List.filter(_:...)`.
+* Swift: Made `SortDescriptor` conform to the `Equatable` and
+  `StringLiteralConvertible` protocols.
+* Int primary keys are once again automatically indexed.
+* Improve error reporting when attempting to mark a property of a type that
+  cannot be indexed as indexed.
+
+### Bugfixes
+
+* Swift: `RealmSwift.framework` no longer embeds `Realm.framework`,
+  which now allows apps using it to pass iTunes Connect validation.
+
+0.92.4 Release notes (2015-05-22)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Swift: Made `Object.init()` a required initializer.
+* `RLMObject`, `RLMResults`, `Object` and `Results` can now be safely
+  deallocated (but still not used) from any thread.
+* Improve performance of `-[RLMArray indexOfObjectWhere:]` and `-[RLMArray
+  indexOfObjectWithPredicate:]`, and implement them for standalone RLMArrays.
+* Improved performance of most simple queries.
+
+### Bugfixes
+
+* The interprocess notification mechanism no longer uses dispatch worker threads, preventing it from
+  starving other GCD clients of the opportunity to execute blocks when dozens of Realms are open at once.
+
+0.92.3 Release notes (2015-05-13)
+=============================================================
+
+### API breaking changes
+
+* Swift: `Results.average(_:)` now returns an optional, which is `nil` if and only if the results
+  set is empty.
+
+### Enhancements
+
+* Swift: Added `List.invalidated`, which returns if the given `List` is no longer
+  safe to be accessed, and is analogous to `-[RLMArray isInvalidated]`.
+* Assertion messages are automatically logged to Crashlytics if it's loaded
+  into the current process to make it easier to diagnose crashes.
+
+### Bugfixes
+
+* Swift: Enumerating through a standalone `List` whose objects themselves
+  have list properties won't crash.
+* Swift: Using a subclass of `RealmSwift.Object` in an aggregate operator of a predicate
+  no longer throws a spurious type error.
+* Fix incorrect results for when using OR in a query on a `RLMArray`/`List<>`.
+* Fix incorrect values from `[RLMResults count]`/`Results.count` when using
+  `!=` on an int property with no other query conditions.
+* Lower the maximum doubling threshold for Realm file sizes from 128MB to 16MB
+  to reduce the amount of wasted space.
+
+0.92.2 Release notes (2015-05-08)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Exceptions raised when incorrect object types are used with predicates now contain more detailed information.
+* Added `-[RLMMigration deleteDataForClassName:]` and `Migration.deleteData(_:)`
+  to enable cleaning up after removing object subclasses
+
+### Bugfixes
+
+* Prevent debugging of an application using an encrypted Realm to work around
+  frequent LLDB hangs. Until the underlying issue is addressed you may set
+  REALM_DISABLE_ENCRYPTION=YES in your application's environment variables to
+  have requests to open an encrypted Realm treated as a request for an
+  unencrypted Realm.
+* Linked objects are properly updated in `createOrUpdateInRealm:withValue:`.
+* List properties on Objects are now properly initialized during fast enumeration.
+
+0.92.1 Release notes (2015-05-06)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* `-[RLMRealm inWriteTransaction]` is now public.
+* Realm Swift is now available on CoocaPods.
+
+### Bugfixes
+
+* Force code re-signing after stripping architectures in `strip-frameworks.sh`.
+
+0.92.0 Release notes (2015-05-05)
+=============================================================
+
+### API breaking changes
+
+* Migration blocks are no longer called when a Realm file is first created.
+* The following APIs have been deprecated in favor of newer method names:
+
+| Deprecated API                                         | New API                                               |
+|:-------------------------------------------------------|:------------------------------------------------------|
+| `-[RLMMigration createObject:withObject:]`             | `-[RLMMigration createObject:withValue:]`             |
+| `-[RLMObject initWithObject:]`                         | `-[RLMObject initWithValue:]`                         |
+| `+[RLMObject createInDefaultRealmWithObject:]`         | `+[RLMObject createInDefaultRealmWithValue:]`         |
+| `+[RLMObject createInRealm:withObject:]`               | `+[RLMObject createInRealm:withValue:]`               |
+| `+[RLMObject createOrUpdateInDefaultRealmWithObject:]` | `+[RLMObject createOrUpdateInDefaultRealmWithValue:]` |
+| `+[RLMObject createOrUpdateInRealm:withObject:]`       | `+[RLMObject createOrUpdateInRealm:withValue:]`       |
+
+### Enhancements
+
+* `Int8` properties defined in Swift are now treated as integers, rather than
+  booleans.
+* NSPredicates created using `+predicateWithValue:` are now supported.
+
+### Bugfixes
+
+* Compound AND predicates with no subpredicates now correctly match all objects.
+
+0.91.5 Release notes (2015-04-28)
+=============================================================
+
+### Bugfixes
+
+* Fix issues with removing search indexes and re-enable it.
+
+0.91.4 Release notes (2015-04-27)
+=============================================================
+
+### Bugfixes
+
+* Temporarily disable removing indexes from existing columns due to bugs.
+
+0.91.3 Release notes (2015-04-17)
+=============================================================
+
+### Bugfixes
+
+* Fix `Extra argument 'objectClassName' in call` errors when building via
+  CocoaPods.
+
+0.91.2 Release notes (2015-04-16)
+=============================================================
+
+* Migration blocks are no longer called when a Realm file is first created.
+
+### Enhancements
+
+* `RLMCollection` supports collection KVC operations.
+* Sorting `RLMResults` is 2-5x faster (typically closer to 2x).
+* Refreshing `RLMRealm` after a write transaction which inserts or modifies
+  strings or `NSData` is committed on another thread is significantly faster.
+* Indexes are now added and removed from existing properties when a Realm file
+  is opened, rather than only when properties are first added.
+
+### Bugfixes
+
+* `+[RLMSchema dynamicSchemaForRealm:]` now respects search indexes.
+* `+[RLMProperty isEqualToProperty:]` now checks for equal `indexed` properties.
+
+0.91.1 Release notes (2015-03-12)
+=============================================================
+
+### Enhancements
+
+* The browser will automatically refresh when the Realm has been modified
+  from another process.
+* Allow using Realm in an embedded framework by setting
+  `APPLICATION_EXTENSION_API_ONLY` to YES.
+
+### Bugfixes
+
+* Fix a crash in CFRunLoopSourceInvalidate.
+
+0.91.0 Release notes (2015-03-10)
+=============================================================
+
+### API breaking changes
+
+* `attributesForProperty:` has been removed from `RLMObject`. You now specify indexed
+  properties by implementing the `indexedProperties` method.
+* An exception will be thrown when calling `setEncryptionKey:forRealmsAtPath:`,
+  `setSchemaVersion:forRealmAtPath:withMigrationBlock:`, and `migrateRealmAtPath:`
+  when a Realm at the given path is already open.
+* Object and array properties of type `RLMObject` will no longer be allowed.
+
+### Enhancements
+
+* Add support for sharing Realm files between processes.
+* The browser will no longer show objects that have no persisted properties.
+* `RLMSchema`, `RLMObjectSchema`, and `RLMProperty` now have more useful descriptions.
+* Opening an encrypted Realm while a debugger is attached to the process no
+  longer throws an exception.
+* `RLMArray` now exposes an `isInvalidated` property to indicate if it can no
+  longer be accessed.
+
+### Bugfixes
+
+* An exception will now be thrown when calling `-beginWriteTransaction` from within a notification
+  triggered by calling `-beginWriteTransaction` elsewhere.
+* When calling `delete:` we now verify that the object being deleted is persisted in the target Realm.
+* Fix crash when calling `createOrUpdate:inRealm` with nested linked objects.
+* Use the key from `+[RLMRealm setEncryptionKey:forRealmsAtPath:]` in
+  `-writeCopyToPath:error:` and `+migrateRealmAtPath:`.
+* Comparing an RLMObject to a non-RLMObject using `-[RLMObject isEqual:]` or
+  `-isEqualToObject:` now returns NO instead of crashing.
+* Improved error message when an `RLMObject` subclass is defined nested within
+  another Swift declaration.
+* Fix crash when the process is terminated by the OS on iOS while encrypted realms are open.
+* Fix crash after large commits to encrypted realms.
+
+0.90.6 Release notes (2015-02-20)
+=============================================================
+
+### Enhancements
+
+* Improve compatiblity of encrypted Realms with third-party crash reporters.
+
+### Bugfixes
+
+* Fix incorrect results when using aggregate functions on sorted RLMResults.
+* Fix data corruption when using writeCopyToPath:encryptionKey:.
+* Maybe fix some assertion failures.
+
+0.90.5 Release notes (2015-02-04)
+=============================================================
+
+### Bugfixes
+
+* Fix for crashes when encryption is enabled on 64-bit iOS devices.
+
+0.90.4 Release notes (2015-01-29)
+=============================================================
+
+### Bugfixes
+
+* Fix bug that resulted in columns being dropped and recreated during migrations.
+
+0.90.3 Release notes (2015-01-27)
+=============================================================
+
+### Enhancements
+
+* Calling `createInDefaultRealmWithObject:`, `createInRealm:withObject:`,
+  `createOrUpdateInDefaultRealmWithObject:` or `createOrUpdateInRealm:withObject:`
+  is a no-op if the argument is an RLMObject of the same type as the receiver
+  and is already backed by the target realm.
+
+### Bugfixes
+
+* Fix incorrect column type assertions when the first Realm file opened is a
+  read-only file that is missing tables.
+* Throw an exception when adding an invalidated or deleted object as a link.
+* Throw an exception when calling `createOrUpdateInRealm:withObject:` when the
+  receiver has no primary key defined.
+
+0.90.1 Release notes (2015-01-22)
+=============================================================
+
+### Bugfixes
+
+* Fix for RLMObject being treated as a model object class and showing up in the browser.
+* Fix compilation from the podspec.
+* Fix for crash when calling `objectsWhere:` with grouping in the query on `allObjects`.
+
+0.90.0 Release notes (2015-01-21)
+=============================================================
+
+### API breaking changes
+
+* Rename `-[RLMRealm encryptedRealmWithPath:key:readOnly:error:]` to
+  `-[RLMRealm realmWithPath:encryptionKey:readOnly:error:]`.
+* `-[RLMRealm setSchemaVersion:withMigrationBlock]` is no longer global and must be called
+  for each individual Realm path used. You can now call `-[RLMRealm setDefaultRealmSchemaVersion:withMigrationBlock]`
+  for the default Realm and `-[RLMRealm setSchemaVersion:forRealmAtPath:withMigrationBlock:]` for all others;
+
+### Enhancements
+
+* Add `-[RLMRealm writeCopyToPath:encryptionKey:error:]`.
+* Add support for comparing string columns to other string columns in queries.
+
+### Bugfixes
+
+* Roll back changes made when an exception is thrown during a migration.
+* Throw an exception if the number of items in a RLMResults or RLMArray changes
+  while it's being fast-enumerated.
+* Also encrypt the temporary files used when encryption is enabled for a Realm.
+* Fixed crash in JSONImport example on OS X with non-en_US locale.
+* Fixed infinite loop when opening a Realm file in the Browser at the same time
+  as it is open in a 32-bit simulator.
+* Fixed a crash when adding primary keys to older realm files with no primary
+  keys on any objects.
+* Fixed a crash when removing a primary key in a migration.
+* Fixed a crash when multiple write transactions with no changes followed by a
+  write transaction with changes were committed without the main thread
+  RLMRealm getting a chance to refresh.
+* Fixed incomplete results when querying for non-null relationships.
+* Improve the error message when a Realm file is opened in multiple processes
+  at once.
+
+0.89.2 Release notes (2015-01-02)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix an assertion failure when invalidating a Realm which is in a write
+  transaction, has already been invalidated, or has never been used.
+* Fix an assertion failure when sorting an empty RLMArray property.
+* Fix a bug resulting in the browser never becoming visible on 10.9.
+* Write UTF-8 when generating class files from a realm file in the Browser.
+
+0.89.1 Release notes (2014-12-22)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Improve the error message when a Realm can't be opened due to lacking write
+  permissions.
+
+### Bugfixes
+
+* Fix an assertion failure when inserting rows after calling `deleteAllObjects`
+  on a Realm.
+* Separate dynamic frameworks are now built for the simulator and devices to
+  work around App Store submission errors due to the simulator version not
+  being automatically stripped from dynamic libraries.
+
+0.89.0 Release notes (2014-12-18)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Add support for encrypting Realm files on disk.
+* Support using KVC-compliant objects without getters or with custom getter
+  names to initialize RLMObjects with `createObjectInRealm` and friends.
+
+### Bugfixes
+
+* Merge native Swift default property values with defaultPropertyValues().
+* Don't leave the database schema partially updated when opening a realm fails
+  due to a migration being needed.
+* Fixed issue where objects with custom getter names couldn't be used to
+  initialize other objects.
+* Fix a major performance regression on queries on string properties.
+* Fix a memory leak when circularly linked objects are added to a Realm.
+
+0.88.0 Release notes (2014-12-02)
+=============================================================
+
+### API breaking changes
+
+* Deallocating an RLMRealm instance in a write transaction lacking an explicit
+  commit/cancel will now be automatically cancelled instead of committed.
+* `-[RLMObject isDeletedFromRealm]` has been renamed to `-[RLMObject isInvalidated]`.
+
+### Enhancements
+
+* Add `-[RLMRealm writeCopyToPath:]` to write a compacted copy of the Realm
+  another file.
+* Add support for case insensitive, BEGINSWITH, ENDSWITH and CONTAINS string
+  queries on array properties.
+* Make fast enumeration of `RLMArray` and `RLMResults` ~30% faster and
+  `objectAtIndex:` ~55% faster.
+* Added a lldb visualizer script for displaying the contents of persisted
+  RLMObjects when debugging.
+* Added method `-setDefaultRealmPath:` to change the default Realm path.
+* Add `-[RLMRealm invalidate]` to release data locked by the current thread.
+
+### Bugfixes
+
+* Fix for crash when running many simultaneous write transactions on background threads.
+* Fix for crashes caused by opening Realms at multiple paths simultaneously which have had
+  properties re-ordered during migration.
+* Don't run the query twice when `firstObject` or `lastObject` are called on an
+  `RLMResults` which has not had its results accessed already.
+* Fix for bug where schema version is 0 for new Realm created at the latest version.
+* Fix for error message where no migration block is specified when required.
+
+0.87.4 Release notes (2014-11-07)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix browser location in release zip.
+
+0.87.3 Release notes (2014-11-06)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Added method `-linkingObjectsOfClass:forProperty:` to RLMObject to expose inverse
+  relationships/backlinks.
+
+### Bugfixes
+
+* Fix for crash due to missing search index when migrating an object with a string primary key
+  in a database created using an older versions (0.86.3 and earlier).
+* Throw an exception when passing an array containing a
+  non-RLMObject to -[RLMRealm addObjects:].
+* Fix for crash when deleting an object from multiple threads.
+
+0.87.0 Release notes (2014-10-21)
+=============================================================
+
+### API breaking changes
+
+* RLMArray has been split into two classes, `RLMArray` and `RLMResults`. RLMArray is
+  used for object properties as in previous releases. Moving forward all methods used to
+  enumerate, query, and sort objects return an instance of a new class `RLMResults`. This
+  change was made to support diverging apis and the future addition of change notifications
+  for queries.
+* The api for migrations has changed. You now call `setSchemaVersion:withMigrationBlock:` to
+  register a global migration block and associated version. This block is applied to Realms as
+  needed when opened for Realms at a previous version. The block can be applied manually if
+  desired by calling `migrateRealmAtPath:`.
+* `arraySortedByProperty:ascending:` was renamed to `sortedResultsUsingProperty:ascending`
+* `addObjectsFromArray:` on both `RLMRealm` and `RLMArray` has been renamed to `addObjects:`
+  and now accepts any container class which implements `NSFastEnumeration`
+* Building with Swift support now requires Xcode 6.1
+
+### Enhancements
+
+* Add support for sorting `RLMArray`s by multiple columns with `sortedResultsUsingDescriptors:`
+* Added method `deleteAllObjects` on `RLMRealm` to clear a Realm.
+* Added method `createObject:withObject:` on `RLMMigration` which allows object creation during migrations.
+* Added method `deleteObject:` on `RLMMigration` which allows object deletion during migrations.
+* Updating to core library version 0.85.0.
+* Implement `objectsWhere:` and `objectsWithPredicate:` for array properties.
+* Add `cancelWriteTransaction` to revert all changes made in a write transaction and end the transaction.
+* Make creating `RLMRealm` instances on background threads when an instance
+  exists on another thread take a fifth of the time.
+* Support for partial updates when calling `createOrUpdateWithObject:` and `addOrUpdateObject:`
+* Re-enable Swift support on OS X
+
+### Bugfixes
+
+* Fix exceptions when trying to set `RLMObject` properties after rearranging
+  the properties in a `RLMObject` subclass.
+* Fix crash on IN query with several thousand items.
+* Fix crash when querying indexed `NSString` properties.
+* Fixed an issue which prevented in-memory Realms from being used accross multiple threads.
+* Preserve the sort order when querying a sorted `RLMResults`.
+* Fixed an issue with migrations where if a Realm file is deleted after a Realm is initialized,
+  the newly created Realm can be initialized with an incorrect schema version.
+* Fix crash in `RLMSuperSet` when assigning to a `RLMArray` property on a standalone object.
+* Add an error message when the protocol for an `RLMArray` property is not a
+  valid object type.
+* Add an error message when an `RLMObject` subclass is defined nested within
+  another Swift class.
+
+0.86.3 Release notes (2014-10-09)
+=============================================================
+
+### Enhancements
+
+* Add support for != in queries on object relationships.
+
+### Bugfixes
+
+* Re-adding an object to its Realm no longer throws an exception and is now a no-op
+  (as it was previously).
+* Fix another bug which would sometimes result in subclassing RLMObject
+  subclasses not working.
+
+0.86.2 Release notes (2014-10-06)
+=============================================================
+
+### Bugfixes
+
+* Fixed issues with packaging "Realm Browser.app" for release.
+
+0.86.1 Release notes (2014-10-03)
+=============================================================
+
+### Bugfixes
+
+* Fix a bug which would sometimes result in subclassing RLMObject subclasses
+  not working.
+
+0.86.0 Release notes (2014-10-03)
+=============================================================
+
+### API breaking changes
+
+* Xcode 6 is now supported from the main Xcode project `Realm.xcodeproj`.
+  Xcode 5 is no longer supported.
+
+### Enhancements
+
+* Support subclassing RLMObject models. Although you can now persist subclasses,
+  polymorphic behavior is not supported (i.e. setting a property to an
+  instance of its subclass).
+* Add support for sorting RLMArray properties.
+* Speed up inserting objects with `addObject:` by ~20%.
+* `readonly` properties are automatically ignored rather than having to be
+  added to `ignoredProperties`.
+* Updating to core library version 0.83.1.
+* Return "[deleted object]" rather than throwing an exception when
+  `-description` is called on a deleted RLMObject.
+* Significantly improve performance of very large queries.
+* Allow passing any enumerable to IN clauses rather than just NSArray.
+* Add `objectForPrimaryKey:` and `objectInRealm:forPrimaryKey:` convenience
+  methods to fetch an object by primary key.
+
+### Bugfixes
+
+* Fix error about not being able to persist property 'hash' with incompatible
+  type when building for devices with Xcode 6.
+* Fix spurious notifications of new versions of Realm.
+* Fix for updating nested objects where some types do not have primary keys.
+* Fix for inserting objects from JSON with NSNull values when default values
+  should be used.
+* Trying to add a persisted RLMObject to a different Realm now throws an
+  exception rather than creating an uninitialized object.
+* Fix validation errors when using IN on array properties.
+* Fix errors when an IN clause has zero items.
+* Fix for chained queries ignoring all but the last query's conditions.
+
+0.85.0 Release notes (2014-09-15)
+=============================================================
+
+### API breaking changes
+
+* Notifications for a refresh being needed (when autorefresh is off) now send
+  the notification type RLMRealmRefreshRequiredNotification rather than
+  RLMRealmDidChangeNotification.
+
+### Enhancements
+
+* Updating to core library version 0.83.0.
+* Support for primary key properties (for int and string columns). Declaring a property
+  to be the primary key ensures uniqueness for that property for all objects of a given type.
+  At the moment indexes on primary keys are not yet supported but this will be added in a future
+  release.
+* Added methods to update or insert (upsert) for objects with primary keys defined.
+* `[RLMObject initWithObject:]` and `[RLMObject createInRealmWithObject:]` now support
+  any object type with kvc properties.
+* The Swift support has been reworked to work around Swift not being supported
+  in Frameworks on iOS 7.
+* Improve performance when getting the count of items matching a query but not
+  reading any of the objects in the results.
+* Add a return value to `-[RLMRealm refresh]` that indicates whether or not
+  there was anything to refresh.
+* Add the class name to the error message when an RLMObject is missing a value
+  for a property without a default.
+* Add support for opening Realms in read-only mode.
+* Add an automatic check for updates when using Realm in a simulator (the
+  checker code is not compiled into device builds). This can be disabled by
+  setting the REALM_DISABLE_UPDATE_CHECKER environment variable to any value.
+* Add support for Int16 and Int64 properties in Swift classes.
+
+### Bugfixes
+
+* Realm change notifications when beginning a write transaction are now sent
+  after updating rather than before, to match refresh.
+* `-isEqual:` now uses the default `NSObject` implementation unless a primary key
+  is specified for an RLMObject. When a primary key is specified, `-isEqual:` calls
+  `-isEqualToObject:` and a corresponding implementation for `-hash` is also implemented.
+
+0.84.0 Release notes (2014-08-28)
+=============================================================
+
+### API breaking changes
+
+* The timer used to trigger notifications has been removed. Notifications are now
+  only triggered by commits made in other threads, and can not currently be triggered
+  by changes made by other processes. Interprocess notifications will be re-added in
+  a future commit with an improved design.
+
+### Enhancements
+
+* Updating to core library version 0.82.2.
+* Add property `deletedFromRealm` to RLMObject to indicate objects which have been deleted.
+* Add support for the IN operator in predicates.
+* Add support for the BETWEEN operator in link queries.
+* Add support for multi-level link queries in predicates (e.g. `foo.bar.baz = 5`).
+* Switch to building the SDK from source when using CocoaPods and add a
+  Realm.Headers subspec for use in targets that should not link a copy of Realm
+  (such as test targets).
+* Allow unregistering from change notifications in the change notification
+  handler block.
+* Significant performance improvements when holding onto large numbers of RLMObjects.
+* Realm-Xcode6.xcodeproj now only builds using Xcode6-Beta6.
+* Improved performance during RLMArray iteration, especially when mutating
+  contained objects.
+
+### Bugfixes
+
+* Fix crashes and assorted bugs when sorting or querying a RLMArray returned
+  from a query.
+* Notifications are no longer sent when initializing new RLMRealm instances on background
+  threads.
+* Handle object cycles in -[RLMObject description] and -[RLMArray description].
+* Lowered the deployment target for the Xcode 6 projects and Swift examples to
+  iOS 7.0, as they didn't actually require 8.0.
+* Support setting model properties starting with the letter 'z'
+* Fixed crashes that could result from switching between Debug and Relase
+  builds of Realm.
+
+0.83.0 Release notes (2014-08-13)
+=============================================================
+
+### API breaking changes
+
+* Realm-Xcode6.xcodeproj now only builds using Xcode6-Beta5.
+* Properties to be persisted in Swift classes must be explicitly declared as `dynamic`.
+* Subclasses of RLMObject subclasses now throw an exception on startup, rather
+  than when added to a Realm.
+
+### Enhancements
+
+* Add support for querying for nil object properties.
+* Improve error message when specifying invalid literals when creating or
+  initializing RLMObjects.
+* Throw an exception when an RLMObject is used from the incorrect thread rather
+  than crashing in confusing ways.
+* Speed up RLMRealm instantiation and array property iteration.
+* Allow array and objection relation properties to be missing or null when
+  creating a RLMObject from a NSDictionary.
+
+### Bugfixes
+
+* Fixed a memory leak when querying for objects.
+* Fixed initializing array properties on standalone Swift RLMObject subclasses.
+* Fix for queries on 64bit integers.
+
+0.82.0 Release notes (2014-08-05)
+=============================================================
+
+### API breaking changes
+
+* Realm-Xcode6.xcodeproj now only builds using Xcode6-Beta4.
+
+### Enhancements
+
+* Updating to core library version 0.80.5.
+* Now support disabling the `autorefresh` property on RLMRealm instances.
+* Building Realm-Xcode6 for iOS now builds a universal framework for Simulator & Device.
+* Using NSNumber properties (unsupported) now throws a more informative exception.
+* Added `[RLMRealm defaultRealmPath]`
+* Proper implementation for [RLMArray indexOfObjectWhere:]
+* The default Realm path on OS X is now ~/Library/Application Support/[bundle
+  identifier]/default.realm rather than ~/Documents
+* We now check that the correct framework (ios or osx) is used at compile time.
+
+### Bugfixes
+
+* Fixed rapid growth of the realm file size.
+* Fixed a bug which could cause a crash during RLMArray destruction after a query.
+* Fixed bug related to querying on float properties: `floatProperty = 1.7` now works.
+* Fixed potential bug related to the handling of array properties (RLMArray).
+* Fixed bug where array properties accessed the wrong property.
+* Fixed bug that prevented objects with custom getters to be added to a Realm.
+* Fixed a bug where initializing a standalone object with an array literal would
+  trigger an exception.
+* Clarified exception messages when using unsupported NSPredicate operators.
+* Clarified exception messages when using unsupported property types on RLMObject subclasses.
+* Fixed a memory leak when breaking out of a for-in loop on RLMArray.
+* Fixed a memory leak when removing objects from a RLMArray property.
+* Fixed a memory leak when querying for objects.
+
+
+0.81.0 Release notes (2014-07-22)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Updating to core library version 0.80.3.
+* Added support for basic querying of RLMObject and RLMArray properties (one-to-one and one-to-many relationships).
+  e.g. `[Person objectsWhere:@"dog.name == 'Alfonso'"]` or `[Person objectsWhere:@"ANY dogs.name == 'Alfonso'"]`
+  Supports all normal operators for numeric and date types. Does not support NSData properties or `BEGINSWITH`, `ENDSWITH`, `CONTAINS`
+  and other options for string properties.
+* Added support for querying for object equality in RLMObject and RLMArray properties (one-to-one and one-to-many relationships).
+  e.g. `[Person objectsWhere:@"dog == %@", myDog]` `[Person objectsWhere:@"ANY dogs == %@", myDog]` `[Person objectsWhere:@"ANY friends.dog == %@", dog]`
+  Only supports comparing objects for equality (i.e. ==)
+* Added a helper method to RLMRealm to perform a block inside a transaction.
+* OSX framework now supported in CocoaPods.
+
+### Bugfixes
+
+* Fixed Unicode support in property names and string contents (Chinese, Russian, etc.). Closing #612 and #604.
+* Fixed bugs related to migration when properties are removed.
+* Fixed keyed subscripting for standalone RLMObjects.
+* Fixed bug related to double clicking on a .realm file to launch the Realm Browser (thanks to Dean Moore).
+
+
+0.80.0 Release notes (2014-07-15)
+=============================================================
+
+### API breaking changes
+
+* Rename migration methods to -migrateDefaultRealmWithBlock: and -migrateRealmAtPath:withBlock:
+* Moved Realm specific query methods from RLMRealm to class methods on RLMObject (-allObjects: to +allObjectsInRealm: ect.)
+
+### Enhancements
+
+* Added +createInDefaultRealmWithObject: method to RLMObject.
+* Added support for array and object literals when calling -createWithObject: and -initWithObject: variants.
+* Added method -deleteObjects: to batch delete objects from a Realm
+* Support for defining RLMObject models entirely in Swift (experimental, see known issues).
+* RLMArrays in Swift support Sequence-style enumeration (for obj in array).
+* Implemented -indexOfObject: for RLMArray
+
+### Known Issues for Swift-defined models
+
+* Properties other than String, NSData and NSDate require a default value in the model. This can be an empty (but typed) array for array properties.
+* The previous caveat also implies that not all models defined in Objective-C can be used for object properties. Only Objective-C models with only implicit (i.e. primitives) or explicit default values can be used. However, any Objective-C model object can be used in a Swift array property.
+* Array property accessors don't work until its parent object has been added to a realm.
+* Realm-Bridging-Header.h is temporarily exposed as a public header. This is temporary and will be private again once rdar://17633863 is fixed.
+* Does not leverage Swift generics and still uses RLM-prefix everywhere. This is coming in #549.
+
+
+0.22.0 Release notes
+=============================================================
+
+### API breaking changes
+
+* Rename schemaForObject: to schemaForClassName: on RLMSchema
+* Removed -objects:where: and -objects:orderedBy:where: from RLMRealm
+* Removed -indexOfObjectWhere:, -objectsWhere: and -objectsOrderedBy:where: from RLMArray
+* Removed +objectsWhere: and +objectsOrderedBy:where: from RLMObject
+
+### Enhancements
+
+* New Xcode 6 project for experimental swift support.
+* New Realm Editor app for reading and editing Realm db files.
+* Added support for migrations.
+* Added support for RLMArray properties on objects.
+* Added support for creating in-memory default Realm.
+* Added -objectsWithClassName:predicateFormat: and -objectsWithClassName:predicate: to RLMRealm
+* Added -indexOfObjectWithPredicateFormat:, -indexOfObjectWithPredicate:, -objectsWithPredicateFormat:, -objectsWithPredi
+* Added +objectsWithPredicateFormat: and +objectsWithPredicate: to RLMObject
+* Now allows predicates comparing two object properties of the same type.
+
+
+0.20.0 Release notes (2014-05-28)
+=============================================================
+
+Completely rewritten to be much more object oriented.
+
+### API breaking changes
+
+* Everything
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* None.
+
+
+0.11.0 Release notes (not released)
+=============================================================
+
+The Objective-C API has been updated and your code will break!
+
+### API breaking changes
+
+* `RLMTable` objects can only be created with an `RLMRealm` object.
+* Renamed `RLMContext` to `RLMTransactionManager`
+* Renamed `RLMContextDidChangeNotification` to `RLMRealmDidChangeNotification`
+* Renamed `contextWithDefaultPersistence` to `managerForDefaultRealm`
+* Renamed `contextPersistedAtPath:` to `managerForRealmWithPath:`
+* Renamed `realmWithDefaultPersistence` to `defaultRealm`
+* Renamed `realmWithDefaultPersistenceAndInitBlock` to `defaultRealmWithInitBlock`
+* Renamed `find:` to `firstWhere:`
+* Renamed `where:` to `allWhere:`
+* Renamed `where:orderBy:` to `allWhere:orderBy:`
+
+### Enhancements
+
+* Added `countWhere:` on `RLMTable`
+* Added `sumOfColumn:where:` on `RLMTable`
+* Added `averageOfColumn:where:` on `RLMTable`
+* Added `minOfProperty:where:` on `RLMTable`
+* Added `maxOfProperty:where:` on `RLMTable`
+* Added `toJSONString` on `RLMRealm`, `RLMTable` and `RLMView`
+* Added support for `NOT` operator in predicates
+* Added support for default values
+* Added validation support in `createInRealm:withObject:`
+
+### Bugfixes
+
+* None.
+
+
+0.10.0 Release notes (2014-04-23)
+=============================================================
+
+TightDB is now Realm! The Objective-C API has been updated
+and your code will break!
+
+### API breaking changes
+
+* All references to TightDB have been changed to Realm.
+* All prefixes changed from `TDB` to `RLM`.
+* `TDBTransaction` and `TDBSmartContext` have merged into `RLMRealm`.
+* Write transactions now take an optional rollback parameter (rather than needing to return a boolean).
+* `addColumnWithName:` and variant methods now return the index of the newly created column if successful, `NSNotFound` otherwise.
+
+### Enhancements
+
+* `createTableWithName:columns:` has been added to `RLMRealm`.
+* Added keyed subscripting for RLMTable's first column if column is of type RLMPropertyTypeString.
+* `setRow:atIndex:` has been added to `RLMTable`.
+* `RLMRealm` constructors now have variants that take an writable initialization block
+* New object interface - tables created/retrieved using `tableWithName:objectClass:` return custom objects
+
+### Bugfixes
+
+* None.
+
+
+0.6.0 Release notes (2014-04-11)
+=============================================================
+
+### API breaking changes
+
+* `contextWithPersistenceToFile:error:` renamed to `contextPersistedAtPath:error:` in `TDBContext`
+* `readWithBlock:` renamed to `readUsingBlock:` in `TDBContext`
+* `writeWithBlock:error:` renamed to `writeUsingBlock:error:` in `TDBContext`
+* `readTable:withBlock:` renamed to `readTable:usingBlock:` in `TDBContext`
+* `writeTable:withBlock:error:` renamed to `writeTable:usingBlock:error:` in `TDBContext`
+* `findFirstRow` renamed to `indexOfFirstMatchingRow` on `TDBQuery`.
+* `findFirstRowFromIndex:` renamed to `indexOfFirstMatchingRowFromIndex:` on `TDBQuery`.
+* Return `NSNotFound` instead of -1 when appropriate.
+* Renamed `castClass` to `castToTytpedTableClass` on `TDBTable`.
+* `removeAllRows`, `removeRowAtIndex`, `removeLastRow`, `addRow` and `insertRow` methods
+  on table now return void instead of BOOL.
+
+### Enhancements
+* A `TDBTable` can now be queried using `where:` and `where:orderBy:` taking
+  `NSPredicate` and `NSSortDescriptor` as arguments.
+* Added `find:` method on `TDBTable` to find first row matching predicate.
+* `contextWithDefaultPersistence` class method added to `TDBContext`. Will create a context persisted
+  to a file in app/documents folder.
+* `renameColumnWithIndex:to:` has been added to `TDBTable`.
+* `distinctValuesInColumnWithIndex` has been added to `TDBTable`.
+* `dateIsBetween::`, `doubleIsBetween::`, `floatIsBetween::` and `intIsBetween::`
+  have been added to `TDBQuery`.
+* Column names in Typed Tables can begin with non-capital letters too. The generated `addX`
+  selector can look odd. For example, a table with one column with name `age`,
+  appending a new row will look like `[table addage:7]`.
+* Mixed typed values are better validated when rows are added, inserted,
+  or modified as object literals.
+* `addRow`, `insertRow`, and row updates can be done using objects
+   derived from `NSObject`.
+* `where` has been added to `TDBView`and `TDBViewProtocol`.
+* Adding support for "smart" contexts (`TDBSmartContext`).
+
+### Bugfixes
+
+* Modifications of a `TDBView` and `TDBQuery` now throw an exception in a readtransaction.
+
+
+0.5.0 Release notes (2014-04-02)
+=============================================================
+
+The Objective-C API has been updated and your code will break!
+Of notable changes a fast interface has been added.
+This interface includes specific methods to get and set values into Tightdb.
+To use these methods import `<Tightdb/TightdbFast.h>`.
+
+### API breaking changes
+
+* `getTableWithName:` renamed to `tableWithName:` in `TDBTransaction`.
+* `addColumnWithName:andType:` renamed to `addColumnWithName:type:` in `TDBTable`.
+* `columnTypeOfColumn:` renamed to `columnTypeOfColumnWithIndex` in `TDBTable`.
+* `columnNameOfColumn:` renamed to `nameOfColumnWithIndex:` in `TDBTable`.
+* `addColumnWithName:andType:` renamed to `addColumnWithName:type:` in `TDBDescriptor`.
+* Fast getters and setters moved from `TDBRow.h` to `TDBRowFast.h`.
+
+### Enhancements
+
+* Added `minDateInColumnWithIndex` and `maxDateInColumnWithIndex` to `TDBQuery`.
+* Transactions can now be started directly on named tables.
+* You can create dynamic tables with initial schema.
+* `TDBTable` and `TDBView` now have a shared protocol so they can easier be used interchangeably.
+
+### Bugfixes
+
+* Fixed bug in 64 bit iOS when inserting BOOL as NSNumber.
+
+
+0.4.0 Release notes (2014-03-26)
+=============================================================
+
+### API breaking changes
+
+* Typed interface Cursor has now been renamed to Row.
+* TDBGroup has been renamed to TDBTransaction.
+* Header files are renamed so names match class names.
+* Underscore (_) removed from generated typed table classes.
+* TDBBinary has been removed; use NSData instead.
+* Underscope (_) removed from generated typed table classes.
+* Constructor for TDBContext has been renamed to contextWithPersistenceToFile:
+* Table findFirstRow and min/max/sum/avg operations has been hidden.
+* Table.appendRow has been renamed to addRow.
+* getOrCreateTable on Transaction has been removed.
+* set*:inColumnWithIndex:atRowIndex: methods have been prefixed with TDB
+* *:inColumnWithIndex:atRowIndex: methods have been prefixed with TDB
+* addEmptyRow on table has been removed. Use [table addRow:nil] instead.
+* TDBMixed removed. Use id and NSObject instead.
+* insertEmptyRow has been removed from table. Use insertRow:nil atIndex:index instead.
+
+#### Enhancements
+
+* Added firstRow, lastRow selectors on view.
+* firstRow and lastRow on table now return nil if table is empty.
+* getTableWithName selector added on group.
+* getting and creating table methods on group no longer take error argument.
+* [TDBQuery parent] and [TDBQuery subtable:] selectors now return self.
+* createTable method added on Transaction. Throws exception if table with same name already exists.
+* Experimental support for pinning transactions on Context.
+* TDBView now has support for object subscripting.
+
+### Bugfixes
+
+* None.
+
+
+0.3.0 Release notes (2014-03-14)
+=============================================================
+
+The Objective-C API has been updated and your code will break!
+
+### API breaking changes
+
+* Most selectors have been renamed in the binding!
+* Prepend TDB-prefix on all classes and types.
+
+### Enhancements
+
+* Return types and parameters changed from size_t to NSUInteger.
+* Adding setObject to TightdbTable (t[2] = @[@1, @"Hello"] is possible).
+* Adding insertRow to TightdbTable.
+* Extending appendRow to accept NSDictionary.
+
+### Bugfixes
+
+* None.
+
+
+0.2.0 Release notes (2014-03-07)
+=============================================================
+
+The Objective-C API has been updated and your code will break!
+
+### API breaking changes
+
+* addRow renamed to addEmptyRow
+
+### Enhancements
+
+* Adding a simple class for version numbering.
+* Adding get-version and set-version targets to build.sh.
+* tableview now supports sort on column with column type bool, date and int
+* tableview has method for checking the column type of a specified column
+* tableview has method for getting the number of columns
+* Adding methods getVersion, getCoreVersion and isAtLeast.
+* Adding appendRow to TightdbTable.
+* Adding object subscripting.
+* Adding method removeColumn on table.
+
+### Bugfixes
+
+* None.

+ 53 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/Info.plist

@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>BuildMachineOSBuild</key>
+	<string>15E65</string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>Realm</string>
+	<key>CFBundleIdentifier</key>
+	<string>io.Realm.Realm</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>Realm</string>
+	<key>CFBundlePackageType</key>
+	<string>FMWK</string>
+	<key>CFBundleShortVersionString</key>
+	<string>0.98.6</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleSupportedPlatforms</key>
+	<array>
+		<string>MacOSX</string>
+	</array>
+	<key>CFBundleVersion</key>
+	<string>0.98.6</string>
+	<key>DTCompiler</key>
+	<string>com.apple.compilers.llvm.clang.1_0</string>
+	<key>DTPlatformBuild</key>
+	<string>7D175</string>
+	<key>DTPlatformVersion</key>
+	<string>GM</string>
+	<key>DTSDKBuild</key>
+	<string>15E60</string>
+	<key>DTSDKName</key>
+	<string>macosx10.11</string>
+	<key>DTXcode</key>
+	<string>0730</string>
+	<key>DTXcodeBuild</key>
+	<string>7D175</string>
+	<key>NSHumanReadableCopyright</key>
+	<string>Copyright © 2014 Realm. All rights reserved.</string>
+	<key>UIDeviceFamily</key>
+	<array>
+		<integer>3</integer>
+		<integer>2</integer>
+		<integer>1</integer>
+		<integer>4</integer>
+	</array>
+</dict>
+</plist>

+ 269 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/LICENSE

@@ -0,0 +1,269 @@
+TABLE OF CONTENTS
+
+1. Apache License version 2.0
+2. Realm Components
+3. Export Compliance
+
+-------------------------------------------------------------------------------
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "{}"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright {yyyy} {name of copyright owner}
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+
+REALM COMPONENTS
+
+This software contains components with separate copyright and license terms.
+Your use of these components is subject to the terms and conditions of the
+following licenses.
+
+For the Realm Core component
+
+  Realm Core Binary License
+
+  Copyright (c) 2011-2014 Realm Inc All rights reserved
+
+  Redistribution and use in binary form, with or without modification, is
+  permitted provided that the following conditions are met:
+
+  1. You agree not to attempt to decompile, disassemble, reverse engineer or
+  otherwise discover the source code from which the binary code was derived.
+  You may, however, access and obtain a separate license for most of the
+  source code from which this Software was created, at
+  http://realm.io/pricing/.
+
+  2. Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+
+  3. Neither the name of the copyright holder nor the names of its
+  contributors may be used to endorse or promote products derived from this
+  software without specific prior written permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+  POSSIBILITY OF SUCH DAMAGE.
+
+EXPORT COMPLIANCE
+
+You understand that the Software may contain cryptographic functions that may be
+subject to export restrictions, and you represent and warrant that you are not
+located in a country that is subject to United States export restriction or embargo,
+including Cuba, Iran, North Korea, Sudan, Syria or the Crimea region, and that you
+are not on the Department of Commerce list of Denied Persons, Unverified Parties,
+or affiliated with a Restricted Entity.
+
+You agree to comply with all export, re-export and import restrictions and
+regulations of the Department of Commerce or other agency or authority of the
+United States or other applicable countries. You also agree not to transfer, or
+authorize the transfer of, directly or indirectly, the Software to any prohibited
+country, including Cuba, Iran, North Korea, Sudan, Syria or the Crimea region,
+or to any person or organization on or affiliated with the Department of
+Commerce lists of Denied Persons, Unverified Parties or Restricted Entities, or
+otherwise in violation of any such restrictions or regulations.

+ 72 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/A/Resources/strip-frameworks.sh

@@ -0,0 +1,72 @@
+################################################################################
+#
+# Copyright 2015 Realm Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+################################################################################
+
+# This script strips all non-valid architectures from dynamic libraries in
+# the application's `Frameworks` directory.
+#
+# The following environment variables are required:
+#
+# BUILT_PRODUCTS_DIR
+# FRAMEWORKS_FOLDER_PATH
+# VALID_ARCHS
+# EXPANDED_CODE_SIGN_IDENTITY
+
+
+# Signs a framework with the provided identity
+code_sign() {
+  # Use the current code_sign_identitiy
+  echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
+  echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1"
+  /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
+}
+
+# Set working directory to product’s embedded frameworks 
+cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+
+if [ "$ACTION" = "install" ]; then
+  echo "Copy .bcsymbolmap files to .xcarchive"
+  find . -name '*.bcsymbolmap' -type f -exec mv {} "${CONFIGURATION_BUILD_DIR}" \;
+else
+  # Delete *.bcsymbolmap files from framework bundle unless archiving
+  find . -name '*.bcsymbolmap' -type f -exec rm -rf "{}" +\;
+fi
+
+echo "Stripping frameworks"
+
+for file in $(find . -type f -perm +111); do
+  # Skip non-dynamic libraries
+  if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then
+    continue
+  fi
+  # Get architectures for current file
+  archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)"
+  stripped=""
+  for arch in $archs; do
+    if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
+      # Strip non-valid architectures in-place
+      lipo -remove "$arch" -output "$file" "$file" || exit 1
+      stripped="$stripped $arch"
+    fi
+  done
+  if [[ "$stripped" != "" ]]; then
+    echo "Stripped $file of architectures:$stripped"
+    if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then
+      code_sign "${file}"
+    fi
+  fi
+done

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/Realm.framework/Versions/Current

@@ -0,0 +1 @@
+A

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Headers

@@ -0,0 +1 @@
+Versions/Current/Headers

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Modules

@@ -0,0 +1 @@
+Versions/Current/Modules

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/RealmSwift

@@ -0,0 +1 @@
+Versions/Current/RealmSwift

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Resources

@@ -0,0 +1 @@
+Versions/Current/Resources

+ 317 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Headers/RealmSwift-Swift.h

@@ -0,0 +1,317 @@
+// Generated by Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)
+#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)));
+#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(__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(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(__has_feature) && __has_feature(modules)
+@import Realm;
+@import Realm.Private;
+@import Foundation;
+@import ObjectiveC;
+#endif
+
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+@class RLMRealm;
+@class RLMObjectSchema;
+@class RLMSchema;
+@class RLMProperty;
+@class RLMListBase;
+@class RLMOptionalBase;
+
+
+/// In Realm you define your model classes by subclassing Object and adding properties to be persisted. You then instantiate and use your custom subclasses instead of using the Object class directly.
+///
+/// <code>class Dog: Object {
+///     dynamic var name: String = ""
+///     dynamic var adopted: Bool = false
+///     let siblings = List<Dog>()
+/// }
+/// 
+/// </code>
+/// <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>NSDate
+/// </code></li><li><code>NSData
+/// </code></li><li><code>RealmOptional<T>
+/// </code> for optional numeric properties</li><li><code>Object
+/// </code> subclasses for to-one relationships</li><li><code>List<T: Object>
+/// </code> for to-many relationships</li></ul>
+/// <code>String
+/// </code>, <code>NSString
+/// </code>, <code>NSDate
+/// </code>, <code>NSData
+/// </code> and <code>Object
+/// </code> subclass properties can be
+/// optional. <code>Int
+/// </code>, <code>Int8
+/// </code>, Int16<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, instead use
+/// <code>RealmOptional<Int>
+/// </code>, <code>RealmOptional<Float>
+/// </code>, <code>RealmOptional<Double>
+/// </code>, or
+/// <code>RealmOptional<Bool>
+/// </code> instead, which wraps an optional value of the generic type.
+///
+/// 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.
+///
+/// <h3>Querying</h3>
+/// You can gets <code>Results
+/// </code> of an Object subclass via the <code>objects(_:)
+/// </code> instance
+/// method on <code>Realm
+/// </code>.
+///
+/// <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
+
+/// Initialize a standalone (unpersisted) Object. Call add(_:) on a Realm to add standalone objects to a realm.
+///
+/// <ul><li>see: Realm().add(_:)</li></ul>
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+
+/// Initialize a standalone (unpersisted) Object with values from an Array<AnyObject> or Dictionary<String, AnyObject>. Call add(_:) on a Realm to add standalone objects to a realm.
+///
+/// \param value The value used to populate the object. This can be any key/value coding compliant
+/// object, or a JSON object such as those returned from the methods in <code>NSJSONSerialization
+/// </code>,
+/// or an <code>Array
+/// </code> with one object for each persisted property. An exception will be
+/// thrown if any required properties are not present and no default is set.
+- (nonnull instancetype)initWithValue:(id _Nonnull)value OBJC_DESIGNATED_INITIALIZER;
+
+/// Indicates if an object can no longer be accessed.
+///
+/// An object can no longer be accessed if the object has been deleted from the containing
+/// <code>realm
+/// </code> or if <code>invalidate
+/// </code> is called on the containing <code>realm
+/// </code>.
+@property (nonatomic, readonly, getter=isInvalidated) BOOL invalidated;
+
+/// Returns a human-readable description of this 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;
+
+/// Override to designate a property as the primary key for an Object subclass. Only properties of type String and Int can be designated as the primary key. Primary key properties enforce uniqueness for each value whenever the property is set which incurs some overhead. Indexes are created automatically for primary key properties.
+///
+/// \returns  Name of the property designated as the primary key, or <code>nil
+/// </code> if the model has no primary key.
++ (NSString * _Nullable)primaryKey;
+
+/// Override to return an array of property names to ignore. These properties will not be persisted and are treated as transient.
+///
+/// \returns  <code>Array
+/// </code> of property names to ignore.
++ (NSArray<NSString *> * _Nonnull)ignoredProperties;
+
+/// Return an array of property names for properties which should be indexed. Only supported for string and int properties.
+///
+/// \returns  <code>Array
+/// </code> of property names to index.
++ (NSArray<NSString *> * _Nonnull)indexedProperties;
+- (id _Nullable)objectForKeyedSubscript:(NSString * _Nonnull)key;
+- (void)setObject:(id _Nullable)value forKeyedSubscript:(NSString * _Nonnull)key;
+
+/// Returns whether both objects are equal.
+///
+/// Objects are considered equal when they are both from the same Realm and point to the same
+/// underlying object in the database.
+///
+/// \param object Object to compare for equality.
+- (BOOL)isEqual:(id _Nullable)object;
+
+/// 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;
+- (RLMListBase * _Nonnull)listForProperty:(RLMProperty * _Nonnull)prop;
+- (RLMOptionalBase * _Nonnull)optionalForProperty:(RLMProperty * _Nonnull)prop;
+@end
+
+
+
+/// Object interface which allows untyped getters and setters for Objects. :nodoc:
+SWIFT_CLASS("_TtC10RealmSwift13DynamicObject")
+@interface DynamicObject : RealmSwiftObject
+- (RLMListBase * _Nonnull)listForProperty:(RLMProperty * _Nonnull)prop;
+- (RLMOptionalBase * _Nonnull)optionalForProperty:(RLMProperty * _Nonnull)prop;
+
+/// :nodoc:
+- (id _Nullable)valueForUndefinedKey:(NSString * _Nonnull)key;
+
+/// :nodoc:
+- (void)setValue:(id _Nullable)value forUndefinedKey:(NSString * _Nonnull)key;
+
+/// :nodoc:
++ (BOOL)shouldIncludeInDefaultSchema;
+- (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
+
+@class RLMArray;
+
+
+/// :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;
+- (null_unspecified instancetype)initWithArray:(RLMArray * _Null_unspecified)array OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+@interface NSDate (SWIFT_EXTENSION(RealmSwift))
+@end
+
+
+
+
+/// :nodoc: Internal class. Do not use directly.
+SWIFT_CLASS_NAMED("ObjectUtil")
+@interface RealmSwiftObjectUtil : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+@class RLMResults;
+
+
+/// :nodoc: Internal class. Do not use directly.
+SWIFT_CLASS("_TtC10RealmSwift11ResultsBase")
+@interface ResultsBase : NSObject <NSFastEnumeration>
+@property (nonatomic, readonly, strong) RLMResults * _Nonnull rlmResults;
+
+/// Returns a human-readable description of the objects contained in these results.
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
+- (nonnull instancetype)init:(RLMResults * _Nonnull)rlmResults OBJC_DESIGNATED_INITIALIZER;
+- (NSInteger)countByEnumeratingWithState:(NSFastEnumerationState * _Null_unspecified)state objects:(id _Nullable * _Null_unspecified)buffer count:(NSInteger)len;
+@end
+
+#pragma clang diagnostic pop

BIN
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc


BIN
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule


+ 3 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Modules/module.modulemap

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

BIN
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/RealmSwift


+ 46 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/A/Resources/Info.plist

@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>BuildMachineOSBuild</key>
+	<string>15E65</string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>RealmSwift</string>
+	<key>CFBundleIdentifier</key>
+	<string>io.realm.RealmSwit</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>RealmSwift</string>
+	<key>CFBundlePackageType</key>
+	<string>FMWK</string>
+	<key>CFBundleShortVersionString</key>
+	<string>0.98.6</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleSupportedPlatforms</key>
+	<array>
+		<string>MacOSX</string>
+	</array>
+	<key>CFBundleVersion</key>
+	<string>0.98.6</string>
+	<key>DTCompiler</key>
+	<string>com.apple.compilers.llvm.clang.1_0</string>
+	<key>DTPlatformBuild</key>
+	<string>7D175</string>
+	<key>DTPlatformVersion</key>
+	<string>GM</string>
+	<key>DTSDKBuild</key>
+	<string>15E60</string>
+	<key>DTSDKName</key>
+	<string>macosx10.11</string>
+	<key>DTXcode</key>
+	<string>0730</string>
+	<key>DTXcodeBuild</key>
+	<string>7D175</string>
+	<key>NSHumanReadableCopyright</key>
+	<string>Copyright © 2014 Realm. All rights reserved.</string>
+</dict>
+</plist>

+ 1 - 0
ChartsRealm/ThirdParty/Realm/osx/RealmSwift.framework/Versions/Current

@@ -0,0 +1 @@
+A

+ 176 - 0
ChartsRealm/ThirdParty/Realm/tvos/Realm.framework/CHANGELOG.md

@@ -1,3 +1,179 @@
+0.98.6 Release notes (2016-03-25)
+=============================================================
+
+Prebuilt frameworks are now built with Xcode 7.3.
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix running unit tests on iOS simulators and devices with Xcode 7.3.
+
+0.98.5 Release notes (2016-03-14)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Fix a crash when opening a Realm on 32-bit iOS devices.
+
+0.98.4 Release notes (2016-03-10)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* None.
+
+### Bugfixes
+
+* Properly report changes made by adding an object to a Realm with
+  addOrUpdate:/createOrUpdate: to KVO observers for existing objects with that
+  primary key.
+* Fix crashes and assorted issues when a migration which added object link
+  properties is rolled back due to an error in the migration block.
+* Fix assertion failures when deleting objects within a migration block of a
+  type which had an object link property added in that migration.
+* Fix an assertion failure in `Query::apply_patch` when updating certain kinds
+  of queries after a write transaction is committed.
+
+0.98.3 Release notes (2016-02-26)
+=============================================================
+
+### Enhancements
+
+* Initializing the shared schema is 3x faster.
+
+### Bugfixes
+
+* Using Realm Objective-C from Swift while having Realm Swift linked no longer causes that the
+  declared `ignoredProperties` are not taken into account.
+* Fix assertion failures when rolling back a migration which added Object link
+  properties to a class.
+* Fix potential errors when cancelling a write transaction which modified
+  multiple `RLMArray`/`List` properties.
+* Report the correct value for inWriteTransaction after attempting to commit a
+  write transaction fails.
+* Support CocoaPods 1.0 beginning from prerelease 1.0.0.beta.4 while retaining
+  backwards compatibility with 0.39.
+
+0.98.2 Release notes (2016-02-18)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Aggregate operations (`ANY`, `NONE`, `@count`, `SUBQUERY`, etc.) are now supported for key paths
+  that begin with an object relationship so long as there is a `RLMArray`/`List` property at some
+  point in a key path.
+* Predicates of the form `%@ IN arrayProperty` are now supported.
+
+### Bugfixes
+
+* Use of KVC collection operators on Swift collection types no longer throws an exception.
+* Fix reporting of inWriteTransaction in notifications triggered by
+  `beginWriteTransaction`.
+* The contents of `List` and `Optional` properties are now correctly preserved when copying
+  a Swift object from one Realm to another, and performing other operations that result in a
+  Swift object graph being recursively traversed from Objective-C.
+* Fix a deadlock when queries are performed within a Realm notification block.
+* The `ANY` / `SOME` / `NONE` qualifiers are now required in comparisons involving a key path that
+  traverse a `RLMArray`/`List` property. Previously they were only required if the first key in the
+  key path was an `RLMArray`/`List` property.
+* Fix several scenarios where the default schema would be initialized
+  incorrectly if the first Realm opened used a restricted class subset (via
+  `objectClasses`/`objectTypes`).
+
+0.98.1 Release notes (2016-02-10)
+=============================================================
+
+### Bugfixes
+
+* Fix crashes when deleting an object containing an `RLMArray`/`List` which had
+  previously been queried.
+* Fix a crash when deleting an object containing an `RLMArray`/`List` with
+  active notification blocks.
+* Fix duplicate file warnings when building via CocoaPods.
+* Fix crash or incorrect results when calling `indexOfObject:` on an
+  `RLMResults` derived from an `RLMArray`.
+
+0.98.0 Release notes (2016-02-04)
+=============================================================
+
+### API breaking changes
+
+* `+[RLMRealm realmWithPath:]`/`Realm.init(path:)` now inherits from the default
+  configuration.
+* Swift 1.2 is no longer supported.
+
+### Enhancements
+
+* Add `addNotificationBlock` to `RLMResults`, `Results`, `RLMArray`, and
+  `List`, which calls the given block whenever the collection changes.
+* Do a lot of the work for keeping `RLMResults`/`Results` up-to-date after
+  write transactions on a background thread to help avoid blocking the main
+  thread.
+* `NSPredicate`'s `SUBQUERY` operator is now supported. It has the following limitations:
+  * `@count` is the only operator that may be applied to the `SUBQUERY` expression.
+  * The `SUBQUERY(…).@count` expression must be compared with a constant.
+  * Correlated subqueries are not yet supported.
+
+### Bugfixes
+
+* None.
+
+0.97.1 Release notes (2016-01-29)
+=============================================================
+
+### API breaking changes
+
+* None.
+
+### Enhancements
+
+* Swift: Added `Error` enum allowing to catch errors e.g. thrown on initializing
+  `RLMRealm`/`Realm` instances.
+* Fail with `RLMErrorFileNotFound` instead of the more generic `RLMErrorFileAccess`,
+  if no file was found when a realm was opened as read-only or if the directory part
+  of the specified path was not found when a copy should be written. 
+* Greatly improve performance when deleting objects with one or more indexed
+  properties.
+* Indexing `BOOL`/`Bool` and `NSDate` properties are now supported.
+* Swift: Add support for indexing optional properties.
+
+### Bugfixes
+
+* Fix incorrect results or crashes when using `-[RLMResults setValue:forKey:]`
+  on an RLMResults which was filtered on the key being set.
+* Fix crashes when an RLMRealm is deallocated from the wrong thread.
+* Fix incorrect results from aggregate methods on `Results`/`RLMResults` after
+  objects which were previously in the results are deleted.
+* Fix a crash when adding a new property to an existing class with over a
+  million objects in the Realm.
+* Fix errors when opening encrypted Realm files created with writeCopyToPath.
+* Fix crashes or incorrect results for queries that use relationship equality
+  in cases where the `RLMResults` is kept alive and instances of the target class
+  of the relationship are deleted.
+
 0.97.0 Release notes (2015-12-17)
 0.97.0 Release notes (2015-12-17)
 =============================================================
 =============================================================
 
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 395 - 669
ChartsRealm/ThirdParty/Realm/tvos/Realm.framework/F5FCBCBD-51F1-331B-BEB2-8A5B113A0F24.bcsymbolmap


+ 26 - 1
ChartsRealm/ThirdParty/Realm/tvos/Realm.framework/Headers/RLMArray.h

@@ -23,7 +23,7 @@
 
 
 RLM_ASSUME_NONNULL_BEGIN
 RLM_ASSUME_NONNULL_BEGIN
 
 
-@class RLMObject, RLMRealm, RLMResults RLM_GENERIC_COLLECTION;
+@class RLMObject, RLMRealm, RLMResults RLM_GENERIC_COLLECTION, RLMNotificationToken;
 
 
 /**
 /**
 
 
@@ -228,6 +228,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 - (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (NSUInteger)indexOfObjectWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Gets the index of the first object matching the predicate.
  Gets the index of the first object matching the predicate.
 
 
@@ -246,6 +249,9 @@ RLM_ASSUME_NONNULL_BEGIN
  */
  */
 - (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
 - (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat, ...;
 
 
+/// :nodoc:
+- (RLMResults RLM_GENERIC_RETURN*)objectsWhere:(NSString *)predicateFormat args:(va_list)args;
+
 /**
 /**
  Get objects matching the given predicate in the RLMArray.
  Get objects matching the given predicate in the RLMArray.
 
 
@@ -280,6 +286,25 @@ RLM_ASSUME_NONNULL_BEGIN
 /// :nodoc:
 /// :nodoc:
 - (void)setObject:(RLMObjectType)newValue atIndexedSubscript:(NSUInteger)index;
 - (void)setObject:(RLMObjectType)newValue atIndexedSubscript:(NSUInteger)index;
 
 
+#pragma mark - Notifications
+
+/**
+ Register a block to be called each time the RLMArray changes.
+
+ The block will be asynchronously called with the initial array, and then
+ called again after each write transaction which changes the array or any
+ items contained in the array. You must retain the returned token for as long as
+ you want the block to continue to be called. To stop receiving updates, call
+ `-stop` on the token.
+
+ The error parameter will always be `nil`, and is present only for compatiblity
+ with the RLMResults version of this method, which can potentially fail.
+
+ @param block The block to be called each time the array changes.
+ @return A token which must be held for as long as you want notifications to be delivered.
+ */
+- (RLMNotificationToken *)addNotificationBlock:(void (^)(RLMArray RLM_GENERIC_RETURN *array, NSError *))block RLM_WARN_UNUSED_RESULT;
+
 #pragma mark - Unavailable Methods
 #pragma mark - Unavailable Methods
 
 
 /**
 /**

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است