├── Podfile
├── Podfile.lock
├── Pods
├── Manifest.lock
├── Pods.xcodeproj
│ ├── project.pbxproj
│ └── xcuserdata
│ │ └── sakaifumiya.xcuserdatad
│ │ └── xcschemes
│ │ ├── Pods-WebViewGraphOfSwift.xcscheme
│ │ ├── Realm.xcscheme
│ │ ├── RealmSwift.xcscheme
│ │ └── xcschememanagement.plist
├── Realm
│ ├── LICENSE
│ ├── README.md
│ ├── Realm
│ │ ├── NSError+RLMSync.m
│ │ ├── ObjectStore
│ │ │ └── src
│ │ │ │ ├── binding_callback_thread_observer.cpp
│ │ │ │ ├── collection_notifications.cpp
│ │ │ │ ├── impl
│ │ │ │ ├── apple
│ │ │ │ │ ├── external_commit_helper.cpp
│ │ │ │ │ └── keychain_helper.cpp
│ │ │ │ ├── collection_change_builder.cpp
│ │ │ │ ├── collection_notifier.cpp
│ │ │ │ ├── list_notifier.cpp
│ │ │ │ ├── object_notifier.cpp
│ │ │ │ ├── realm_coordinator.cpp
│ │ │ │ ├── results_notifier.cpp
│ │ │ │ ├── transact_log_handler.cpp
│ │ │ │ └── weak_realm_notifier.cpp
│ │ │ │ ├── index_set.cpp
│ │ │ │ ├── list.cpp
│ │ │ │ ├── object.cpp
│ │ │ │ ├── object_schema.cpp
│ │ │ │ ├── object_store.cpp
│ │ │ │ ├── placeholder.cpp
│ │ │ │ ├── results.cpp
│ │ │ │ ├── schema.cpp
│ │ │ │ ├── shared_realm.cpp
│ │ │ │ ├── sync
│ │ │ │ ├── impl
│ │ │ │ │ ├── apple
│ │ │ │ │ │ ├── network_reachability_observer.cpp
│ │ │ │ │ │ └── system_configuration.cpp
│ │ │ │ │ ├── sync_file.cpp
│ │ │ │ │ └── sync_metadata.cpp
│ │ │ │ ├── sync_manager.cpp
│ │ │ │ ├── sync_permission.cpp
│ │ │ │ ├── sync_session.cpp
│ │ │ │ └── sync_user.cpp
│ │ │ │ ├── thread_safe_reference.cpp
│ │ │ │ └── util
│ │ │ │ ├── format.cpp
│ │ │ │ └── uuid.cpp
│ │ ├── RLMAccessor.mm
│ │ ├── RLMAnalytics.mm
│ │ ├── RLMArray.mm
│ │ ├── RLMClassInfo.mm
│ │ ├── RLMCollection.mm
│ │ ├── RLMConstants.m
│ │ ├── RLMJSONModels.m
│ │ ├── RLMListBase.mm
│ │ ├── RLMManagedArray.mm
│ │ ├── RLMMigration.mm
│ │ ├── RLMNetworkClient.mm
│ │ ├── RLMObject.mm
│ │ ├── RLMObjectBase.mm
│ │ ├── RLMObjectSchema.mm
│ │ ├── RLMObjectStore.mm
│ │ ├── RLMObservation.mm
│ │ ├── RLMOptionalBase.mm
│ │ ├── RLMPredicateUtil.mm
│ │ ├── RLMProperty.mm
│ │ ├── RLMQueryUtil.mm
│ │ ├── RLMRealm.mm
│ │ ├── RLMRealmConfiguration+Sync.mm
│ │ ├── RLMRealmConfiguration.mm
│ │ ├── RLMRealmUtil.mm
│ │ ├── RLMResults.mm
│ │ ├── RLMSchema.mm
│ │ ├── RLMSwiftSupport.m
│ │ ├── RLMSyncConfiguration.mm
│ │ ├── RLMSyncCredentials.m
│ │ ├── RLMSyncManager.mm
│ │ ├── RLMSyncPermission.m
│ │ ├── RLMSyncPermissionChange.m
│ │ ├── RLMSyncPermissionOffer.m
│ │ ├── RLMSyncPermissionOfferResponse.m
│ │ ├── RLMSyncPermissionResults.mm
│ │ ├── RLMSyncPermissionValue.mm
│ │ ├── RLMSyncSession.mm
│ │ ├── RLMSyncSessionRefreshHandle.mm
│ │ ├── RLMSyncUser.mm
│ │ ├── RLMSyncUtil.mm
│ │ ├── RLMThreadSafeReference.mm
│ │ ├── RLMUpdateChecker.mm
│ │ ├── RLMUtil.mm
│ │ └── Realm.modulemap
│ ├── build.sh
│ ├── core
│ │ └── librealmcore-ios.a
│ └── include
│ │ ├── NSError+RLMSync.h
│ │ ├── RLMAccessor.h
│ │ ├── RLMAccessor.hpp
│ │ ├── RLMAnalytics.hpp
│ │ ├── RLMArray.h
│ │ ├── RLMArray_Private.h
│ │ ├── RLMArray_Private.hpp
│ │ ├── RLMClassInfo.hpp
│ │ ├── RLMCollection.h
│ │ ├── RLMCollection_Private.h
│ │ ├── RLMCollection_Private.hpp
│ │ ├── RLMConstants.h
│ │ ├── RLMJSONModels.h
│ │ ├── RLMListBase.h
│ │ ├── RLMMigration.h
│ │ ├── RLMMigration_Private.h
│ │ ├── RLMNetworkClient.h
│ │ ├── RLMObject.h
│ │ ├── RLMObjectBase.h
│ │ ├── RLMObjectBase_Dynamic.h
│ │ ├── RLMObjectBase_Private.h
│ │ ├── RLMObjectSchema.h
│ │ ├── RLMObjectSchema_Private.h
│ │ ├── RLMObjectSchema_Private.hpp
│ │ ├── RLMObjectStore.h
│ │ ├── RLMObject_Private.h
│ │ ├── RLMObject_Private.hpp
│ │ ├── RLMObservation.hpp
│ │ ├── RLMOptionalBase.h
│ │ ├── RLMPlatform.h
│ │ ├── RLMPredicateUtil.hpp
│ │ ├── RLMPrefix.h
│ │ ├── RLMProperty.h
│ │ ├── RLMProperty_Private.h
│ │ ├── RLMProperty_Private.hpp
│ │ ├── RLMQueryUtil.hpp
│ │ ├── RLMRealm.h
│ │ ├── RLMRealmConfiguration+Sync.h
│ │ ├── RLMRealmConfiguration.h
│ │ ├── RLMRealmConfiguration_Private.h
│ │ ├── RLMRealmConfiguration_Private.hpp
│ │ ├── RLMRealmUtil.hpp
│ │ ├── RLMRealm_Dynamic.h
│ │ ├── RLMRealm_Private.h
│ │ ├── RLMRealm_Private.hpp
│ │ ├── RLMResults.h
│ │ ├── RLMResults_Private.h
│ │ ├── RLMSchema.h
│ │ ├── RLMSchema_Private.h
│ │ ├── RLMSchema_Private.hpp
│ │ ├── RLMSwiftBridgingHeader.h
│ │ ├── RLMSwiftSupport.h
│ │ ├── RLMSyncConfiguration.h
│ │ ├── RLMSyncConfiguration_Private.h
│ │ ├── RLMSyncConfiguration_Private.hpp
│ │ ├── RLMSyncCredentials.h
│ │ ├── RLMSyncManager.h
│ │ ├── RLMSyncManager_Private.h
│ │ ├── RLMSyncPermission.h
│ │ ├── RLMSyncPermissionChange.h
│ │ ├── RLMSyncPermissionChange_Private.h
│ │ ├── RLMSyncPermissionOffer.h
│ │ ├── RLMSyncPermissionOfferResponse.h
│ │ ├── RLMSyncPermissionOfferResponse_Private.h
│ │ ├── RLMSyncPermissionOffer_Private.h
│ │ ├── RLMSyncPermissionResults.h
│ │ ├── RLMSyncPermissionResults_Private.hpp
│ │ ├── RLMSyncPermissionValue.h
│ │ ├── RLMSyncPermissionValue_Private.hpp
│ │ ├── RLMSyncPermission_Private.h
│ │ ├── RLMSyncSession.h
│ │ ├── RLMSyncSessionRefreshHandle.h
│ │ ├── RLMSyncSessionRefreshHandle.hpp
│ │ ├── RLMSyncSession_Private.hpp
│ │ ├── RLMSyncUser.h
│ │ ├── RLMSyncUser_Private.hpp
│ │ ├── RLMSyncUtil.h
│ │ ├── RLMSyncUtil_Private.h
│ │ ├── RLMSyncUtil_Private.hpp
│ │ ├── RLMThreadSafeReference.h
│ │ ├── RLMThreadSafeReference_Private.hpp
│ │ ├── RLMUpdateChecker.hpp
│ │ ├── RLMUtil.hpp
│ │ ├── Realm.h
│ │ ├── binding_callback_thread_observer.hpp
│ │ ├── binding_context.hpp
│ │ ├── collection_notifications.hpp
│ │ ├── core
│ │ ├── realm.hpp
│ │ └── realm
│ │ │ ├── alloc.hpp
│ │ │ ├── alloc_slab.hpp
│ │ │ ├── array.hpp
│ │ │ ├── array_basic.hpp
│ │ │ ├── array_basic_tpl.hpp
│ │ │ ├── array_binary.hpp
│ │ │ ├── array_blob.hpp
│ │ │ ├── array_blobs_big.hpp
│ │ │ ├── array_direct.hpp
│ │ │ ├── array_integer.hpp
│ │ │ ├── array_string.hpp
│ │ │ ├── array_string_long.hpp
│ │ │ ├── binary_data.hpp
│ │ │ ├── bptree.hpp
│ │ │ ├── column.hpp
│ │ │ ├── column_backlink.hpp
│ │ │ ├── column_binary.hpp
│ │ │ ├── column_fwd.hpp
│ │ │ ├── column_link.hpp
│ │ │ ├── column_linkbase.hpp
│ │ │ ├── column_linklist.hpp
│ │ │ ├── column_mixed.hpp
│ │ │ ├── column_mixed_tpl.hpp
│ │ │ ├── column_string.hpp
│ │ │ ├── column_string_enum.hpp
│ │ │ ├── column_table.hpp
│ │ │ ├── column_timestamp.hpp
│ │ │ ├── column_tpl.hpp
│ │ │ ├── column_type.hpp
│ │ │ ├── column_type_traits.hpp
│ │ │ ├── data_type.hpp
│ │ │ ├── descriptor.hpp
│ │ │ ├── descriptor_fwd.hpp
│ │ │ ├── disable_sync_to_disk.hpp
│ │ │ ├── exceptions.hpp
│ │ │ ├── group.hpp
│ │ │ ├── group_shared.hpp
│ │ │ ├── group_shared_options.hpp
│ │ │ ├── group_writer.hpp
│ │ │ ├── handover_defs.hpp
│ │ │ ├── history.hpp
│ │ │ ├── impl
│ │ │ ├── array_writer.hpp
│ │ │ ├── continuous_transactions_history.hpp
│ │ │ ├── destroy_guard.hpp
│ │ │ ├── input_stream.hpp
│ │ │ ├── instructions.hpp
│ │ │ ├── output_stream.hpp
│ │ │ ├── sequential_getter.hpp
│ │ │ ├── simulated_failure.hpp
│ │ │ ├── table_path.hpp
│ │ │ └── transact_log.hpp
│ │ │ ├── importer.hpp
│ │ │ ├── index_string.hpp
│ │ │ ├── lang_bind_helper.hpp
│ │ │ ├── link_view.hpp
│ │ │ ├── link_view_fwd.hpp
│ │ │ ├── mixed.hpp
│ │ │ ├── null.hpp
│ │ │ ├── olddatetime.hpp
│ │ │ ├── owned_data.hpp
│ │ │ ├── query.hpp
│ │ │ ├── query_conditions.hpp
│ │ │ ├── query_engine.hpp
│ │ │ ├── query_expression.hpp
│ │ │ ├── query_operators.hpp
│ │ │ ├── realm_nmmintrin.h
│ │ │ ├── replication.hpp
│ │ │ ├── row.hpp
│ │ │ ├── spec.hpp
│ │ │ ├── string_data.hpp
│ │ │ ├── sync
│ │ │ ├── changeset_cooker.hpp
│ │ │ ├── client.hpp
│ │ │ ├── crypto.hpp
│ │ │ ├── crypto_server.hpp
│ │ │ ├── feature_token.hpp
│ │ │ ├── history.hpp
│ │ │ ├── metrics.hpp
│ │ │ ├── protocol.hpp
│ │ │ ├── server.hpp
│ │ │ ├── server_configuration.hpp
│ │ │ ├── transform.hpp
│ │ │ └── version.hpp
│ │ │ ├── table.hpp
│ │ │ ├── table_ref.hpp
│ │ │ ├── table_view.hpp
│ │ │ ├── timestamp.hpp
│ │ │ ├── unicode.hpp
│ │ │ ├── util
│ │ │ ├── assert.hpp
│ │ │ ├── base64.hpp
│ │ │ ├── basic_system_errors.hpp
│ │ │ ├── bind_ptr.hpp
│ │ │ ├── buffer.hpp
│ │ │ ├── buffer_stream.hpp
│ │ │ ├── call_with_tuple.hpp
│ │ │ ├── cf_ptr.hpp
│ │ │ ├── compression.hpp
│ │ │ ├── config.h
│ │ │ ├── encrypted_file_mapping.hpp
│ │ │ ├── features.h
│ │ │ ├── file.hpp
│ │ │ ├── file_mapper.hpp
│ │ │ ├── hex_dump.hpp
│ │ │ ├── http.hpp
│ │ │ ├── inspect.hpp
│ │ │ ├── interprocess_condvar.hpp
│ │ │ ├── interprocess_mutex.hpp
│ │ │ ├── json_parser.hpp
│ │ │ ├── logger.hpp
│ │ │ ├── memory_stream.hpp
│ │ │ ├── misc_errors.hpp
│ │ │ ├── miscellaneous.hpp
│ │ │ ├── network.hpp
│ │ │ ├── network_ssl.hpp
│ │ │ ├── optional.hpp
│ │ │ ├── overload.hpp
│ │ │ ├── priority_queue.hpp
│ │ │ ├── random.hpp
│ │ │ ├── safe_int_ops.hpp
│ │ │ ├── scope_exit.hpp
│ │ │ ├── shared_ptr.hpp
│ │ │ ├── string_buffer.hpp
│ │ │ ├── terminate.hpp
│ │ │ ├── thread.hpp
│ │ │ ├── time.hpp
│ │ │ ├── to_string.hpp
│ │ │ ├── type_list.hpp
│ │ │ ├── type_traits.hpp
│ │ │ ├── uri.hpp
│ │ │ ├── utf8.hpp
│ │ │ └── websocket.hpp
│ │ │ ├── utilities.hpp
│ │ │ ├── version.hpp
│ │ │ ├── version_id.hpp
│ │ │ └── views.hpp
│ │ ├── descriptor_ordering.hpp
│ │ ├── execution_context_id.hpp
│ │ ├── feature_checks.hpp
│ │ ├── impl
│ │ ├── apple
│ │ │ ├── external_commit_helper.hpp
│ │ │ └── keychain_helper.hpp
│ │ ├── collection_change_builder.hpp
│ │ ├── collection_notifier.hpp
│ │ ├── external_commit_helper.hpp
│ │ ├── list_notifier.hpp
│ │ ├── object_accessor_impl.hpp
│ │ ├── object_notifier.hpp
│ │ ├── realm_coordinator.hpp
│ │ ├── results_notifier.hpp
│ │ ├── transact_log_handler.hpp
│ │ └── weak_realm_notifier.hpp
│ │ ├── index_set.hpp
│ │ ├── list.hpp
│ │ ├── object.hpp
│ │ ├── object_accessor.hpp
│ │ ├── object_schema.hpp
│ │ ├── object_store.hpp
│ │ ├── property.hpp
│ │ ├── results.hpp
│ │ ├── schema.hpp
│ │ ├── shared_realm.hpp
│ │ ├── sync
│ │ ├── impl
│ │ │ ├── apple
│ │ │ │ ├── network_reachability_observer.hpp
│ │ │ │ └── system_configuration.hpp
│ │ │ ├── network_reachability.hpp
│ │ │ ├── sync_client.hpp
│ │ │ ├── sync_file.hpp
│ │ │ └── sync_metadata.hpp
│ │ ├── sync_config.hpp
│ │ ├── sync_manager.hpp
│ │ ├── sync_permission.hpp
│ │ ├── sync_session.hpp
│ │ └── sync_user.hpp
│ │ ├── thread_safe_reference.hpp
│ │ └── util
│ │ ├── aligned_union.hpp
│ │ ├── any.hpp
│ │ ├── apple
│ │ └── event_loop_signal.hpp
│ │ ├── atomic_shared_ptr.hpp
│ │ ├── compiler.hpp
│ │ ├── event_loop_signal.hpp
│ │ ├── format.hpp
│ │ ├── tagged_bool.hpp
│ │ ├── time.hpp
│ │ └── uuid.hpp
├── RealmSwift
│ ├── LICENSE
│ ├── README.md
│ ├── RealmSwift
│ │ ├── Aliases.swift
│ │ ├── Error.swift
│ │ ├── LinkingObjects.swift
│ │ ├── List.swift
│ │ ├── Migration.swift
│ │ ├── Object.swift
│ │ ├── ObjectSchema.swift
│ │ ├── ObjectiveCSupport.swift
│ │ ├── Optional.swift
│ │ ├── Property.swift
│ │ ├── Realm.swift
│ │ ├── RealmCollection.swift
│ │ ├── RealmConfiguration.swift
│ │ ├── Results.swift
│ │ ├── Schema.swift
│ │ ├── SortDescriptor.swift
│ │ ├── SwiftVersion.swift
│ │ ├── Sync.swift
│ │ ├── ThreadSafeReference.swift
│ │ └── Util.swift
│ └── build.sh
└── Target Support Files
│ ├── Pods-WebViewGraphOfSwift
│ ├── Info.plist
│ ├── Pods-WebViewGraphOfSwift-acknowledgements.markdown
│ ├── Pods-WebViewGraphOfSwift-acknowledgements.plist
│ ├── Pods-WebViewGraphOfSwift-dummy.m
│ ├── Pods-WebViewGraphOfSwift-frameworks.sh
│ ├── Pods-WebViewGraphOfSwift-resources.sh
│ ├── Pods-WebViewGraphOfSwift-umbrella.h
│ ├── Pods-WebViewGraphOfSwift.debug.xcconfig
│ ├── Pods-WebViewGraphOfSwift.modulemap
│ └── Pods-WebViewGraphOfSwift.release.xcconfig
│ ├── Realm
│ ├── Info.plist
│ ├── Realm-dummy.m
│ ├── Realm-prefix.pch
│ ├── Realm.modulemap
│ └── Realm.xcconfig
│ └── RealmSwift
│ ├── Info.plist
│ ├── RealmSwift-dummy.m
│ ├── RealmSwift-prefix.pch
│ ├── RealmSwift-umbrella.h
│ ├── RealmSwift.modulemap
│ └── RealmSwift.xcconfig
├── README.md
├── WebViewGraphOfSwift.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcuserdata
│ │ └── sakaifumiya.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
└── xcuserdata
│ └── sakaifumiya.xcuserdatad
│ └── xcschemes
│ ├── WebViewGraphOfSwift.xcscheme
│ └── xcschememanagement.plist
├── WebViewGraphOfSwift.xcworkspace
├── contents.xcworkspacedata
└── xcuserdata
│ └── sakaifumiya.xcuserdatad
│ ├── UserInterfaceState.xcuserstate
│ └── xcdebugger
│ └── Breakpoints_v2.xcbkptlist
├── WebViewGraphOfSwift
├── AddController.swift
├── AppDelegate.swift
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── Calorie.swift
├── CalorieDataCell.swift
├── CalorieDataCell.xib
├── ChangeDateOrString.swift
├── Chart.js
├── GraphStatus.swift
├── Info.plist
├── TextFieldIdentifier.swift
├── ViewController.swift
├── barchart.html
├── linechart.html
└── noimage.png
├── WebViewGraphOfSwiftTests
├── Info.plist
└── WebViewGraphOfSwiftTests.swift
└── WebViewGraphOfSwiftUITests
├── Info.plist
└── WebViewGraphOfSwiftUITests.swift
/Podfile:
--------------------------------------------------------------------------------
1 | platform :ios, '9.0'
2 | swift_version = '3.0'
3 | use_frameworks!
4 | target 'WebViewGraphOfSwift' do
5 | pod 'RealmSwift'
6 |
7 | post_install do |installer|
8 | installer.pods_project.targets.each do |target|
9 | target.build_configurations.each do |config|
10 | config.build_settings['SWIFT_VERSION'] = '3.0'
11 | end
12 | end
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Realm (2.10.0):
3 | - Realm/Headers (= 2.10.0)
4 | - Realm/Headers (2.10.0)
5 | - RealmSwift (2.10.0):
6 | - Realm (= 2.10.0)
7 |
8 | DEPENDENCIES:
9 | - RealmSwift
10 |
11 | SPEC CHECKSUMS:
12 | Realm: 98b3a25643cf6b3e07d2b99fb43fe0eb9c801dec
13 | RealmSwift: 34073ad3a31232bbaf7c0db898c037940284cba2
14 |
15 | PODFILE CHECKSUM: 09bc4f92f51172ed93713e7fa8961ba7b468d3aa
16 |
17 | COCOAPODS: 1.2.1
18 |
--------------------------------------------------------------------------------
/Pods/Manifest.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Realm (2.10.0):
3 | - Realm/Headers (= 2.10.0)
4 | - Realm/Headers (2.10.0)
5 | - RealmSwift (2.10.0):
6 | - Realm (= 2.10.0)
7 |
8 | DEPENDENCIES:
9 | - RealmSwift
10 |
11 | SPEC CHECKSUMS:
12 | Realm: 98b3a25643cf6b3e07d2b99fb43fe0eb9c801dec
13 | RealmSwift: 34073ad3a31232bbaf7c0db898c037940284cba2
14 |
15 | PODFILE CHECKSUM: 09bc4f92f51172ed93713e7fa8961ba7b468d3aa
16 |
17 | COCOAPODS: 1.2.1
18 |
--------------------------------------------------------------------------------
/Pods/Pods.xcodeproj/xcuserdata/sakaifumiya.xcuserdatad/xcschemes/Realm.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
43 |
44 |
45 |
46 |
52 |
53 |
55 |
56 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/Pods/Pods.xcodeproj/xcuserdata/sakaifumiya.xcuserdatad/xcschemes/RealmSwift.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
43 |
44 |
45 |
46 |
52 |
53 |
55 |
56 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/Pods/Pods.xcodeproj/xcuserdata/sakaifumiya.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Pods-WebViewGraphOfSwift.xcscheme
8 |
9 | isShown
10 |
11 |
12 | Realm.xcscheme
13 |
14 | isShown
15 |
16 |
17 | RealmSwift.xcscheme
18 |
19 | isShown
20 |
21 |
22 |
23 | SuppressBuildableAutocreation
24 |
25 | 8B22B1103EB4709E9CF952CBE2E2440B
26 |
27 | primary
28 |
29 |
30 | D6FAFA1108A4EB9FEFD58D57980B646C
31 |
32 | primary
33 |
34 |
35 | E8E43BA64C8C44168B54B0D56BD4B294
36 |
37 | primary
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/NSError+RLMSync.m:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2017 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "NSError+RLMSync.h"
20 |
21 | #import "RLMSyncUtil.h"
22 |
23 | @implementation NSError (RLMSync)
24 |
25 | - (void(^)(void))rlmSync_clientResetBlock {
26 | if (self.domain == RLMSyncErrorDomain && self.code == RLMSyncErrorClientResetError) {
27 | return self.userInfo[kRLMSyncInitiateClientResetBlockKey];
28 | }
29 | return nil;
30 | }
31 |
32 | - (void(^)(void))rlmSync_deleteRealmBlock {
33 | if (self.domain == RLMSyncErrorDomain && self.code == RLMSyncErrorPermissionDeniedError) {
34 | return self.userInfo[kRLMSyncInitiateDeleteRealmBlockKey];
35 | }
36 | return nil;
37 | }
38 |
39 | - (NSString *)rlmSync_clientResetBackedUpRealmPath {
40 | if (self.domain == RLMSyncErrorDomain && self.code == RLMSyncErrorClientResetError) {
41 | return self.userInfo[kRLMSyncPathOfRealmBackupCopyKey];
42 | }
43 | return nil;
44 | }
45 |
46 | @end
47 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/ObjectStore/src/binding_callback_thread_observer.cpp:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2017 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #include "binding_callback_thread_observer.hpp"
20 |
21 | namespace realm {
22 | BindingCallbackThreadObserver* g_binding_callback_thread_observer = nullptr;
23 | }
24 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/ObjectStore/src/collection_notifications.cpp:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2016 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #include "collection_notifications.hpp"
20 |
21 | #include "impl/collection_notifier.hpp"
22 |
23 | using namespace realm;
24 | using namespace realm::_impl;
25 |
26 | NotificationToken::NotificationToken(std::shared_ptr<_impl::CollectionNotifier> notifier, size_t token)
27 | : m_notifier(std::move(notifier)), m_token(token)
28 | {
29 | }
30 |
31 | NotificationToken::~NotificationToken()
32 | {
33 | // m_notifier itself (and not just the pointed-to thing) needs to be accessed
34 | // atomically to ensure that there are no data races when the token is
35 | // destroyed after being modified on a different thread.
36 | // This is needed despite the token not being thread-safe in general as
37 | // users find it very surprising for obj-c objects to care about what
38 | // thread they are deallocated on.
39 | if (auto notifier = m_notifier.exchange({})) {
40 | notifier->remove_callback(m_token);
41 | }
42 | }
43 |
44 | NotificationToken::NotificationToken(NotificationToken&&) = default;
45 |
46 | NotificationToken& NotificationToken::operator=(realm::NotificationToken&& rgt)
47 | {
48 | if (this != &rgt) {
49 | if (auto notifier = m_notifier.exchange({})) {
50 | notifier->remove_callback(m_token);
51 | }
52 | m_notifier = std::move(rgt.m_notifier);
53 | m_token = rgt.m_token;
54 | }
55 | return *this;
56 | }
57 |
58 | void NotificationToken::suppress_next()
59 | {
60 | m_notifier.load()->suppress_next_notification(m_token);
61 | }
62 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/ObjectStore/src/impl/weak_realm_notifier.cpp:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2015 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #include "impl/weak_realm_notifier.hpp"
20 |
21 | #include "shared_realm.hpp"
22 | #include "util/event_loop_signal.hpp"
23 |
24 | using namespace realm;
25 | using namespace realm::_impl;
26 |
27 |
28 | WeakRealmNotifier::WeakRealmNotifier(const std::shared_ptr& realm, bool cache)
29 | : m_realm(realm)
30 | , m_execution_context(realm->config().execution_context)
31 | , m_realm_key(realm.get())
32 | , m_cache(cache)
33 | , m_signal(std::make_shared>(Callback{realm}))
34 | {
35 | }
36 |
37 | WeakRealmNotifier::~WeakRealmNotifier() = default;
38 |
39 | void WeakRealmNotifier::Callback::operator()() const
40 | {
41 | if (auto realm = weak_realm.lock()) {
42 | realm->notify();
43 | }
44 | }
45 |
46 | void WeakRealmNotifier::notify()
47 | {
48 | m_signal->notify();
49 | }
50 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/ObjectStore/src/placeholder.cpp:
--------------------------------------------------------------------------------
1 | // This file is intentionally left blank.
2 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMConstants.m:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | RLMNotification const RLMRealmRefreshRequiredNotification = @"RLMRealmRefreshRequiredNotification";
22 | RLMNotification const RLMRealmDidChangeNotification = @"RLMRealmDidChangeNotification";
23 |
24 | NSString * const RLMErrorDomain = @"io.realm";
25 |
26 | NSString * const RLMUnknownSystemErrorDomain = @"io.realm.unknown";
27 |
28 | NSString * const RLMExceptionName = @"RLMException";
29 |
30 | NSString * const RLMRealmVersionKey = @"RLMRealmVersion";
31 |
32 | NSString * const RLMRealmCoreVersionKey = @"RLMRealmCoreVersion";
33 |
34 | NSString * const RLMInvalidatedKey = @"invalidated";
35 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMListBase.mm:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2015 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMListBase.h"
20 |
21 | #import "RLMArray_Private.hpp"
22 | #import "RLMObservation.hpp"
23 |
24 | @interface RLMArray (KVO)
25 | - (NSArray *)objectsAtIndexes:(__unused NSIndexSet *)indexes;
26 | @end
27 |
28 | @implementation RLMListBase {
29 | std::unique_ptr _observationInfo;
30 | }
31 |
32 | - (instancetype)initWithArray:(RLMArray *)array {
33 | self = [super init];
34 | if (self) {
35 | __rlmArray = array;
36 | }
37 | return self;
38 | }
39 |
40 | - (id)valueForKey:(NSString *)key {
41 | return [__rlmArray valueForKey:key];
42 | }
43 |
44 | - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id __unsafe_unretained [])buffer count:(NSUInteger)len {
45 | return [__rlmArray countByEnumeratingWithState:state objects:buffer count:len];
46 | }
47 |
48 | - (NSArray *)objectsAtIndexes:(NSIndexSet *)indexes {
49 | return [__rlmArray objectsAtIndexes:indexes];
50 | }
51 |
52 | - (void)addObserver:(id)observer
53 | forKeyPath:(NSString *)keyPath
54 | options:(NSKeyValueObservingOptions)options
55 | context:(void *)context {
56 | RLMEnsureArrayObservationInfo(_observationInfo, keyPath, __rlmArray, self);
57 | [super addObserver:observer forKeyPath:keyPath options:options context:context];
58 | }
59 |
60 | @end
61 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMSwiftSupport.m:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMSwiftSupport.h"
20 |
21 | @implementation RLMSwiftSupport
22 |
23 | + (BOOL)isSwiftClassName:(NSString *)className {
24 | return [className rangeOfString:@"."].location != NSNotFound;
25 | }
26 |
27 | + (NSString *)demangleClassName:(NSString *)className {
28 | return [className substringFromIndex:[className rangeOfString:@"."].location + 1];
29 | }
30 |
31 | @end
32 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMSyncPermission.m:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2016 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMSyncPermission_Private.h"
20 |
21 | @implementation RLMSyncPermission
22 |
23 | + (NSArray *)requiredProperties {
24 | return @[@"updatedAt", @"userId", @"path"];
25 | }
26 |
27 | + (BOOL)shouldIncludeInDefaultSchema {
28 | return NO;
29 | }
30 |
31 | + (NSString *)_realmObjectName {
32 | return @"Permission";
33 | }
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMSyncPermissionChange.m:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2016 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMSyncPermissionChange_Private.h"
20 | #import "RLMSyncUtil_Private.h"
21 |
22 | @implementation RLMSyncPermissionChange
23 |
24 | + (instancetype)permissionChangeWithRealmURL:(NSString *)realmURL
25 | userID:(NSString *)userID
26 | read:(nullable NSNumber *)mayRead
27 | write:(nullable NSNumber *)mayWrite
28 | manage:(nullable NSNumber *)mayManage {
29 | RLMSyncPermissionChange *permissionChange = [RLMSyncPermissionChange new];
30 | permissionChange.realmUrl = realmURL;
31 | permissionChange.userId = userID;
32 | permissionChange.mayRead = mayRead;
33 | permissionChange.mayWrite = mayWrite;
34 | permissionChange.mayManage = mayManage;
35 | return permissionChange;
36 | }
37 |
38 | + (NSArray *)requiredProperties {
39 | return @[@"id", @"createdAt", @"updatedAt", @"realmUrl", @"userId"];
40 | }
41 |
42 | + (NSDictionary *)defaultPropertyValues {
43 | NSDate *now = [NSDate date];
44 | return @{
45 | @"id": [NSUUID UUID].UUIDString,
46 | @"createdAt": now,
47 | @"updatedAt": now,
48 | @"realmUrl": @"*",
49 | @"userId": @"*"
50 | };
51 | }
52 |
53 | + (nullable NSString *)primaryKey {
54 | return @"id";
55 | }
56 |
57 | + (BOOL)shouldIncludeInDefaultSchema {
58 | return NO;
59 | }
60 |
61 | - (RLMSyncManagementObjectStatus)status {
62 | return RLMMakeSyncManagementObjectStatus(self.statusCode);
63 | }
64 |
65 | + (NSString *)_realmObjectName {
66 | return @"PermissionChange";
67 | }
68 |
69 | @end
70 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMSyncPermissionOffer.m:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2016 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMSyncPermissionOffer_Private.h"
20 | #import "RLMSyncUtil_Private.h"
21 |
22 | @implementation RLMSyncPermissionOffer
23 |
24 | + (instancetype)permissionOfferWithRealmURL:(NSString *)realmURL
25 | expiresAt:(nullable NSDate *)expiresAt
26 | read:(BOOL)mayRead
27 | write:(BOOL)mayWrite
28 | manage:(BOOL)mayManage {
29 | RLMSyncPermissionOffer *permissionOffer = [RLMSyncPermissionOffer new];
30 | permissionOffer.realmUrl = realmURL;
31 | permissionOffer.expiresAt = expiresAt;
32 | permissionOffer.mayRead = mayRead;
33 | permissionOffer.mayWrite = mayWrite;
34 | permissionOffer.mayManage = mayManage;
35 | return permissionOffer;
36 | }
37 |
38 | + (NSArray *)requiredProperties {
39 | return @[@"id", @"createdAt", @"updatedAt", @"realmUrl"];
40 | }
41 |
42 | + (NSArray *)indexedProperties {
43 | return @[@"token"];
44 | }
45 |
46 | + (NSDictionary *)defaultPropertyValues {
47 | NSDate *now = [NSDate date];
48 | return @{
49 | @"id": [NSUUID UUID].UUIDString,
50 | @"createdAt": now,
51 | @"updatedAt": now,
52 | @"realmUrl": @""
53 | };
54 | }
55 |
56 | + (nullable NSString *)primaryKey {
57 | return @"id";
58 | }
59 |
60 | + (BOOL)shouldIncludeInDefaultSchema {
61 | return NO;
62 | }
63 |
64 | - (RLMSyncManagementObjectStatus)status {
65 | return RLMMakeSyncManagementObjectStatus(self.statusCode);
66 | }
67 |
68 | + (NSString *)_realmObjectName {
69 | return @"PermissionOffer";
70 | }
71 |
72 | @end
73 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMSyncPermissionOfferResponse.m:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2016 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMSyncPermissionOfferResponse_Private.h"
20 | #import "RLMSyncUtil_Private.h"
21 |
22 | @implementation RLMSyncPermissionOfferResponse
23 |
24 | + (instancetype)permissionOfferResponseWithToken:(NSString *)token {
25 | RLMSyncPermissionOfferResponse *permissionOfferResponse = [RLMSyncPermissionOfferResponse new];
26 | permissionOfferResponse.token = token;
27 | return permissionOfferResponse;
28 | }
29 |
30 | + (NSArray *)requiredProperties {
31 | return @[@"id", @"createdAt", @"updatedAt", @"token"];
32 | }
33 |
34 | + (NSDictionary *)defaultPropertyValues {
35 | NSDate *now = [NSDate date];
36 | return @{
37 | @"id": [NSUUID UUID].UUIDString,
38 | @"createdAt": now,
39 | @"updatedAt": now,
40 | @"token": @"",
41 | };
42 | }
43 |
44 | + (nullable NSString *)primaryKey {
45 | return @"id";
46 | }
47 |
48 | + (BOOL)shouldIncludeInDefaultSchema {
49 | return NO;
50 | }
51 |
52 | - (RLMSyncManagementObjectStatus)status {
53 | return RLMMakeSyncManagementObjectStatus(self.statusCode);
54 | }
55 |
56 | + (NSString *)_realmObjectName {
57 | return @"PermissionOfferResponse";
58 | }
59 |
60 | @end
61 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/RLMUpdateChecker.mm:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMUpdateChecker.hpp"
20 |
21 | #import "RLMRealm.h"
22 | #import "RLMUtil.hpp"
23 |
24 | #if TARGET_IPHONE_SIMULATOR && !defined(REALM_COCOA_VERSION)
25 | #import "RLMVersion.h"
26 | #endif
27 |
28 | void RLMCheckForUpdates() {
29 | #if TARGET_IPHONE_SIMULATOR
30 | if (getenv("REALM_DISABLE_UPDATE_CHECKER") || RLMIsRunningInPlayground()) {
31 | return;
32 | }
33 |
34 | auto handler = ^(NSData *data, NSURLResponse *response, NSError *error) {
35 | if (error || ((NSHTTPURLResponse *)response).statusCode != 200) {
36 | return;
37 | }
38 |
39 | NSString *latestVersion = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
40 | if (![REALM_COCOA_VERSION isEqualToString:latestVersion]) {
41 | NSLog(@"Version %@ of Realm is now available: https://github.com/realm/realm-cocoa/blob/v%@/CHANGELOG.md", latestVersion, latestVersion);
42 | }
43 | };
44 |
45 | NSString *url = [NSString stringWithFormat:@"https://static.realm.io/update/cocoa?%@", REALM_COCOA_VERSION];
46 | [[NSURLSession.sharedSession dataTaskWithURL:[NSURL URLWithString:url] completionHandler:handler] resume];
47 | #endif
48 | }
49 |
--------------------------------------------------------------------------------
/Pods/Realm/Realm/Realm.modulemap:
--------------------------------------------------------------------------------
1 | framework module Realm {
2 | umbrella header "Realm.h"
3 |
4 | export *
5 | module * { export * }
6 |
7 | explicit module Private {
8 | header "RLMAccessor.h"
9 | header "RLMArray_Private.h"
10 | header "RLMCollection_Private.h"
11 | header "RLMListBase.h"
12 | header "RLMObject_Private.h"
13 | header "RLMObjectBase_Dynamic.h"
14 | header "RLMObjectBase_Private.h"
15 | header "RLMObjectSchema_Private.h"
16 | header "RLMObjectStore.h"
17 | header "RLMOptionalBase.h"
18 | header "RLMProperty_Private.h"
19 | header "RLMRealm_Private.h"
20 | header "RLMRealmConfiguration_Private.h"
21 | header "RLMResults_Private.h"
22 | header "RLMSchema_Private.h"
23 | header "RLMSyncConfiguration_Private.h"
24 | header "RLMSyncUtil_Private.h"
25 | }
26 |
27 | explicit module Dynamic {
28 | header "RLMRealm_Dynamic.h"
29 | header "RLMObjectBase_Dynamic.h"
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Pods/Realm/core/librealmcore-ios.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fumiyasac/WebViewGraphOfSwift/6f01162622ea836ed18a4ea4f58b6d2692177006/Pods/Realm/core/librealmcore-ios.a
--------------------------------------------------------------------------------
/Pods/Realm/include/NSError+RLMSync.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2017 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | NS_ASSUME_NONNULL_BEGIN
22 |
23 | /// NSError category extension providing methods to get data out of Realm's
24 | /// "client reset" error.
25 | @interface NSError (RLMSync)
26 |
27 | /**
28 | Given a Realm Object Server client reset error, return the block that can
29 | be called to manually initiate the client reset process, or nil if the
30 | error isn't a client reset error.
31 | */
32 | - (nullable void(^)(void))rlmSync_clientResetBlock NS_REFINED_FOR_SWIFT;
33 |
34 | /**
35 | Given a Realm Object Server permission denied error, return the block that
36 | can be called to manually initiate the Realm file deletion process, or nil
37 | if the error isn't a permission denied error.
38 | */
39 | - (nullable void(^)(void))rlmSync_deleteRealmBlock NS_REFINED_FOR_SWIFT;
40 |
41 | /**
42 | Given a Realm Object Server client reset error, return the path where the
43 | backup copy of the Realm will be placed once the client reset process is
44 | complete.
45 | */
46 | - (nullable NSString *)rlmSync_clientResetBackedUpRealmPath NS_SWIFT_UNAVAILABLE("");
47 |
48 | @end
49 |
50 | NS_ASSUME_NONNULL_END
51 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMAccessor.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | @class RLMObjectSchema, RLMProperty, RLMObjectBase;
22 |
23 | NS_ASSUME_NONNULL_BEGIN
24 |
25 | //
26 | // Accessors Class Creation/Caching
27 | //
28 |
29 | // get accessor classes for an object class - generates classes if not cached
30 | Class RLMManagedAccessorClassForObjectClass(Class objectClass, RLMObjectSchema *schema, const char *name);
31 | Class RLMUnmanagedAccessorClassForObjectClass(Class objectClass, RLMObjectSchema *schema);
32 |
33 | //
34 | // Dynamic getters/setters
35 | //
36 | FOUNDATION_EXTERN void RLMDynamicValidatedSet(RLMObjectBase *obj, NSString *propName, id __nullable val);
37 | FOUNDATION_EXTERN id __nullable RLMDynamicGet(RLMObjectBase *obj, RLMProperty *prop);
38 | FOUNDATION_EXTERN id __nullable RLMDynamicGetByName(RLMObjectBase *obj, NSString *propName, bool asList);
39 |
40 | // by property/column
41 | void RLMDynamicSet(RLMObjectBase *obj, RLMProperty *prop, id val);
42 |
43 | //
44 | // Class modification
45 | //
46 |
47 | // Replace className method for the given class
48 | void RLMReplaceClassNameMethod(Class accessorClass, NSString *className);
49 |
50 | // Replace sharedSchema method for the given class
51 | void RLMReplaceSharedSchemaMethod(Class accessorClass, RLMObjectSchema * __nullable schema);
52 |
53 | NS_ASSUME_NONNULL_END
54 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMArray_Private.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | NS_ASSUME_NONNULL_BEGIN
22 |
23 | @interface RLMArray ()
24 | - (instancetype)initWithObjectClassName:(NSString *)objectClassName;
25 | - (NSString *)descriptionWithMaxDepth:(NSUInteger)depth;
26 | @end
27 |
28 | NS_ASSUME_NONNULL_END
29 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMCollection_Private.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2016 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | #import
22 |
23 | @protocol RLMFastEnumerable;
24 |
25 | NSArray *RLMCollectionValueForKey(id collection, NSString *key);
26 | void RLMCollectionSetValueForKey(id collection, NSString *key, id value);
27 | FOUNDATION_EXTERN NSString *RLMDescriptionWithMaxDepth(NSString *name, id collection, NSUInteger depth);
28 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMListBase.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | @class RLMArray;
22 |
23 | NS_ASSUME_NONNULL_BEGIN
24 |
25 | // A base class for Swift generic Lists to make it possible to interact with
26 | // them from obj-c
27 | @interface RLMListBase : NSObject
28 | @property (nonatomic, strong) RLMArray *_rlmArray;
29 |
30 | - (instancetype)initWithArray:(RLMArray *)array;
31 | @end
32 |
33 | NS_ASSUME_NONNULL_END
34 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMMigration_Private.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 | #import
21 | #import
22 |
23 | namespace realm {
24 | class Schema;
25 | }
26 |
27 | NS_ASSUME_NONNULL_BEGIN
28 |
29 | @interface RLMMigration ()
30 |
31 | @property (nonatomic, strong) RLMRealm *oldRealm;
32 | @property (nonatomic, strong) RLMRealm *realm;
33 |
34 | - (instancetype)initWithRealm:(RLMRealm *)realm oldRealm:(RLMRealm *)oldRealm schema:(realm::Schema &)schema;
35 |
36 | - (void)execute:(RLMMigrationBlock)block;
37 |
38 | @end
39 |
40 | NS_ASSUME_NONNULL_END
41 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMNetworkClient.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2016 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | #import "RLMSyncUtil_Private.h"
22 |
23 | NS_ASSUME_NONNULL_BEGIN
24 |
25 | /// An abstract class representing a server endpoint.
26 | @interface RLMSyncServerEndpoint : NSObject RLM_SYNC_UNINITIALIZABLE
27 | @end
28 |
29 | /// The authentication endpoint.
30 | @interface RLMSyncAuthEndpoint : RLMSyncServerEndpoint RLM_SYNC_UNINITIALIZABLE
31 | + (instancetype)endpoint;
32 | @end
33 |
34 | /// The password change endpoint.
35 | @interface RLMSyncChangePasswordEndpoint : RLMSyncServerEndpoint RLM_SYNC_UNINITIALIZABLE
36 | + (instancetype)endpoint;
37 | @end
38 |
39 | /// The get user info endpoint.
40 | @interface RLMSyncGetUserInfoEndpoint : RLMSyncServerEndpoint RLM_SYNC_UNINITIALIZABLE
41 | + (instancetype)endpoint;
42 | @end
43 |
44 | /**
45 | A simple Realm Object Server network client that wraps `NSURLSession`.
46 | */
47 | @interface RLMNetworkClient : NSObject
48 |
49 | + (void)sendRequestToEndpoint:(RLMSyncServerEndpoint *)endpoint
50 | server:(NSURL *)serverURL
51 | JSON:(NSDictionary *)jsonDictionary
52 | completion:(RLMSyncCompletionBlock)completionBlock;
53 |
54 | + (void)sendRequestToEndpoint:(RLMSyncServerEndpoint *)endpoint
55 | server:(NSURL *)serverURL
56 | JSON:(NSDictionary *)jsonDictionary
57 | timeout:(NSTimeInterval)timeout
58 | completion:(RLMSyncCompletionBlock)completionBlock;
59 |
60 | NS_ASSUME_NONNULL_END
61 |
62 | @end
63 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMObjectBase.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | NS_ASSUME_NONNULL_BEGIN
22 |
23 | @class RLMRealm;
24 | @class RLMSchema;
25 | @class RLMObjectSchema;
26 |
27 | /// :nodoc:
28 | @interface RLMObjectBase : NSObject
29 |
30 | @property (nonatomic, readonly, getter = isInvalidated) BOOL invalidated;
31 |
32 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
33 |
34 | + (NSString *)className;
35 |
36 | // Returns whether the class is included in the default set of classes managed by a Realm.
37 | + (BOOL)shouldIncludeInDefaultSchema;
38 |
39 | + (nullable NSString *)_realmObjectName;
40 |
41 | @end
42 |
43 | NS_ASSUME_NONNULL_END
44 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMObjectBase_Private.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2017 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | NS_ASSUME_NONNULL_BEGIN
22 |
23 | // RLMObjectBase private
24 | @interface RLMObjectBase ()
25 | + (void)initializeLinkedObjectSchemas;
26 | @end
27 |
28 | NS_ASSUME_NONNULL_END
29 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMObjectSchema.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 |
21 | NS_ASSUME_NONNULL_BEGIN
22 |
23 | @class RLMProperty;
24 |
25 | /**
26 | This class represents Realm model object schemas.
27 |
28 | When using Realm, `RLMObjectSchema` instances allow performing migrations and
29 | introspecting the database's schema.
30 |
31 | Object schemas map to tables in the core database.
32 | */
33 | @interface RLMObjectSchema : NSObject
34 |
35 | #pragma mark - Properties
36 |
37 | /**
38 | An array of `RLMProperty` instances representing the managed properties of a class described by the schema.
39 |
40 | @see `RLMProperty`
41 | */
42 | @property (nonatomic, readonly, copy) NSArray *properties;
43 |
44 | /**
45 | The name of the class the schema describes.
46 | */
47 | @property (nonatomic, readonly) NSString *className;
48 |
49 | /**
50 | The property which serves as the primary key for the class the schema describes, if any.
51 | */
52 | @property (nonatomic, readonly, nullable) RLMProperty *primaryKeyProperty;
53 |
54 | #pragma mark - Methods
55 |
56 | /**
57 | Retrieves an `RLMProperty` object by the property name.
58 |
59 | @param propertyName The property's name.
60 |
61 | @return An `RLMProperty` object, or `nil` if there is no property with the given name.
62 | */
63 | - (nullable RLMProperty *)objectForKeyedSubscript:(NSString *)propertyName;
64 |
65 | /**
66 | Returns whether two `RLMObjectSchema` instances are equal.
67 | */
68 | - (BOOL)isEqualToObjectSchema:(RLMObjectSchema *)objectSchema;
69 |
70 | @end
71 |
72 | NS_ASSUME_NONNULL_END
73 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMObjectSchema_Private.hpp:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMObjectSchema_Private.h"
20 |
21 | #import "object_schema.hpp"
22 |
23 | @interface RLMObjectSchema ()
24 | // create realm::ObjectSchema copy
25 | - (realm::ObjectSchema)objectStoreCopy;
26 |
27 | // initialize with realm::ObjectSchema
28 | + (instancetype)objectSchemaForObjectStoreSchema:(realm::ObjectSchema const&)objectSchema;
29 | @end
30 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMObject_Private.hpp:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2014 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import "RLMObject_Private.h"
20 |
21 | #import "RLMRealm_Private.hpp"
22 | #import "RLMUtil.hpp"
23 |
24 | #import // required by row.hpp
25 | #import
26 |
27 | class RLMObservationInfo;
28 |
29 | // RLMObject accessor and read/write realm
30 | @interface RLMObjectBase () {
31 | @public
32 | realm::Row _row;
33 | RLMObservationInfo *_observationInfo;
34 | RLMClassInfo *_info;
35 | }
36 | @end
37 |
38 | // FIXME-2.0: This should be folded into initWithRealm:schema:, but changing the
39 | // signature of that is a breaking change for Swift
40 | id RLMCreateManagedAccessor(Class cls, RLMRealm *realm, RLMClassInfo *info) NS_RETURNS_RETAINED;
41 |
42 | // throw an exception if the object is invalidated or on the wrong thread
43 | static inline void RLMVerifyAttached(__unsafe_unretained RLMObjectBase *const obj) {
44 | if (!obj->_row.is_attached()) {
45 | @throw RLMException(@"Object has been deleted or invalidated.");
46 | }
47 | [obj->_realm verifyThread];
48 | }
49 |
50 | // throw an exception if the object can't be modified for any reason
51 | static inline void RLMVerifyInWriteTransaction(__unsafe_unretained RLMObjectBase *const obj) {
52 | // first verify is attached
53 | RLMVerifyAttached(obj);
54 |
55 | if (!obj->_realm.inWriteTransaction) {
56 | @throw RLMException(@"Attempting to modify object outside of a write transaction - call beginWriteTransaction on an RLMRealm instance first.");
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMOptionalBase.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2015 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #import
20 | #import
21 |
22 | NS_ASSUME_NONNULL_BEGIN
23 |
24 | @class RLMObjectBase, RLMProperty;
25 |
26 | @interface RLMOptionalBase : NSProxy
27 |
28 | - (instancetype)init;
29 |
30 | @property (nonatomic, weak) RLMObjectBase *object;
31 |
32 | @property (nonatomic, unsafe_unretained) RLMProperty *property;
33 |
34 | @property (nonatomic, strong, nullable) id underlyingValue;
35 |
36 | @end
37 |
38 | NS_ASSUME_NONNULL_END
39 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMPlatform.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fumiyasac/WebViewGraphOfSwift/6f01162622ea836ed18a4ea4f58b6d2692177006/Pods/Realm/include/RLMPlatform.h
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMPredicateUtil.hpp:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2015 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 |
18 | #import
19 | #import
20 |
21 | using ExpressionVisitor = std::function;
22 | NSPredicate *transformPredicate(NSPredicate *, ExpressionVisitor);
23 |
--------------------------------------------------------------------------------
/Pods/Realm/include/RLMPrefix.h:
--------------------------------------------------------------------------------
1 | ////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright 2015 Realm Inc.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License");
6 | // you may not use this file except in compliance with the License.
7 | // You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing, software
12 | // distributed under the License is distributed on an "AS IS" BASIS,
13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | // See the License for the specific language governing permissions and
15 | // limitations under the License.
16 | //
17 | ////////////////////////////////////////////////////////////////////////////
18 |
19 | #ifdef __OBJC__
20 | #import
21 | #endif
22 |
23 | #ifdef __cplusplus
24 | #import
25 | #import