@triniwiz/nativescript-masonkit 1.0.0-alpha.9 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/index.android.d.ts +13 -0
- package/button/index.android.js +56 -0
- package/button/index.android.js.map +1 -0
- package/button/index.ios.d.ts +21 -0
- package/button/index.ios.js +216 -0
- package/button/index.ios.js.map +1 -0
- package/common.d.ts +78 -33
- package/common.js +1121 -251
- package/common.js.map +1 -1
- package/img/index.android.d.ts +10 -0
- package/img/index.android.js +40 -0
- package/img/index.android.js.map +1 -0
- package/img/index.ios.d.ts +13 -0
- package/img/index.ios.js +102 -0
- package/img/index.ios.js.map +1 -0
- package/index.android.d.ts +6 -34
- package/index.android.js +6 -139
- package/index.android.js.map +1 -1
- package/index.d.ts +88 -60
- package/index.ios.d.ts +6 -48
- package/index.ios.js +6 -355
- package/index.ios.js.map +1 -1
- package/package.json +5 -2
- package/platforms/android/include.gradle +5 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +794 -284
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +0 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +118 -93
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +58079 -23135
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +1234 -255
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +1234 -255
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4252 -1932
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +1588 -568
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +0 -5
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +118 -93
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +58076 -23132
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1211 -232
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1211 -232
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +58076 -23132
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1211 -232
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1211 -232
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +31 -31
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4246 -1932
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +4124 -1883
- package/scroll/index.android.d.ts +12 -0
- package/scroll/index.android.js +50 -0
- package/scroll/index.android.js.map +1 -0
- package/scroll/index.ios.d.ts +14 -0
- package/scroll/index.ios.js +120 -0
- package/scroll/index.ios.js.map +1 -0
- package/style.d.ts +110 -53
- package/style.js +1176 -110
- package/style.js.map +1 -1
- package/text/index.android.d.ts +30 -0
- package/text/index.android.js +124 -0
- package/text/index.android.js.map +1 -0
- package/text/index.ios.d.ts +38 -0
- package/text/index.ios.js +251 -0
- package/text/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +28 -0
- package/tree/index.android.js +77 -0
- package/tree/index.android.js.map +1 -0
- package/tree/index.ios.d.ts +29 -0
- package/tree/index.ios.js +76 -0
- package/tree/index.ios.js.map +1 -0
- package/utils/index.android.d.ts +187 -0
- package/utils/index.android.js +514 -0
- package/utils/index.android.js.map +1 -0
- package/utils/index.ios.d.ts +198 -0
- package/utils/index.ios.js +710 -0
- package/utils/index.ios.js.map +1 -0
- package/view/index.android.d.ts +12 -0
- package/view/index.android.js +50 -0
- package/view/index.android.js.map +1 -0
- package/view/index.ios.d.ts +16 -0
- package/view/index.ios.js +124 -0
- package/view/index.ios.js.map +1 -0
- package/web.d.ts +55 -0
- package/web.js +189 -0
- package/web.js.map +1 -0
- package/helpers.d.ts +0 -255
- package/helpers.js +0 -1318
- package/helpers.js.map +0 -1
- package/node.d.ts +0 -2
- package/node.js +0 -3
- package/node.js.map +0 -1
- package/platforms/ios/Podfile +0 -1
- package/platforms/ios/build.xcconfig +0 -5
- package/platforms/ios/prebuild.sh +0 -101
- package/platforms/new_native_src/cpp/Caches.cpp +0 -36
- package/platforms/new_native_src/cpp/Caches.h +0 -42
- package/platforms/new_native_src/cpp/Common.h +0 -34
- package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
- package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
- package/platforms/new_native_src/cpp/Helpers.h +0 -364
- package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
- package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
- package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
- package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
- package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
- package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
- package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
- package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
- package/src-native/pods/Headers/include/APIDesign.md +0 -72
- package/src-native/pods/Headers/include/DEPS +0 -10
- package/src-native/pods/Headers/include/DIR_METADATA +0 -11
- package/src-native/pods/Headers/include/OWNERS +0 -23
- package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
- package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
- package/src-native/pods/Headers/include/cppgc/README.md +0 -133
- package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
- package/src-native/pods/Headers/include/cppgc/common.h +0 -29
- package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
- package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
- package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
- package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
- package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
- package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
- package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
- package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
- package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
- package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
- package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
- package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
- package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
- package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
- package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
- package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
- package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
- package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
- package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
- package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
- package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
- package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
- package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
- package/src-native/pods/Headers/include/cppgc/member.h +0 -291
- package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
- package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
- package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
- package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
- package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
- package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
- package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
- package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
- package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
- package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
- package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
- package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
- package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
- package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
- package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
- package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
- package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
- package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
- package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
- package/src-native/pods/Headers/include/libffi.h +0 -12
- package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
- package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
- package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
- package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
- package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
- package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
- package/src-native/pods/Headers/include/v8-container.h +0 -129
- package/src-native/pods/Headers/include/v8-context.h +0 -407
- package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
- package/src-native/pods/Headers/include/v8-data.h +0 -80
- package/src-native/pods/Headers/include/v8-date.h +0 -43
- package/src-native/pods/Headers/include/v8-debug.h +0 -168
- package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
- package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
- package/src-native/pods/Headers/include/v8-exception.h +0 -217
- package/src-native/pods/Headers/include/v8-extension.h +0 -62
- package/src-native/pods/Headers/include/v8-external.h +0 -37
- package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
- package/src-native/pods/Headers/include/v8-forward.h +0 -81
- package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
- package/src-native/pods/Headers/include/v8-function.h +0 -125
- package/src-native/pods/Headers/include/v8-initialization.h +0 -315
- package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
- package/src-native/pods/Headers/include/v8-inspector.h +0 -376
- package/src-native/pods/Headers/include/v8-internal.h +0 -661
- package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
- package/src-native/pods/Headers/include/v8-json.h +0 -47
- package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
- package/src-native/pods/Headers/include/v8-locker.h +0 -149
- package/src-native/pods/Headers/include/v8-maybe.h +0 -137
- package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
- package/src-native/pods/Headers/include/v8-message.h +0 -216
- package/src-native/pods/Headers/include/v8-metrics.h +0 -255
- package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
- package/src-native/pods/Headers/include/v8-microtask.h +0 -28
- package/src-native/pods/Headers/include/v8-object.h +0 -775
- package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
- package/src-native/pods/Headers/include/v8-platform.h +0 -1092
- package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
- package/src-native/pods/Headers/include/v8-primitive.h +0 -866
- package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
- package/src-native/pods/Headers/include/v8-promise.h +0 -174
- package/src-native/pods/Headers/include/v8-proxy.h +0 -50
- package/src-native/pods/Headers/include/v8-regexp.h +0 -105
- package/src-native/pods/Headers/include/v8-script.h +0 -748
- package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
- package/src-native/pods/Headers/include/v8-statistics.h +0 -217
- package/src-native/pods/Headers/include/v8-template.h +0 -1079
- package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
- package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
- package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
- package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
- package/src-native/pods/Headers/include/v8-util.h +0 -658
- package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
- package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
- package/src-native/pods/Headers/include/v8-value.h +0 -526
- package/src-native/pods/Headers/include/v8-version-string.h +0 -38
- package/src-native/pods/Headers/include/v8-version.h +0 -20
- package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
- package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
- package/src-native/pods/Headers/include/v8-wasm.h +0 -257
- package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
- package/src-native/pods/Headers/include/v8.h +0 -88
- package/src-native/pods/Headers/include/v8config.h +0 -605
- package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
- package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
- package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
- package/src-native/pods/Headers/inspector/base64.h +0 -9
- package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
- package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
- package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
- package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
- package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
- package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
- package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
- package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
- package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
- package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
- package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
- package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
- package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
- package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
- package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
- package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
- package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
- package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
- package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
- package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
- package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
- package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
- package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
- package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
- package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
- package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
- package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
- package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
- package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
- package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
- package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
- package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
- package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
- package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
- package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
- package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
- package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
- package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
- package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
- package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
- package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
- package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
- package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
- package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
- package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
- package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
- package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
- package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
- package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
- package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
- package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
- package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
- package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
- package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
- package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
- package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
- package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
- package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
- package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
- package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
- package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
- package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
- package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
- package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
- package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
- package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
- package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
- package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
- package/src-native/pods/Headers/inspector/utils.h +0 -32
- package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
- package/src-native/pods/Headers/jsi/decorator.h +0 -762
- package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
- package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
- package/src-native/pods/Headers/jsi/jsi.h +0 -1387
- package/src-native/pods/Headers/jsi/jsilib.h +0 -59
- package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
- package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
- package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
- package/src-native/pods/Headers/runtime/Caches.h +0 -98
- package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
- package/src-native/pods/Headers/runtime/Common.h +0 -9
- package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
- package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
- package/src-native/pods/Headers/runtime/Console.h +0 -27
- package/src-native/pods/Headers/runtime/Constants.h +0 -15
- package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
- package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
- package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
- package/src-native/pods/Headers/runtime/FFICall.h +0 -105
- package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
- package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
- package/src-native/pods/Headers/runtime/Helpers.h +0 -84
- package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
- package/src-native/pods/Headers/runtime/Interop.h +0 -202
- package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
- package/src-native/pods/Headers/runtime/Metadata.h +0 -981
- package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
- package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
- package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
- package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
- package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
- package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
- package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
- package/src-native/pods/Headers/runtime/Pointer.h +0 -26
- package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
- package/src-native/pods/Headers/runtime/Reference.h +0 -38
- package/src-native/pods/Headers/runtime/Runtime.h +0 -67
- package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
- package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
- package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
- package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
- package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
- package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
- package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
- package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
- package/src-native/pods/Headers/runtime/Tasks.h +0 -19
- package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
- package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
- package/src-native/pods/Headers/runtime/Worker.h +0 -26
- package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
- package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
- package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
- package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
- package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
- package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
- package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
- package/src-native/pods/NativeScript.podspec +0 -68
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.
|
|
3
|
+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
4
4
|
#ifndef MASON_SWIFT_H
|
|
5
5
|
#define MASON_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
# if __has_include(<uchar.h>)
|
|
66
66
|
# include <uchar.h>
|
|
67
67
|
# elif !defined(__cplusplus)
|
|
68
|
+
typedef unsigned char char8_t;
|
|
68
69
|
typedef uint_least16_t char16_t;
|
|
69
70
|
typedef uint_least32_t char32_t;
|
|
70
71
|
# endif
|
|
@@ -281,8 +282,10 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
281
282
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
282
283
|
#endif
|
|
283
284
|
@import CoreFoundation;
|
|
285
|
+
@import CoreGraphics;
|
|
284
286
|
@import Foundation;
|
|
285
287
|
@import ObjectiveC;
|
|
288
|
+
@import QuartzCore;
|
|
286
289
|
@import UIKit;
|
|
287
290
|
#endif
|
|
288
291
|
|
|
@@ -305,95 +308,182 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
305
308
|
#endif
|
|
306
309
|
|
|
307
310
|
#if defined(__OBJC__)
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
311
|
+
|
|
312
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlign, "Align", open) {
|
|
313
|
+
MasonAlignAuto = 0,
|
|
314
|
+
MasonAlignLeft = 1,
|
|
315
|
+
MasonAlignRight = 2,
|
|
316
|
+
MasonAlignCenter = 3,
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignContent, "AlignContent", open) {
|
|
320
|
+
MasonAlignContentNormal = -1,
|
|
321
|
+
MasonAlignContentStart = 0,
|
|
322
|
+
MasonAlignContentEnd = 1,
|
|
323
|
+
MasonAlignContentCenter = 2,
|
|
324
|
+
MasonAlignContentStretch = 3,
|
|
325
|
+
MasonAlignContentSpaceBetween = 4,
|
|
326
|
+
MasonAlignContentSpaceAround = 5,
|
|
327
|
+
MasonAlignContentSpaceEvenly = 6,
|
|
328
|
+
MasonAlignContentFlexStart = 7,
|
|
329
|
+
MasonAlignContentFlexEnd = 8,
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignItems, "AlignItems", open) {
|
|
333
|
+
MasonAlignItemsNormal = -1,
|
|
334
|
+
MasonAlignItemsStart = 0,
|
|
335
|
+
MasonAlignItemsEnd = 1,
|
|
336
|
+
MasonAlignItemsCenter = 2,
|
|
337
|
+
MasonAlignItemsBaseline = 3,
|
|
338
|
+
MasonAlignItemsStretch = 4,
|
|
339
|
+
MasonAlignItemsFlexStart = 5,
|
|
340
|
+
MasonAlignItemsFlexEnd = 6,
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignSelf, "AlignSelf", open) {
|
|
344
|
+
MasonAlignSelfNormal = -1,
|
|
345
|
+
MasonAlignSelfStart = 0,
|
|
346
|
+
MasonAlignSelfEnd = 1,
|
|
347
|
+
MasonAlignSelfCenter = 2,
|
|
348
|
+
MasonAlignSelfBaseline = 3,
|
|
349
|
+
MasonAlignSelfStretch = 4,
|
|
350
|
+
MasonAlignSelfFlexStart = 5,
|
|
351
|
+
MasonAlignSelfFlexEnd = 6,
|
|
319
352
|
};
|
|
320
353
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
354
|
+
@class NSCoder;
|
|
355
|
+
SWIFT_CLASS("_TtC5Mason17BackgroundCALayer")
|
|
356
|
+
@interface BackgroundCALayer : CALayer
|
|
357
|
+
- (void)drawInContext:(CGContextRef _Nonnull)ctx;
|
|
358
|
+
- (void)layoutSublayers;
|
|
359
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
360
|
+
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer OBJC_DESIGNATED_INITIALIZER;
|
|
361
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
362
|
+
@end
|
|
363
|
+
|
|
364
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "BoxSizing", open) {
|
|
365
|
+
MasonBoxSizingBorderBox = 0,
|
|
366
|
+
MasonBoxSizingContentBox = 1,
|
|
330
367
|
};
|
|
331
368
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
369
|
+
@class MasonTextEngine;
|
|
370
|
+
@class MasonNode;
|
|
371
|
+
SWIFT_PROTOCOL_NAMED("TextContainer")
|
|
372
|
+
@protocol MasonTextContainer <NSObject>
|
|
373
|
+
@property (nonatomic, readonly, strong) MasonTextEngine * _Nonnull engine;
|
|
374
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
375
|
+
@end
|
|
376
|
+
|
|
377
|
+
@class MasonStyle;
|
|
378
|
+
@class UIView;
|
|
379
|
+
SWIFT_PROTOCOL("_TtP5Mason16MasonElementObjc_")
|
|
380
|
+
@protocol MasonElementObjc <NSObject>
|
|
381
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
382
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
383
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
384
|
+
@end
|
|
385
|
+
|
|
386
|
+
@class NSCMason;
|
|
387
|
+
@class NSString;
|
|
388
|
+
@class NSMutableData;
|
|
389
|
+
SWIFT_CLASS_NAMED("Button")
|
|
390
|
+
@interface MasonButton : UIControl <MasonElementObjc, MasonTextContainer>
|
|
391
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
392
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
393
|
+
@property (nonatomic, strong) MasonTextEngine * _Nonnull engine;
|
|
394
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
395
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
396
|
+
/// Text content - sets or gets the concatenated text from all text nodes
|
|
397
|
+
@property (nonatomic, copy) NSString * _Nonnull textContent;
|
|
398
|
+
- (void)requestLayout;
|
|
399
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
400
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
401
|
+
- (void)drawRect:(CGRect)rect;
|
|
402
|
+
@property (nonatomic, readonly, strong) NSMutableData * _Nonnull textValues;
|
|
403
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
404
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
405
|
+
@end
|
|
406
|
+
|
|
407
|
+
@class UITouch;
|
|
408
|
+
@class UIEvent;
|
|
409
|
+
@interface MasonButton (SWIFT_EXTENSION(Mason))
|
|
410
|
+
- (void)touchesBegan:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
411
|
+
- (void)touchesMoved:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
412
|
+
- (void)touchesEnded:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
413
|
+
- (void)touchesCancelled:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
414
|
+
@end
|
|
415
|
+
|
|
416
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonClear, "Clear", open) {
|
|
417
|
+
MasonClearNone = 0,
|
|
418
|
+
MasonClearLeft = 1,
|
|
419
|
+
MasonClearRight = 2,
|
|
420
|
+
MasonClearBoth = 3,
|
|
341
421
|
};
|
|
342
422
|
|
|
343
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
423
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDecorationLine, "DecorationLine", open) {
|
|
424
|
+
MasonDecorationLineNone = 0,
|
|
425
|
+
MasonDecorationLineUnderline = 1,
|
|
426
|
+
MasonDecorationLineOverline = 2,
|
|
427
|
+
MasonDecorationLineLineThrough = 3,
|
|
348
428
|
};
|
|
349
429
|
|
|
350
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
430
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDecorationStyle, "DecorationStyle", open) {
|
|
431
|
+
MasonDecorationStyleSolid = 0,
|
|
432
|
+
MasonDecorationStyleDouble = 1,
|
|
433
|
+
MasonDecorationStyleDotted = 2,
|
|
434
|
+
MasonDecorationStyleDashed = 3,
|
|
435
|
+
MasonDecorationStyleWavy = 4,
|
|
354
436
|
};
|
|
355
437
|
|
|
356
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
DisplayBlock = 3,
|
|
438
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDirection, "Direction", open) {
|
|
439
|
+
MasonDirectionInherit = 0,
|
|
440
|
+
MasonDirectionLTR = 1,
|
|
441
|
+
MasonDirectionRTL = 2,
|
|
361
442
|
};
|
|
362
443
|
|
|
363
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
444
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDisplay, "Display", open) {
|
|
445
|
+
MasonDisplayNone = 0,
|
|
446
|
+
MasonDisplayFlex = 1,
|
|
447
|
+
MasonDisplayGrid = 2,
|
|
448
|
+
MasonDisplayBlock = 3,
|
|
449
|
+
MasonDisplayInline = 4,
|
|
450
|
+
MasonDisplayInlineBlock = 5,
|
|
451
|
+
MasonDisplayInlineFlex = 6,
|
|
452
|
+
MasonDisplayInlineGrid = 7,
|
|
368
453
|
};
|
|
369
454
|
|
|
370
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
455
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexDirection, "FlexDirection", open) {
|
|
456
|
+
MasonFlexDirectionRow = 0,
|
|
457
|
+
MasonFlexDirectionColumn = 1,
|
|
458
|
+
MasonFlexDirectionRowReverse = 2,
|
|
459
|
+
MasonFlexDirectionColumnReverse = 3,
|
|
374
460
|
};
|
|
375
461
|
|
|
376
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
462
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexWrap, "FlexWrap", open) {
|
|
463
|
+
MasonFlexWrapNoWrap = 0,
|
|
464
|
+
MasonFlexWrapWrap = 1,
|
|
465
|
+
MasonFlexWrapWrapReverse = 2,
|
|
380
466
|
};
|
|
381
467
|
|
|
382
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
FlexGridAutoFlowWrapColumnDense = 3,
|
|
468
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFontStyle, "FontStyle", open) {
|
|
469
|
+
MasonFontStyleNormal = 0,
|
|
470
|
+
MasonFontStyleItalic = 1,
|
|
471
|
+
MasonFontStyleOblique = 2,
|
|
387
472
|
};
|
|
388
473
|
|
|
389
|
-
|
|
390
|
-
|
|
474
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
475
|
+
MasonGridAutoFlowWrapRow = 0,
|
|
476
|
+
MasonGridAutoFlowWrapColumn = 1,
|
|
477
|
+
MasonGridAutoFlowWrapRowDense = 2,
|
|
478
|
+
MasonGridAutoFlowWrapColumnDense = 3,
|
|
479
|
+
};
|
|
391
480
|
|
|
481
|
+
enum MasonGridPlacementCompatType : NSInteger;
|
|
392
482
|
SWIFT_CLASS_NAMED("GridPlacementCompat")
|
|
393
483
|
@interface GridPlacementCompat : NSObject
|
|
394
484
|
- (nonnull instancetype)initWithSpan:(int16_t)span OBJC_DESIGNATED_INITIALIZER;
|
|
395
485
|
- (nonnull instancetype)initWithLine:(int16_t)line OBJC_DESIGNATED_INITIALIZER;
|
|
396
|
-
@property (nonatomic, readonly) enum
|
|
486
|
+
@property (nonatomic, readonly) enum MasonGridPlacementCompatType type;
|
|
397
487
|
@property (nonatomic, readonly) int16_t value;
|
|
398
488
|
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
399
489
|
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
@@ -403,61 +493,80 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridPlacemen
|
|
|
403
493
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
404
494
|
@end
|
|
405
495
|
|
|
406
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
496
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridPlacementCompatType, "GridPlacementCompatType", open) {
|
|
497
|
+
MasonGridPlacementCompatTypeAuto = 0,
|
|
498
|
+
MasonGridPlacementCompatTypeLine = 1,
|
|
499
|
+
MasonGridPlacementCompatTypeSpan = 2,
|
|
410
500
|
};
|
|
411
501
|
|
|
412
|
-
|
|
413
502
|
SWIFT_CLASS_NAMED("GridTrackRepetition")
|
|
414
|
-
@interface
|
|
503
|
+
@interface MasonGridTrackRepetition : NSObject
|
|
504
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
415
505
|
@property (nonatomic, readonly) int32_t type;
|
|
416
506
|
@property (nonatomic, readonly) uint16_t value;
|
|
417
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong)
|
|
418
|
-
+ (
|
|
419
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong)
|
|
420
|
-
+ (
|
|
421
|
-
+ (
|
|
507
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFill;)
|
|
508
|
+
+ (MasonGridTrackRepetition * _Nonnull)AutoFill SWIFT_WARN_UNUSED_RESULT;
|
|
509
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFit;)
|
|
510
|
+
+ (MasonGridTrackRepetition * _Nonnull)AutoFit SWIFT_WARN_UNUSED_RESULT;
|
|
511
|
+
+ (MasonGridTrackRepetition * _Nonnull)Count:(uint16_t)value SWIFT_WARN_UNUSED_RESULT;
|
|
422
512
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
423
513
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
424
514
|
@end
|
|
425
515
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
516
|
+
enum MasonLoadingState : NSInteger;
|
|
517
|
+
@class UIImage;
|
|
518
|
+
SWIFT_CLASS_NAMED("Img")
|
|
519
|
+
@interface MasonImg : UIView <MasonElementObjc>
|
|
520
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
521
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
522
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
523
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
524
|
+
@property (nonatomic, copy) void (^ _Nullable didLayout)(void);
|
|
525
|
+
@property (nonatomic, copy) void (^ _Nullable onStateChange)(enum MasonLoadingState, NSError * _Nullable);
|
|
526
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
|
|
527
|
+
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
|
|
528
|
+
@property (nonatomic, strong) UIImage * _Nullable image;
|
|
529
|
+
- (void)requestLayout;
|
|
530
|
+
@property (nonatomic, copy) NSString * _Nullable src;
|
|
531
|
+
- (void)updateImage:(UIImage * _Nullable)image;
|
|
532
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
533
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
534
|
+
@end
|
|
438
535
|
|
|
439
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
536
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyContent, "JustifyContent", open) {
|
|
537
|
+
MasonJustifyContentNormal = -1,
|
|
538
|
+
MasonJustifyContentStart = 0,
|
|
539
|
+
MasonJustifyContentEnd = 1,
|
|
540
|
+
MasonJustifyContentCenter = 2,
|
|
541
|
+
MasonJustifyContentStretch = 3,
|
|
542
|
+
MasonJustifyContentSpaceBetween = 4,
|
|
543
|
+
MasonJustifyContentSpaceAround = 5,
|
|
544
|
+
MasonJustifyContentSpaceEvenly = 6,
|
|
545
|
+
MasonJustifyContentFlexStart = 7,
|
|
546
|
+
MasonJustifyContentFlexEnd = 8,
|
|
448
547
|
};
|
|
449
548
|
|
|
450
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
549
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyItems, "JustifyItems", open) {
|
|
550
|
+
MasonJustifyItemsNormal = -1,
|
|
551
|
+
MasonJustifyItemsStart = 0,
|
|
552
|
+
MasonJustifyItemsEnd = 1,
|
|
553
|
+
MasonJustifyItemsCenter = 2,
|
|
554
|
+
MasonJustifyItemsBaseline = 3,
|
|
555
|
+
MasonJustifyItemsStretch = 4,
|
|
556
|
+
MasonJustifyItemsFlexStart = 5,
|
|
557
|
+
MasonJustifyItemsFlexEnd = 6,
|
|
459
558
|
};
|
|
460
559
|
|
|
560
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifySelf, "JustifySelf", open) {
|
|
561
|
+
MasonJustifySelfNormal = -1,
|
|
562
|
+
MasonJustifySelfStart = 0,
|
|
563
|
+
MasonJustifySelfEnd = 1,
|
|
564
|
+
MasonJustifySelfCenter = 2,
|
|
565
|
+
MasonJustifySelfBaseline = 3,
|
|
566
|
+
MasonJustifySelfStretch = 4,
|
|
567
|
+
MasonJustifySelfFlexStart = 5,
|
|
568
|
+
MasonJustifySelfFlexEnd = 6,
|
|
569
|
+
};
|
|
461
570
|
|
|
462
571
|
SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
463
572
|
@interface LineGridPlacementCompat : NSObject
|
|
@@ -467,13 +576,33 @@ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
|
467
576
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
468
577
|
@end
|
|
469
578
|
|
|
470
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
471
|
-
|
|
472
|
-
|
|
579
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonLineHeight, "LineHeight", open) {
|
|
580
|
+
MasonLineHeightNormal = 0,
|
|
581
|
+
MasonLineHeightPre = 1,
|
|
582
|
+
MasonLineHeightPreWrap = 2,
|
|
583
|
+
MasonLineHeightPreLine = 3,
|
|
473
584
|
};
|
|
474
585
|
|
|
475
|
-
|
|
586
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonLoadingState, "LoadingState", open) {
|
|
587
|
+
MasonLoadingStateLoading = 0,
|
|
588
|
+
MasonLoadingStateLoaded = 1,
|
|
589
|
+
MasonLoadingStateError = 2,
|
|
590
|
+
};
|
|
476
591
|
|
|
592
|
+
SWIFT_PROTOCOL("_TtP5Mason18MasonCharacterData_")
|
|
593
|
+
@protocol MasonCharacterData
|
|
594
|
+
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
595
|
+
@property (nonatomic, readonly) NSInteger length;
|
|
596
|
+
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
597
|
+
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
598
|
+
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
599
|
+
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
600
|
+
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
601
|
+
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
602
|
+
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
603
|
+
@end
|
|
604
|
+
|
|
605
|
+
enum MasonDimensionCompatType : NSInteger;
|
|
477
606
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
478
607
|
@interface MasonDimensionCompat : NSObject
|
|
479
608
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -496,6 +625,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonDimensionCompatType, "MasonDimensionCom
|
|
|
496
625
|
MasonDimensionCompatTypePercent = 2,
|
|
497
626
|
};
|
|
498
627
|
|
|
628
|
+
SWIFT_CLASS_NAMED("MasonDimensionPointCompat")
|
|
629
|
+
@interface MasonDimensionPointCompat : NSObject
|
|
630
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull x;
|
|
631
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull y;
|
|
632
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
633
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
634
|
+
@end
|
|
499
635
|
|
|
500
636
|
SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
|
|
501
637
|
@interface MasonDimensionRectCompat : NSObject
|
|
@@ -503,12 +639,11 @@ SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
|
|
|
503
639
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull right;
|
|
504
640
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull top;
|
|
505
641
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull bottom;
|
|
506
|
-
- (nonnull instancetype)init:(MasonDimensionCompat * _Nonnull)left :(MasonDimensionCompat * _Nonnull)
|
|
642
|
+
- (nonnull instancetype)init:(MasonDimensionCompat * _Nonnull)left :(MasonDimensionCompat * _Nonnull)top :(MasonDimensionCompat * _Nonnull)right :(MasonDimensionCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
|
|
507
643
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
508
644
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
509
645
|
@end
|
|
510
646
|
|
|
511
|
-
|
|
512
647
|
SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
513
648
|
@interface MasonDimensionSizeCompat : NSObject
|
|
514
649
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull width;
|
|
@@ -517,6 +652,28 @@ SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
|
517
652
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
518
653
|
@end
|
|
519
654
|
|
|
655
|
+
SWIFT_CLASS_NAMED("MasonDocument")
|
|
656
|
+
@interface MasonDocument : NSObject
|
|
657
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
658
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
659
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)instance OBJC_DESIGNATED_INITIALIZER;
|
|
660
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
661
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
662
|
+
@end
|
|
663
|
+
|
|
664
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFloat, "MasonFloat", open) {
|
|
665
|
+
MasonFloatNone = 0,
|
|
666
|
+
MasonFloatLeft = 1,
|
|
667
|
+
MasonFloatRight = 2,
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
SWIFT_CLASS("_TtC5Mason15MasonImageLayer")
|
|
671
|
+
@interface MasonImageLayer : CALayer
|
|
672
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
673
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
674
|
+
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer OBJC_DESIGNATED_INITIALIZER;
|
|
675
|
+
- (void)drawInContext:(CGContextRef _Nonnull)context;
|
|
676
|
+
@end
|
|
520
677
|
|
|
521
678
|
SWIFT_CLASS_NAMED("MasonLayout")
|
|
522
679
|
@interface MasonLayout : NSObject
|
|
@@ -526,13 +683,15 @@ SWIFT_CLASS_NAMED("MasonLayout")
|
|
|
526
683
|
@property (nonatomic, readonly) float width;
|
|
527
684
|
@property (nonatomic, readonly) float height;
|
|
528
685
|
@property (nonatomic, readonly, copy) NSArray<MasonLayout *> * _Nonnull children;
|
|
686
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLayout * _Nonnull zero;)
|
|
687
|
+
+ (MasonLayout * _Nonnull)zero SWIFT_WARN_UNUSED_RESULT;
|
|
688
|
+
@property (nonatomic, readonly) BOOL hasChildren;
|
|
529
689
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
530
690
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
531
691
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
532
692
|
@end
|
|
533
693
|
|
|
534
694
|
enum MasonLengthPercentageAutoCompatType : NSInteger;
|
|
535
|
-
|
|
536
695
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoCompat")
|
|
537
696
|
@interface MasonLengthPercentageAutoCompat : NSObject
|
|
538
697
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -555,6 +714,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageAutoCompatType, "MasonL
|
|
|
555
714
|
MasonLengthPercentageAutoCompatTypePercent = 2,
|
|
556
715
|
};
|
|
557
716
|
|
|
717
|
+
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoPointCompat")
|
|
718
|
+
@interface MasonLengthPercentageAutoPointCompat : NSObject
|
|
719
|
+
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull x;
|
|
720
|
+
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull y;
|
|
721
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
722
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
723
|
+
@end
|
|
558
724
|
|
|
559
725
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
|
|
560
726
|
@interface MasonLengthPercentageAutoRectCompat : NSObject
|
|
@@ -562,12 +728,11 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
|
|
|
562
728
|
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull right;
|
|
563
729
|
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull top;
|
|
564
730
|
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull bottom;
|
|
565
|
-
- (nonnull instancetype)init:(MasonLengthPercentageAutoCompat * _Nonnull)left :(MasonLengthPercentageAutoCompat * _Nonnull)
|
|
731
|
+
- (nonnull instancetype)init:(MasonLengthPercentageAutoCompat * _Nonnull)left :(MasonLengthPercentageAutoCompat * _Nonnull)top :(MasonLengthPercentageAutoCompat * _Nonnull)right :(MasonLengthPercentageAutoCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
|
|
566
732
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
567
733
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
568
734
|
@end
|
|
569
735
|
|
|
570
|
-
|
|
571
736
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
572
737
|
@interface MasonLengthPercentageAutoSizeCompat : NSObject
|
|
573
738
|
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull width;
|
|
@@ -577,7 +742,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
|
577
742
|
@end
|
|
578
743
|
|
|
579
744
|
enum MasonLengthPercentageCompatType : NSInteger;
|
|
580
|
-
|
|
581
745
|
SWIFT_CLASS_NAMED("MasonLengthPercentageCompat")
|
|
582
746
|
@interface MasonLengthPercentageCompat : NSObject
|
|
583
747
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -597,6 +761,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageCompatType, "MasonLengt
|
|
|
597
761
|
MasonLengthPercentageCompatTypePercent = 1,
|
|
598
762
|
};
|
|
599
763
|
|
|
764
|
+
SWIFT_CLASS_NAMED("MasonLengthPercentagePointCompat")
|
|
765
|
+
@interface MasonLengthPercentagePointCompat : NSObject
|
|
766
|
+
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull x;
|
|
767
|
+
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull y;
|
|
768
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
769
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
770
|
+
@end
|
|
600
771
|
|
|
601
772
|
SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
|
|
602
773
|
@interface MasonLengthPercentageRectCompat : NSObject
|
|
@@ -609,7 +780,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
|
|
|
609
780
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
610
781
|
@end
|
|
611
782
|
|
|
612
|
-
|
|
613
783
|
SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
614
784
|
@interface MasonLengthPercentageSizeCompat : NSObject
|
|
615
785
|
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull width;
|
|
@@ -618,65 +788,115 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
|
618
788
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
619
789
|
@end
|
|
620
790
|
|
|
621
|
-
|
|
622
|
-
@class NSCMason;
|
|
623
|
-
|
|
791
|
+
enum MasonNodeType : int32_t;
|
|
624
792
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
625
793
|
@interface MasonNode : NSObject
|
|
794
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
795
|
+
@property (nonatomic, copy) void (^ _Nullable onNodeAttached)(void);
|
|
796
|
+
@property (nonatomic, copy) void (^ _Nullable onNodeDetached)(void);
|
|
626
797
|
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
627
|
-
@property (nonatomic, readonly, strong) MasonLayout *
|
|
628
|
-
@property (nonatomic)
|
|
629
|
-
|
|
630
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nullable
|
|
631
|
-
@property (nonatomic, readonly,
|
|
798
|
+
@property (nonatomic, readonly, strong) MasonLayout * _Nonnull computedLayout;
|
|
799
|
+
@property (nonatomic, readonly, strong) MasonDocument * _Nullable document;
|
|
800
|
+
- (MasonNode * _Nonnull)getRootNode SWIFT_WARN_UNUSED_RESULT;
|
|
801
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parent;
|
|
802
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parentNode;
|
|
803
|
+
@property (nonatomic, readonly) enum MasonNodeType type;
|
|
804
|
+
- (NSArray<MasonNode *> * _Nonnull)getChildren SWIFT_WARN_UNUSED_RESULT;
|
|
805
|
+
- (NSArray<MasonNode *> * _Nonnull)getLayoutChildren SWIFT_WARN_UNUSED_RESULT;
|
|
806
|
+
@property (nonatomic) BOOL inBatch;
|
|
632
807
|
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
633
|
-
- (MasonLayout * _Nonnull)layout;
|
|
634
808
|
@property (nonatomic, readonly) BOOL isDirty;
|
|
635
809
|
- (void)markDirty;
|
|
636
|
-
- (
|
|
637
|
-
|
|
638
|
-
- (
|
|
639
|
-
- (
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
- (void)computeWithMaxContent;
|
|
645
|
-
- (void)computeWithMinContent;
|
|
646
|
-
- (void)attachAndApply;
|
|
810
|
+
- (UIView * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
811
|
+
/// Helper to get default text attributes for new text nodes
|
|
812
|
+
- (NSDictionary<NSAttributedStringKey, id> * _Nonnull)getDefaultAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
813
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
814
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
815
|
+
@end
|
|
816
|
+
|
|
817
|
+
@interface MasonNode (SWIFT_EXTENSION(Mason))
|
|
647
818
|
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
648
|
-
- (void)
|
|
649
|
-
|
|
819
|
+
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
820
|
+
@end
|
|
821
|
+
|
|
822
|
+
typedef SWIFT_ENUM_NAMED(int32_t, MasonNodeType, "MasonNodeType", open) {
|
|
823
|
+
MasonNodeTypeElement = 0,
|
|
824
|
+
MasonNodeTypeText = 1,
|
|
825
|
+
MasonNodeTypeDocument = 2,
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
enum MasonOverflow : NSInteger;
|
|
829
|
+
SWIFT_CLASS_NAMED("MasonOverflowPointCompat")
|
|
830
|
+
@interface MasonOverflowPointCompat : NSObject
|
|
831
|
+
@property (nonatomic) enum MasonOverflow x;
|
|
832
|
+
@property (nonatomic) enum MasonOverflow y;
|
|
833
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
650
834
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
651
835
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
652
836
|
@end
|
|
653
837
|
|
|
654
|
-
@class
|
|
655
|
-
@class
|
|
656
|
-
enum
|
|
657
|
-
|
|
838
|
+
@class NSCFontFace;
|
|
839
|
+
@class MasonVerticalAlignValue;
|
|
840
|
+
enum MasonObjectFit : NSInteger;
|
|
841
|
+
@class UIColor;
|
|
842
|
+
enum MasonTextJustify : NSInteger;
|
|
843
|
+
@class MasonTextOverflowCompat;
|
|
844
|
+
enum MasonTextTransform : NSInteger;
|
|
845
|
+
enum MasonWhiteSpace : NSInteger;
|
|
846
|
+
enum MasonTextWrap : NSInteger;
|
|
847
|
+
enum MasonPosition : NSInteger;
|
|
658
848
|
enum MasonTextAlign : NSInteger;
|
|
659
|
-
@class MinMax;
|
|
660
|
-
@class TrackSizingFunction;
|
|
661
|
-
|
|
662
849
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
663
850
|
@interface MasonStyle : NSObject
|
|
664
|
-
@property (nonatomic, strong)
|
|
665
|
-
@property (nonatomic,
|
|
851
|
+
@property (nonatomic, readonly, strong) NSCFontFace * _Null_unspecified font;
|
|
852
|
+
@property (nonatomic, strong) NSMutableData * _Nonnull values;
|
|
853
|
+
@property (nonatomic, strong) NSMutableData * _Nonnull textValues;
|
|
666
854
|
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
667
|
-
@property (nonatomic)
|
|
668
|
-
@property (nonatomic) enum
|
|
669
|
-
@property (nonatomic) enum
|
|
670
|
-
@property (nonatomic) enum
|
|
671
|
-
@property (nonatomic)
|
|
672
|
-
|
|
673
|
-
@property (nonatomic)
|
|
674
|
-
@property (nonatomic)
|
|
675
|
-
@property (nonatomic)
|
|
676
|
-
@property (nonatomic)
|
|
677
|
-
@property (nonatomic)
|
|
678
|
-
@property (nonatomic)
|
|
679
|
-
@property (nonatomic)
|
|
855
|
+
@property (nonatomic, strong) MasonVerticalAlignValue * _Nonnull verticalAlign;
|
|
856
|
+
@property (nonatomic) enum MasonObjectFit objectFit;
|
|
857
|
+
@property (nonatomic, getter=float, setter=setFloat:) enum MasonFloat float_;
|
|
858
|
+
@property (nonatomic) enum MasonClear clear;
|
|
859
|
+
@property (nonatomic) uint32_t color;
|
|
860
|
+
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
861
|
+
@property (nonatomic, copy) NSString * _Nonnull filter;
|
|
862
|
+
@property (nonatomic, copy) NSString * _Nonnull background;
|
|
863
|
+
@property (nonatomic, copy) NSString * _Nonnull backgroundImage;
|
|
864
|
+
@property (nonatomic, copy) NSString * _Nonnull backgroundRepeat;
|
|
865
|
+
@property (nonatomic, copy) NSString * _Nonnull backgroundPosition;
|
|
866
|
+
@property (nonatomic, copy) NSString * _Nonnull backgroundSize;
|
|
867
|
+
@property (nonatomic, copy) NSString * _Nonnull backgroundClip;
|
|
868
|
+
@property (nonatomic) uint32_t backgroundColor;
|
|
869
|
+
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
870
|
+
- (void)setLineHeight:(float)value :(BOOL)isRelative;
|
|
871
|
+
@property (nonatomic) float lineHeight;
|
|
872
|
+
@property (nonatomic) float letterSpacing;
|
|
873
|
+
@property (nonatomic) uint32_t decorationColor;
|
|
874
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
875
|
+
@property (nonatomic) enum MasonDecorationLine decorationLine;
|
|
876
|
+
@property (nonatomic) int32_t fontSize;
|
|
877
|
+
- (void)setFontStyle:(enum MasonFontStyle)style :(int32_t)slant;
|
|
878
|
+
@property (nonatomic) enum MasonTextJustify textJustify;
|
|
879
|
+
@property (nonatomic) enum MasonFontStyle fontStyle;
|
|
880
|
+
@property (nonatomic, copy) NSString * _Nonnull fontFamily;
|
|
881
|
+
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
882
|
+
@property (nonatomic, strong) MasonTextOverflowCompat * _Nonnull textOverflowCompat;
|
|
883
|
+
@property (nonatomic) enum MasonTextTransform textTransform;
|
|
884
|
+
@property (nonatomic) enum MasonWhiteSpace whiteSpace;
|
|
885
|
+
@property (nonatomic) enum MasonTextWrap textWrap;
|
|
886
|
+
@property (nonatomic) enum MasonDisplay display;
|
|
887
|
+
@property (nonatomic) enum MasonPosition position;
|
|
888
|
+
@property (nonatomic) enum MasonDirection direction;
|
|
889
|
+
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
890
|
+
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
891
|
+
@property (nonatomic, strong) MasonOverflowPointCompat * _Nonnull overflowCompat;
|
|
892
|
+
@property (nonatomic) enum MasonOverflow overflowX;
|
|
893
|
+
@property (nonatomic) enum MasonOverflow overflowY;
|
|
894
|
+
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
895
|
+
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
896
|
+
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
897
|
+
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
898
|
+
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
899
|
+
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
680
900
|
@property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull insetCompat;
|
|
681
901
|
- (void)setInsetLeft:(float)value :(NSInteger)type;
|
|
682
902
|
- (void)setInsetRight:(float)value :(NSInteger)type;
|
|
@@ -695,16 +915,19 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
695
915
|
- (void)setPaddingTop:(float)value :(NSInteger)type;
|
|
696
916
|
- (void)setPaddingBottom:(float)value :(NSInteger)type;
|
|
697
917
|
- (void)setPaddingWithValueType:(float)value :(NSInteger)type;
|
|
698
|
-
@property (nonatomic,
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
- (void)
|
|
702
|
-
- (void)
|
|
703
|
-
- (void)
|
|
918
|
+
@property (nonatomic, copy) NSString * _Nonnull borderRadius;
|
|
919
|
+
@property (nonatomic, copy) NSString * _Nonnull border;
|
|
920
|
+
@property (nonatomic, strong) MasonLengthPercentageRectCompat * _Nonnull borderWidthCompat;
|
|
921
|
+
- (void)setBorderLeftWidth:(float)value :(NSInteger)type;
|
|
922
|
+
- (void)setBorderRightWidth:(float)value :(NSInteger)type;
|
|
923
|
+
- (void)setBorderTopWidth:(float)value :(NSInteger)type;
|
|
924
|
+
- (void)setBorderBottomWidth:(float)value :(NSInteger)type;
|
|
925
|
+
- (void)setBorderWidth:(float)value :(NSInteger)type;
|
|
704
926
|
@property (nonatomic) float flexGrow;
|
|
705
927
|
@property (nonatomic) float flexShrink;
|
|
706
928
|
- (void)setFlexBasis:(float)value :(NSInteger)type;
|
|
707
929
|
- (void)setScrollBarWidth:(float)value;
|
|
930
|
+
@property (nonatomic) enum MasonAlign align;
|
|
708
931
|
@property (nonatomic) enum MasonTextAlign textAlign;
|
|
709
932
|
@property (nonatomic) enum MasonBoxSizing boxSizing;
|
|
710
933
|
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
|
|
@@ -726,130 +949,169 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
726
949
|
- (void)setGapColumn:(float)value :(NSInteger)type;
|
|
727
950
|
- (void)setRowGap:(float)value :(NSInteger)type;
|
|
728
951
|
- (void)setColumnGap:(float)value :(NSInteger)type;
|
|
729
|
-
@property (nonatomic, copy)
|
|
730
|
-
@property (nonatomic, copy)
|
|
731
|
-
@property (nonatomic)
|
|
732
|
-
@property (nonatomic,
|
|
733
|
-
@property (nonatomic
|
|
734
|
-
@property (nonatomic,
|
|
735
|
-
@property (nonatomic,
|
|
736
|
-
@property (nonatomic,
|
|
737
|
-
@property (nonatomic,
|
|
738
|
-
@property (nonatomic, copy)
|
|
739
|
-
@property (nonatomic, copy)
|
|
952
|
+
@property (nonatomic, copy) NSString * _Nonnull gridArea;
|
|
953
|
+
@property (nonatomic, copy) NSString * _Nonnull gridTemplateAreas;
|
|
954
|
+
@property (nonatomic, copy) NSString * _Nonnull gridAutoRows;
|
|
955
|
+
@property (nonatomic, copy) NSString * _Nonnull gridAutoColumns;
|
|
956
|
+
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
957
|
+
@property (nonatomic, copy) NSString * _Nonnull gridColumn;
|
|
958
|
+
@property (nonatomic, copy) NSString * _Nonnull gridColumnStart;
|
|
959
|
+
@property (nonatomic, copy) NSString * _Nonnull gridColumnEnd;
|
|
960
|
+
@property (nonatomic, copy) NSString * _Nonnull gridRow;
|
|
961
|
+
@property (nonatomic, copy) NSString * _Nonnull gridRowStart;
|
|
962
|
+
@property (nonatomic, copy) NSString * _Nonnull gridRowEnd;
|
|
963
|
+
@property (nonatomic, copy) NSString * _Nonnull gridTemplateRows;
|
|
964
|
+
@property (nonatomic, copy) NSString * _Nonnull gridTemplateColumns;
|
|
740
965
|
- (void)updateNativeStyle;
|
|
741
966
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
742
967
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
743
968
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
744
969
|
@end
|
|
745
970
|
|
|
746
|
-
|
|
747
|
-
@class NSMutableAttributedString;
|
|
748
|
-
@class UIFont;
|
|
749
|
-
enum TextTransform : NSInteger;
|
|
750
|
-
@class UIColor;
|
|
751
|
-
enum TextWrap : NSInteger;
|
|
752
|
-
|
|
971
|
+
enum MasonTextType : NSInteger;
|
|
753
972
|
SWIFT_CLASS_NAMED("MasonText")
|
|
754
|
-
@interface MasonText : UIView
|
|
755
|
-
@property (nonatomic, readonly, strong) MasonText * _Nullable owner;
|
|
973
|
+
@interface MasonText : UIView <MasonElementObjc, MasonTextContainer>
|
|
756
974
|
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
757
|
-
@property (nonatomic, readonly
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
975
|
+
@property (nonatomic, readonly) enum MasonTextType type;
|
|
976
|
+
@property (nonatomic, strong) MasonTextEngine * _Nonnull engine;
|
|
977
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
|
|
978
|
+
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
|
|
979
|
+
@property (nonatomic, readonly, strong) NSMutableData * _Nonnull textValues;
|
|
761
980
|
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
762
981
|
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
763
|
-
- (
|
|
764
|
-
- (
|
|
765
|
-
- (void)
|
|
766
|
-
- (void)
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
- (
|
|
770
|
-
@property (nonatomic)
|
|
771
|
-
@property (nonatomic) CGFloat fontSize;
|
|
772
|
-
@property (nonatomic) enum FontStyle fontStyle;
|
|
773
|
-
- (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
|
|
774
|
-
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
982
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason type:(enum MasonTextType)textType OBJC_DESIGNATED_INITIALIZER;
|
|
983
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
984
|
+
- (void)setNeedsDisplay;
|
|
985
|
+
- (void)requestLayout;
|
|
986
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
987
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
988
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
989
|
+
@property (nonatomic, strong) MasonTextOverflowCompat * _Nonnull textOverflowCompat;
|
|
775
990
|
@property (nonatomic) uint32_t color;
|
|
776
|
-
@property (nonatomic) uint32_t backgroundColorValue;
|
|
777
991
|
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
992
|
+
@property (nonatomic) uint32_t backgroundColorValue;
|
|
778
993
|
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
779
|
-
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
780
994
|
@property (nonatomic) uint32_t decorationColor;
|
|
781
|
-
|
|
782
|
-
@property (nonatomic) enum
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
- (void)
|
|
786
|
-
@property (nonatomic, copy) NSString *
|
|
787
|
-
|
|
995
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
996
|
+
@property (nonatomic) enum MasonDecorationLine decorationLine;
|
|
997
|
+
@property (nonatomic) int32_t fontSize;
|
|
998
|
+
@property (nonatomic) enum MasonFontStyle fontStyle;
|
|
999
|
+
- (void)setFontStyle:(enum MasonFontStyle)style slant:(int32_t)slant;
|
|
1000
|
+
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
1001
|
+
@property (nonatomic) enum MasonTextTransform textTransform;
|
|
1002
|
+
@property (nonatomic) enum MasonWhiteSpace whiteSpace;
|
|
1003
|
+
@property (nonatomic) enum MasonTextWrap textWrap;
|
|
1004
|
+
@property (nonatomic) float lineHeight;
|
|
1005
|
+
/// Text content - sets or gets the concatenated text from all text nodes
|
|
1006
|
+
@property (nonatomic, copy) NSString * _Nonnull textContent;
|
|
788
1007
|
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
789
1008
|
@end
|
|
790
1009
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
1010
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
1011
|
+
- (void)addChild:(MasonNode * _Nonnull)child;
|
|
1012
|
+
@end
|
|
1013
|
+
|
|
1014
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
1015
|
+
/// Remove child from text container
|
|
1016
|
+
- (MasonNode * _Nullable)removeChild:(MasonNode * _Nonnull)child;
|
|
1017
|
+
@end
|
|
1018
|
+
|
|
1019
|
+
SWIFT_CLASS("_TtC5Mason14MasonTextLayer")
|
|
1020
|
+
@interface MasonTextLayer : CALayer
|
|
1021
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1022
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1023
|
+
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer OBJC_DESIGNATED_INITIALIZER;
|
|
1024
|
+
- (void)drawInContext:(CGContextRef _Nonnull)context;
|
|
1025
|
+
@end
|
|
1026
|
+
|
|
1027
|
+
SWIFT_CLASS_NAMED("MasonTextNode")
|
|
1028
|
+
@interface MasonTextNode : MasonNode <MasonCharacterData>
|
|
1029
|
+
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
1030
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc data:(NSString * _Nonnull)text attributes:(NSDictionary<NSAttributedStringKey, id> * _Nullable)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
1031
|
+
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
1032
|
+
@property (nonatomic, readonly) NSInteger length;
|
|
1033
|
+
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
1034
|
+
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
1035
|
+
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
1036
|
+
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
1037
|
+
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
1038
|
+
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
1039
|
+
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
1040
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes SWIFT_UNAVAILABLE;
|
|
1041
|
+
@end
|
|
800
1042
|
|
|
1043
|
+
@class NSAttributedString;
|
|
1044
|
+
@interface MasonTextNode (SWIFT_EXTENSION(Mason))
|
|
1045
|
+
/// Get attributed string representation of this text node
|
|
1046
|
+
- (NSAttributedString * _Nonnull)attributed SWIFT_WARN_UNUSED_RESULT;
|
|
1047
|
+
@end
|
|
1048
|
+
|
|
1049
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
1050
|
+
MasonTextTypeNone = 0,
|
|
1051
|
+
MasonTextTypeP = 1,
|
|
1052
|
+
MasonTextTypeSpan = 2,
|
|
1053
|
+
MasonTextTypeCode = 3,
|
|
1054
|
+
MasonTextTypeH1 = 4,
|
|
1055
|
+
MasonTextTypeH2 = 5,
|
|
1056
|
+
MasonTextTypeH3 = 6,
|
|
1057
|
+
MasonTextTypeH4 = 7,
|
|
1058
|
+
MasonTextTypeH5 = 8,
|
|
1059
|
+
MasonTextTypeH6 = 9,
|
|
1060
|
+
MasonTextTypeLi = 10,
|
|
1061
|
+
MasonTextTypeBlockquote = 11,
|
|
1062
|
+
MasonTextTypeB = 12,
|
|
1063
|
+
MasonTextTypePre = 13,
|
|
1064
|
+
};
|
|
801
1065
|
|
|
802
1066
|
SWIFT_CLASS_NAMED("MasonUIView")
|
|
803
|
-
@interface MasonUIView : UIView
|
|
1067
|
+
@interface MasonUIView : UIView <MasonElementObjc>
|
|
1068
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1069
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
804
1070
|
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1071
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
805
1072
|
- (void)markNodeDirty;
|
|
806
1073
|
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
807
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
808
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
809
1074
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
810
1075
|
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
811
1076
|
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
812
1077
|
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
813
|
-
@property (nonatomic, readonly) int64_t masonPtr;
|
|
814
|
-
@property (nonatomic, readonly) int64_t masonNodePtr;
|
|
815
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull masonPtrs;
|
|
816
|
-
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
817
1078
|
- (void)addView:(UIView * _Nonnull)view;
|
|
818
1079
|
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
819
|
-
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
820
1080
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
821
1081
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
822
|
-
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
823
1082
|
@property (nonatomic) BOOL inBatch;
|
|
824
|
-
@property (nonatomic)
|
|
825
|
-
@property (nonatomic) enum
|
|
826
|
-
@property (nonatomic) enum
|
|
827
|
-
@property (nonatomic) enum
|
|
828
|
-
@property (nonatomic) enum
|
|
829
|
-
@property (nonatomic) enum
|
|
830
|
-
@property (nonatomic) enum
|
|
831
|
-
@property (nonatomic) enum
|
|
832
|
-
@property (nonatomic) enum
|
|
833
|
-
@property (nonatomic) enum
|
|
834
|
-
@property (nonatomic) enum
|
|
835
|
-
@property (nonatomic) enum
|
|
836
|
-
@property (nonatomic) enum
|
|
1083
|
+
@property (nonatomic, copy) NSString * _Nonnull background;
|
|
1084
|
+
@property (nonatomic) enum MasonDisplay display;
|
|
1085
|
+
@property (nonatomic) enum MasonPosition _position;
|
|
1086
|
+
@property (nonatomic) enum MasonDirection direction;
|
|
1087
|
+
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
1088
|
+
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
1089
|
+
@property (nonatomic) enum MasonOverflow overflowX;
|
|
1090
|
+
@property (nonatomic) enum MasonOverflow overflowY;
|
|
1091
|
+
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
1092
|
+
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
1093
|
+
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
1094
|
+
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
1095
|
+
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
1096
|
+
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
837
1097
|
@property (nonatomic) float flexGrow;
|
|
838
1098
|
@property (nonatomic) float flexShrink;
|
|
839
1099
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
|
|
840
1100
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
|
|
841
1101
|
@property (nonatomic) float aspectRatio;
|
|
842
|
-
@property (nonatomic, copy)
|
|
843
|
-
@property (nonatomic, copy)
|
|
844
|
-
@property (nonatomic)
|
|
845
|
-
@property (nonatomic,
|
|
846
|
-
@property (nonatomic
|
|
847
|
-
@property (nonatomic,
|
|
848
|
-
@property (nonatomic,
|
|
849
|
-
@property (nonatomic,
|
|
850
|
-
@property (nonatomic,
|
|
851
|
-
@property (nonatomic, copy)
|
|
852
|
-
@property (nonatomic, copy)
|
|
1102
|
+
@property (nonatomic, copy) NSString * _Nonnull gridArea;
|
|
1103
|
+
@property (nonatomic, copy) NSString * _Nonnull gridTemplateAreas;
|
|
1104
|
+
@property (nonatomic, copy) NSString * _Nonnull gridAutoRows;
|
|
1105
|
+
@property (nonatomic, copy) NSString * _Nonnull gridAutoColumns;
|
|
1106
|
+
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
1107
|
+
@property (nonatomic, copy) NSString * _Nonnull gridColumn;
|
|
1108
|
+
@property (nonatomic, copy) NSString * _Nonnull gridColumnStart;
|
|
1109
|
+
@property (nonatomic, copy) NSString * _Nonnull gridColumnEnd;
|
|
1110
|
+
@property (nonatomic, copy) NSString * _Nonnull gridRow;
|
|
1111
|
+
@property (nonatomic, copy) NSString * _Nonnull gridRowStart;
|
|
1112
|
+
@property (nonatomic, copy) NSString * _Nonnull gridRowEnd;
|
|
1113
|
+
@property (nonatomic, copy) NSString * _Nonnull gridTemplateRows;
|
|
1114
|
+
@property (nonatomic, copy) NSString * _Nonnull gridTemplateColumns;
|
|
853
1115
|
- (void)setPadding:(float)left :(float)right :(float)top :(float)bottom;
|
|
854
1116
|
- (MasonLengthPercentageRectCompat * _Nonnull)getPadding SWIFT_WARN_UNUSED_RESULT;
|
|
855
1117
|
- (void)setPaddingLeft:(float)left :(NSInteger)type;
|
|
@@ -860,12 +1122,12 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
860
1122
|
- (MasonLengthPercentageCompat * _Nonnull)getPaddingRight SWIFT_WARN_UNUSED_RESULT;
|
|
861
1123
|
- (MasonLengthPercentageCompat * _Nonnull)getPaddingTop SWIFT_WARN_UNUSED_RESULT;
|
|
862
1124
|
- (MasonLengthPercentageCompat * _Nonnull)getPaddingBottom SWIFT_WARN_UNUSED_RESULT;
|
|
863
|
-
- (void)
|
|
864
|
-
- (MasonLengthPercentageRectCompat * _Nonnull)
|
|
865
|
-
- (void)
|
|
866
|
-
- (void)
|
|
867
|
-
- (void)
|
|
868
|
-
- (void)
|
|
1125
|
+
- (void)setBorderWidth:(float)left :(float)top :(float)right :(float)bottom;
|
|
1126
|
+
- (MasonLengthPercentageRectCompat * _Nonnull)getBorderWidth SWIFT_WARN_UNUSED_RESULT;
|
|
1127
|
+
- (void)setBorderLeftWidth:(float)left :(NSInteger)type;
|
|
1128
|
+
- (void)setBorderRightWidth:(float)right :(NSInteger)type;
|
|
1129
|
+
- (void)setBorderTopWidth:(float)top :(NSInteger)type;
|
|
1130
|
+
- (void)setBorderBottomWidth:(float)bottom :(NSInteger)type;
|
|
869
1131
|
- (MasonLengthPercentageCompat * _Nonnull)getBorderLeft SWIFT_WARN_UNUSED_RESULT;
|
|
870
1132
|
- (MasonLengthPercentageCompat * _Nonnull)getBorderRight SWIFT_WARN_UNUSED_RESULT;
|
|
871
1133
|
- (MasonLengthPercentageCompat * _Nonnull)getBorderBottom SWIFT_WARN_UNUSED_RESULT;
|
|
@@ -918,6 +1180,11 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
918
1180
|
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
919
1181
|
@end
|
|
920
1182
|
|
|
1183
|
+
SWIFT_CLASS_NAMED("MasonVerticalAlignValue")
|
|
1184
|
+
@interface MasonVerticalAlignValue : NSObject
|
|
1185
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1186
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1187
|
+
@end
|
|
921
1188
|
|
|
922
1189
|
SWIFT_CLASS_NAMED("MaxSizing")
|
|
923
1190
|
@interface MaxSizing : NSObject
|
|
@@ -939,14 +1206,12 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing *
|
|
|
939
1206
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
940
1207
|
@end
|
|
941
1208
|
|
|
942
|
-
|
|
943
1209
|
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
944
1210
|
@interface MeasureOutput : NSObject
|
|
945
1211
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
946
1212
|
@end
|
|
947
1213
|
|
|
948
1214
|
@class MinSizing;
|
|
949
|
-
|
|
950
1215
|
SWIFT_CLASS_NAMED("MinMax")
|
|
951
1216
|
@interface MinMax : NSObject
|
|
952
1217
|
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -964,7 +1229,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _No
|
|
|
964
1229
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
965
1230
|
@end
|
|
966
1231
|
|
|
967
|
-
|
|
968
1232
|
SWIFT_CLASS_NAMED("MinSizing")
|
|
969
1233
|
@interface MinSizing : NSObject
|
|
970
1234
|
@property (nonatomic, readonly) float value;
|
|
@@ -982,7 +1246,99 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing *
|
|
|
982
1246
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
983
1247
|
@end
|
|
984
1248
|
|
|
1249
|
+
SWIFT_CLASS_NAMED("NSCFontDescriptors")
|
|
1250
|
+
@interface NSCFontDescriptors : NSObject
|
|
1251
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1252
|
+
- (void)update:(NSString * _Nonnull)value;
|
|
1253
|
+
- (void)setFontWeight:(NSString * _Nonnull)value;
|
|
1254
|
+
- (void)setFontStyle:(NSString * _Nonnull)value;
|
|
1255
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1256
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1257
|
+
@end
|
|
985
1258
|
|
|
1259
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontDisplay, "NSCFontDisplay", open) {
|
|
1260
|
+
NSCFontDisplayAuto = 0,
|
|
1261
|
+
NSCFontDisplayBlock = 1,
|
|
1262
|
+
NSCFontDisplayFallback = 2,
|
|
1263
|
+
NSCFontDisplayOptional = 3,
|
|
1264
|
+
NSCFontDisplaySwap = 4,
|
|
1265
|
+
};
|
|
1266
|
+
|
|
1267
|
+
@class NSData;
|
|
1268
|
+
enum NSCFontFaceStatus : NSInteger;
|
|
1269
|
+
enum NSCFontWeight : NSInteger;
|
|
1270
|
+
SWIFT_CLASS_NAMED("NSCFontFace")
|
|
1271
|
+
@interface NSCFontFace : NSObject
|
|
1272
|
+
@property (nonatomic, readonly) CGFontRef _Nullable font;
|
|
1273
|
+
@property (nonatomic, readonly, strong) NSData * _Nullable fontData;
|
|
1274
|
+
- (void)updateDescriptorWithValue:(NSString * _Nonnull)value;
|
|
1275
|
+
+ (NSCFontFace * _Nullable)loadFromStyleWithStyle:(NSString * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1276
|
+
+ (void)importFromRemoteWithUrl:(NSString * _Nonnull)url load:(BOOL)load callback:(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nullable, NSString * _Nullable))callback;
|
|
1277
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1278
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family owner:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
|
|
1279
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family source:(NSString * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1280
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family data:(NSData * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1281
|
+
- (nonnull instancetype)init:(NSString * _Nonnull)family :(NSString * _Nullable)source :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1282
|
+
- (nonnull instancetype)init:(NSString * _Nonnull)family data:(NSData * _Nullable)data :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1283
|
+
@property (nonatomic) enum NSCFontFaceStatus status;
|
|
1284
|
+
@property (nonatomic) enum NSCFontDisplay display;
|
|
1285
|
+
- (void)setFontDisplayWithValue:(NSString * _Nonnull)value;
|
|
1286
|
+
@property (nonatomic, copy) NSString * _Nonnull style;
|
|
1287
|
+
- (void)setFontStyleWithValue:(NSString * _Nonnull)value angle:(NSString * _Nullable)angle;
|
|
1288
|
+
@property (nonatomic) enum NSCFontWeight weight;
|
|
1289
|
+
- (void)setFontWeightWithValue:(NSString * _Nonnull)value;
|
|
1290
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull family;
|
|
1291
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull ascentOverride;
|
|
1292
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull descentOverride;
|
|
1293
|
+
- (void)load:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
1294
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1295
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1296
|
+
@end
|
|
1297
|
+
|
|
1298
|
+
enum NSCFontFaceSetStatus : NSInteger;
|
|
1299
|
+
@class NSEnumerator;
|
|
1300
|
+
SWIFT_CLASS_NAMED("NSCFontFaceSet")
|
|
1301
|
+
@interface NSCFontFaceSet : NSObject
|
|
1302
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSCFontFaceSet * _Nonnull instance;)
|
|
1303
|
+
+ (NSCFontFaceSet * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
|
|
1304
|
+
@property (nonatomic) enum NSCFontFaceSetStatus status;
|
|
1305
|
+
@property (nonatomic, copy) void (^ _Nullable onStatus)(enum NSCFontFaceSetStatus);
|
|
1306
|
+
- (NSEnumerator * _Nonnull)iter SWIFT_WARN_UNUSED_RESULT;
|
|
1307
|
+
- (NSArray * _Nonnull)array SWIFT_WARN_UNUSED_RESULT;
|
|
1308
|
+
- (void)add:(NSCFontFace * _Nonnull)font;
|
|
1309
|
+
- (void)clear;
|
|
1310
|
+
- (void)delete:(NSCFontFace * _Nonnull)font;
|
|
1311
|
+
- (BOOL)check:(NSString * _Nonnull)font :(NSString * _Nullable)text SWIFT_WARN_UNUSED_RESULT;
|
|
1312
|
+
- (void)load:(NSString * _Nonnull)font :(NSString * _Nullable)text :(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nonnull, NSString * _Nullable))callback;
|
|
1313
|
+
@property (nonatomic, readonly) NSInteger size;
|
|
1314
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1315
|
+
@end
|
|
1316
|
+
|
|
1317
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceSetStatus, "NSCFontFaceSetStatus", open) {
|
|
1318
|
+
NSCFontFaceSetStatusLoading = 0,
|
|
1319
|
+
NSCFontFaceSetStatusLoaded = 1,
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceStatus, "NSCFontFaceStatus", open) {
|
|
1323
|
+
NSCFontFaceStatusUnloaded = 0,
|
|
1324
|
+
NSCFontFaceStatusLoading = 1,
|
|
1325
|
+
NSCFontFaceStatusLoaded = 2,
|
|
1326
|
+
NSCFontFaceStatusError = 3,
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1329
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontWeight, "NSCFontWeight", open) {
|
|
1330
|
+
NSCFontWeightThin = 0,
|
|
1331
|
+
NSCFontWeightExtraLight = 1,
|
|
1332
|
+
NSCFontWeightLight = 2,
|
|
1333
|
+
NSCFontWeightNormal = 3,
|
|
1334
|
+
NSCFontWeightMedium = 4,
|
|
1335
|
+
NSCFontWeightSemiBold = 5,
|
|
1336
|
+
NSCFontWeightBold = 6,
|
|
1337
|
+
NSCFontWeightExtraBold = 7,
|
|
1338
|
+
NSCFontWeightBlack = 8,
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
@class MasonScroll;
|
|
986
1342
|
SWIFT_CLASS_NAMED("NSCMason")
|
|
987
1343
|
@interface NSCMason : NSObject
|
|
988
1344
|
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
@@ -990,54 +1346,208 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull sh
|
|
|
990
1346
|
+ (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
991
1347
|
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
992
1348
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1349
|
+
- (void)setDeviceScale:(float)value;
|
|
993
1350
|
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
1351
|
+
- (void)configureStyleForView:(UIView * _Nonnull)view :(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
1352
|
+
- (MasonStyle * _Nonnull)styleForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT;
|
|
1353
|
+
- (MasonLayout * _Nonnull)layoutForView:(UIView * _Nonnull)view;
|
|
994
1354
|
- (void)clear;
|
|
1355
|
+
- (MasonDocument * _Nonnull)createDocument SWIFT_WARN_UNUSED_RESULT;
|
|
995
1356
|
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
996
1357
|
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
1358
|
+
- (MasonTextNode * _Nonnull)createTextNode:(NSString * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
|
|
1359
|
+
- (MasonText * _Nonnull)createTextViewWithType:(enum MasonTextType)type SWIFT_WARN_UNUSED_RESULT;
|
|
1360
|
+
- (MasonImg * _Nonnull)createImageView SWIFT_WARN_UNUSED_RESULT;
|
|
1361
|
+
- (MasonScroll * _Nonnull)createScrollView SWIFT_WARN_UNUSED_RESULT;
|
|
1362
|
+
- (MasonButton * _Nonnull)createButton SWIFT_WARN_UNUSED_RESULT;
|
|
997
1363
|
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
998
1364
|
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
999
1365
|
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
1366
|
+
- (MasonNode * _Nonnull)createImageNode SWIFT_WARN_UNUSED_RESULT;
|
|
1000
1367
|
@end
|
|
1001
1368
|
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1369
|
+
@interface NSObject (SWIFT_EXTENSION(Mason))
|
|
1370
|
+
- (void)mason_syncStyle:(NSString * _Nonnull)state :(NSString * _Nonnull)textState;
|
|
1371
|
+
- (void)mason_addView:(UIView * _Nonnull)view;
|
|
1372
|
+
- (void)mason_addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1373
|
+
- (void)mason_markNodeDirty;
|
|
1374
|
+
- (BOOL)mason_isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1375
|
+
- (void)mason_configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
1376
|
+
- (MasonLayout * _Nonnull)mason_layout;
|
|
1377
|
+
- (void)mason_compute;
|
|
1378
|
+
- (void)mason_computeWithWidth:(float)width height:(float)height;
|
|
1379
|
+
- (void)mason_computeMaxContent;
|
|
1380
|
+
- (void)mason_computeMinContent;
|
|
1381
|
+
- (void)mason_computeWithSize:(float)width :(float)height;
|
|
1382
|
+
- (void)mason_computeWithViewSize;
|
|
1383
|
+
- (void)mason_computeWithViewSizeWithLayout:(BOOL)layout;
|
|
1384
|
+
- (void)mason_computeWithMaxContent;
|
|
1385
|
+
- (void)mason_computeWithMinContent;
|
|
1386
|
+
- (void)mason_attachAndApply;
|
|
1387
|
+
- (void)mason_requestLayout;
|
|
1388
|
+
- (void)mason_invalidateLayout;
|
|
1389
|
+
- (void)mason_append:(id <MasonElementObjc> _Nonnull)element;
|
|
1390
|
+
- (void)mason_appendWithText:(NSString * _Nonnull)text;
|
|
1391
|
+
- (void)mason_appendWithNode:(MasonNode * _Nonnull)node;
|
|
1392
|
+
- (void)mason_appendWithTexts:(NSArray<NSString *> * _Nonnull)texts;
|
|
1393
|
+
- (void)mason_appendWithElements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1394
|
+
- (void)mason_appendWithNodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1395
|
+
- (void)mason_prepend:(id <MasonElementObjc> _Nonnull)element;
|
|
1396
|
+
- (void)mason_prependWithText:(NSString * _Nonnull)text;
|
|
1397
|
+
- (void)mason_prependWithNode:(MasonNode * _Nonnull)node;
|
|
1398
|
+
- (void)mason_prependWithTexts:(NSArray<NSString *> * _Nonnull)texts;
|
|
1399
|
+
- (void)mason_prependWithElements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1400
|
+
- (void)mason_prependWithNodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1401
|
+
- (void)mason_addChildAtText:(NSString * _Nonnull)text :(NSInteger)index;
|
|
1402
|
+
- (void)mason_addChildAtElement:(id <MasonElementObjc> _Nonnull)element :(NSInteger)index;
|
|
1403
|
+
- (void)mason_addChildAtNode:(MasonNode * _Nonnull)node :(NSInteger)index;
|
|
1404
|
+
- (void)mason_replaceChildAtText:(NSString * _Nonnull)text :(NSInteger)index;
|
|
1405
|
+
- (void)mason_replaceChildAtElement:(id <MasonElementObjc> _Nonnull)element :(NSInteger)index;
|
|
1406
|
+
- (void)mason_replaceChildAtNode:(MasonNode * _Nonnull)node :(NSInteger)index;
|
|
1407
|
+
@end
|
|
1408
|
+
|
|
1409
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonObjectFit, "ObjectFit", open) {
|
|
1410
|
+
MasonObjectFitContain = 0,
|
|
1411
|
+
MasonObjectFitCover = 1,
|
|
1412
|
+
MasonObjectFitFill = 2,
|
|
1413
|
+
MasonObjectFitNone = 3,
|
|
1414
|
+
MasonObjectFitScaleDown = 4,
|
|
1007
1415
|
};
|
|
1008
1416
|
|
|
1009
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1010
|
-
|
|
1011
|
-
|
|
1417
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonOverflow, "Overflow", open) {
|
|
1418
|
+
MasonOverflowVisible = 0,
|
|
1419
|
+
MasonOverflowHidden = 1,
|
|
1420
|
+
MasonOverflowScroll = 2,
|
|
1421
|
+
MasonOverflowClip = 3,
|
|
1422
|
+
MasonOverflowAuto = 4,
|
|
1012
1423
|
};
|
|
1013
1424
|
|
|
1014
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
TextTransformUppercase = 2,
|
|
1018
|
-
TextTransformLowercase = 3,
|
|
1019
|
-
TextTransformFullWidth = 4,
|
|
1020
|
-
TextTransformFullSizeKana = 5,
|
|
1021
|
-
TextTransformMathAuto = 6,
|
|
1425
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonPosition, "Position", open) {
|
|
1426
|
+
MasonPositionRelative = 0,
|
|
1427
|
+
MasonPositionAbsolute = 1,
|
|
1022
1428
|
};
|
|
1023
1429
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1430
|
+
SWIFT_CLASS_NAMED("Scroll")
|
|
1431
|
+
@interface MasonScroll : UIScrollView <MasonElementObjc, UIScrollViewDelegate>
|
|
1432
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1433
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1434
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1435
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1436
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1437
|
+
- (void)scrollViewWillBeginDragging:(UIScrollView * _Nonnull)scrollView;
|
|
1438
|
+
- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView;
|
|
1439
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
1440
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1441
|
+
- (void)setSize:(float)width :(float)height;
|
|
1442
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1443
|
+
@end
|
|
1444
|
+
|
|
1445
|
+
SWIFT_CLASS_NAMED("SwiftHelpers")
|
|
1446
|
+
@interface MasonSwiftHelpers : NSObject
|
|
1447
|
+
+ (void)markNodeDirty:(id <MasonElementObjc> _Nonnull)element;
|
|
1448
|
+
+ (BOOL)isNodeDirty:(id <MasonElementObjc> _Nonnull)element SWIFT_WARN_UNUSED_RESULT;
|
|
1449
|
+
+ (void)configure:(id <MasonElementObjc> _Nonnull)element :(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
1450
|
+
+ (MasonLayout * _Nonnull)layout:(id <MasonElementObjc> _Nonnull)element;
|
|
1451
|
+
+ (void)compute:(id <MasonElementObjc> _Nonnull)element;
|
|
1452
|
+
+ (void)compute:(id <MasonElementObjc> _Nonnull)element :(float)width :(float)height;
|
|
1453
|
+
+ (void)computeMaxContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1454
|
+
+ (void)computeMinContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1455
|
+
+ (void)computeWithSize:(id <MasonElementObjc> _Nonnull)element :(float)width :(float)height;
|
|
1456
|
+
+ (void)computeWithViewSize:(id <MasonElementObjc> _Nonnull)element;
|
|
1457
|
+
+ (void)computeWithViewSize:(id <MasonElementObjc> _Nonnull)element layout:(BOOL)layout;
|
|
1458
|
+
+ (void)computeWithMaxContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1459
|
+
+ (void)computeWithMinContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1460
|
+
+ (void)attachAndApply:(id <MasonElementObjc> _Nonnull)element;
|
|
1461
|
+
+ (void)requestLayout:(id <MasonElementObjc> _Nonnull)element;
|
|
1462
|
+
+ (void)append:(id <MasonElementObjc> _Nonnull)parent :(id <MasonElementObjc> _Nonnull)element;
|
|
1463
|
+
+ (void)append:(id <MasonElementObjc> _Nonnull)parent text:(NSString * _Nonnull)text;
|
|
1464
|
+
+ (void)append:(id <MasonElementObjc> _Nonnull)parent node:(MasonNode * _Nonnull)node;
|
|
1465
|
+
+ (void)append:(id <MasonElementObjc> _Nonnull)parent texts:(NSArray<NSString *> * _Nonnull)texts;
|
|
1466
|
+
+ (void)append:(id <MasonElementObjc> _Nonnull)parent elements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1467
|
+
+ (void)append:(id <MasonElementObjc> _Nonnull)parent nodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1468
|
+
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent :(id <MasonElementObjc> _Nonnull)element;
|
|
1469
|
+
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent string:(NSString * _Nonnull)string;
|
|
1470
|
+
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent node:(MasonNode * _Nonnull)node;
|
|
1471
|
+
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent strings:(NSArray<NSString *> * _Nonnull)strings;
|
|
1472
|
+
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent elements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1473
|
+
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent nodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1474
|
+
+ (void)addChildAt:(id <MasonElementObjc> _Nonnull)parent text:(NSString * _Nonnull)text :(NSInteger)index;
|
|
1475
|
+
+ (void)addChildAt:(id <MasonElementObjc> _Nonnull)parent element:(id <MasonElementObjc> _Nonnull)element :(NSInteger)index;
|
|
1476
|
+
+ (void)addChildAt:(id <MasonElementObjc> _Nonnull)parent node:(MasonNode * _Nonnull)node :(NSInteger)index;
|
|
1477
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1478
|
+
@end
|
|
1479
|
+
|
|
1480
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "TextAlign", open) {
|
|
1481
|
+
MasonTextAlignAuto = 0,
|
|
1482
|
+
MasonTextAlignLeft = 1,
|
|
1483
|
+
MasonTextAlignRight = 2,
|
|
1484
|
+
MasonTextAlignCenter = 3,
|
|
1485
|
+
MasonTextAlignJustify = 4,
|
|
1486
|
+
MasonTextAlignStart = 5,
|
|
1487
|
+
MasonTextAlignEnd = 6,
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1490
|
+
SWIFT_CLASS_NAMED("TextEngine")
|
|
1491
|
+
@interface MasonTextEngine : NSObject
|
|
1492
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1493
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1494
|
+
@end
|
|
1495
|
+
|
|
1496
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextJustify, "TextJustify", open) {
|
|
1497
|
+
MasonTextJustifyNone = 0,
|
|
1498
|
+
MasonTextJustifyAuto = 1,
|
|
1499
|
+
MasonTextJustifyInterWord = 2,
|
|
1500
|
+
MasonTextJustifyInterCharacter = 3,
|
|
1501
|
+
MasonTextJustifyDistribute = 4,
|
|
1028
1502
|
};
|
|
1029
1503
|
|
|
1504
|
+
SWIFT_CLASS_NAMED("TextOverflowCompat")
|
|
1505
|
+
@interface MasonTextOverflowCompat : NSObject
|
|
1506
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonTextOverflowCompat * _Nonnull Clip;)
|
|
1507
|
+
+ (MasonTextOverflowCompat * _Nonnull)Clip SWIFT_WARN_UNUSED_RESULT;
|
|
1508
|
+
+ (MasonTextOverflowCompat * _Nonnull)Ellipse:(NSString * _Nullable)value SWIFT_WARN_UNUSED_RESULT;
|
|
1509
|
+
+ (MasonTextOverflowCompat * _Nonnull)Custom:(NSString * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1510
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1511
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1512
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1513
|
+
@end
|
|
1514
|
+
|
|
1515
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextTransform, "TextTransform", open) {
|
|
1516
|
+
MasonTextTransformNone = 0,
|
|
1517
|
+
MasonTextTransformCapitalize = 1,
|
|
1518
|
+
MasonTextTransformUppercase = 2,
|
|
1519
|
+
MasonTextTransformLowercase = 3,
|
|
1520
|
+
MasonTextTransformFullWidth = 4,
|
|
1521
|
+
MasonTextTransformFullSizeKana = 5,
|
|
1522
|
+
MasonTextTransformMathAuto = 6,
|
|
1523
|
+
};
|
|
1524
|
+
|
|
1525
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextWrap, "TextWrap", open) {
|
|
1526
|
+
MasonTextWrapWrap = 0,
|
|
1527
|
+
MasonTextWrapNoWrap = 1,
|
|
1528
|
+
MasonTextWrapBalance = 2,
|
|
1529
|
+
MasonTextWrapPretty = 3,
|
|
1530
|
+
};
|
|
1030
1531
|
|
|
1031
1532
|
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
1032
1533
|
@interface TrackSizingFunction : NSObject
|
|
1033
1534
|
@property (nonatomic, readonly) BOOL isRepeating;
|
|
1034
1535
|
@property (nonatomic, readonly) id _Nullable value;
|
|
1035
1536
|
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1036
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(
|
|
1537
|
+
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(MasonGridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1538
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1037
1539
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1038
1540
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1039
1541
|
@end
|
|
1040
1542
|
|
|
1543
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonWhiteSpace, "WhiteSpace", open) {
|
|
1544
|
+
MasonWhiteSpaceNormal = 0,
|
|
1545
|
+
MasonWhiteSpacePre = 1,
|
|
1546
|
+
MasonWhiteSpacePreWrap = 2,
|
|
1547
|
+
MasonWhiteSpacePreLine = 3,
|
|
1548
|
+
MasonWhiteSpaceNoWrap = 4,
|
|
1549
|
+
MasonWhiteSpaceBreakSpaces = 5,
|
|
1550
|
+
};
|
|
1041
1551
|
|
|
1042
1552
|
#endif
|
|
1043
1553
|
#if __has_attribute(external_source_symbol)
|