@triniwiz/nativescript-masonkit 1.0.0-alpha.7 → 1.0.0-alpha.9
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/common.d.ts +53 -28
- package/common.js +355 -704
- package/common.js.map +1 -1
- package/helpers.d.ts +98 -98
- package/helpers.js +395 -2945
- package/helpers.js.map +1 -1
- package/index.android.d.ts +28 -24
- package/index.android.js +109 -82
- package/index.android.js.map +1 -1
- package/index.d.ts +56 -19
- package/index.ios.d.ts +42 -24
- package/index.ios.js +279 -121
- package/index.ios.js.map +1 -1
- package/node.d.ts +2 -0
- package/node.js +3 -0
- package/node.js.map +1 -0
- package/package.json +3 -3
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +251 -267
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +213 -843
- 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 +17822 -19248
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +404 -310
- 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 +404 -310
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +1 -1
- 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 +1937 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +502 -534
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +213 -843
- 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 +17822 -19248
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +404 -310
- 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 +404 -310
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17822 -19248
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +404 -310
- 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 +404 -310
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +33 -97
- 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 +1937 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +1888 -0
- package/platforms/ios/Podfile +1 -1
- package/platforms/ios/build.xcconfig +5 -1
- package/platforms/ios/prebuild.sh +101 -0
- package/{pods → src-native/pods}/NativeScript.podspec +1 -1
- package/style.d.ts +166 -0
- package/style.js +1686 -0
- package/style.js.map +1 -0
- package/platforms/ios/src/MasonV8Module.h +0 -583
- package/platforms/ios/src/MasonV8Module.mm +0 -1005
- package/platforms/ios/src/cpp/include/mason_native.h +0 -972
- package/platforms/ios/src/cpp/include/robin_hood.h +0 -2544
- package/platforms/ios/src/module.modulemap +0 -4
- /package/{pods → src-native/pods}/Headers/include/APIDesign.md +0 -0
- /package/{pods → src-native/pods}/Headers/include/DEPS +0 -0
- /package/{pods → src-native/pods}/Headers/include/DIR_METADATA +0 -0
- /package/{pods → src-native/pods}/Headers/include/OWNERS +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/DEPS +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/OWNERS +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/README.md +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/allocation.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/common.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/cross-thread-persistent.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/custom-space.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/default-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/ephemeron-pair.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/explicit-management.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/garbage-collected.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap-consistency.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap-state.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap-statistics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/api-constants.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/compiler-specific.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/finalizer-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/gc-info.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/logging.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/name-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/persistent-node.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/pointer-policies.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/write-barrier.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/liveness-broker.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/macros.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/member.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/name-provider.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/object-size-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/persistent.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/prefinalizer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/process-heap-statistics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/sentinel-pointer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/source-location.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/testing.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/trace-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/type-traits.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/visitor.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/js_protocol-1.2.json +0 -0
- /package/{pods → src-native/pods}/Headers/include/js_protocol-1.3.json +0 -0
- /package/{pods → src-native/pods}/Headers/include/js_protocol.pdl +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/arm64/ffi.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/arm64/ffitarget.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/x86_64/ffi.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/x86_64/ffitarget.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/DEPS +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/libplatform-export.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/libplatform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/v8-tracing.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-array-buffer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-callbacks.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-container.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-context.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-cppgc.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-data.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-date.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-debug.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-embedder-heap.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-embedder-state-scope.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-exception.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-extension.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-external.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-fast-api-calls.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-forward.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-function-callback.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-function.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-initialization.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-inspector-protocol.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-inspector.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-internal.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-isolate.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-json.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-local-handle.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-locker.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-maybe.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-memory-span.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-message.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-metrics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-microtask-queue.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-microtask.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-object.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-persistent-handle.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-primitive-object.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-primitive.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-profiler.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-promise.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-proxy.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-regexp.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-script.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-snapshot.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-statistics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-template.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-traced-handle.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-typed-array.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-unwinder-state.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-unwinder.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-util.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-value-serializer-version.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-value-serializer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-value.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-version-string.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-version.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-wasm-trap-handler-posix.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-wasm-trap-handler-win.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-wasm.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-weak-callback-info.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8config.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/InspectorServer.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/JsV8InspectorClient.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/base64.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/address-region.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/atomic-utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/atomicops.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/base-export.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/bits.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/build_config.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/compiler-specific.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/export-template.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/flags.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/immediate-crash.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/lazy-instance.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/logging.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/macros.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/memory.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/once.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/optional.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/mutex.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/semaphore.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/v8-time.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/wrappers.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/safe_conversions.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/safe_conversions_impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/template-utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/v8-fallthrough.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/common/checks.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/common/globals.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/debug/debug-interface.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/debug/interface-types.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/init/v8.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/custom-preview.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/injected-script.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/inspected-context.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/CSS.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Console.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/DOM.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Debugger.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Forward.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Log.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Network.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Overlay.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Page.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Profiler.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Protocol.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Runtime.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Schema.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Security.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/remote-object-id.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/search-util.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/string-16.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/string-util.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-console-message.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-console.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger-id.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger-script.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-regex.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-string-conversions.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-value-utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/value-mirror.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/libplatform/default-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/logging/tracing-flags.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/numbers/conversions.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/tracing/trace-event.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/utils/allocation.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/utils/vector.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/v8-inspector-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/decorator.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/instrumentation.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/jsi-inl.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/jsi.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/jsilib.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/threadsafe.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ArgConverter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ArrayAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Caches.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ClassBuilder.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Common.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ConcurrentMap.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ConcurrentQueue.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Console.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Constants.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/DataWrapper.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/DictionaryAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ExtVector.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/FFICall.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/FastEnumerationAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/FunctionReference.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Helpers.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/InlineFunctions.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Interop.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/KnownUnknownClassPair.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Metadata.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/MetadataBuilder.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/MetadataInlines.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ModuleInternal.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/NSDataAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/NativeScriptException.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ObjectManager.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/OneByteStringResource.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Pointer.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/PromiseProxy.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Reference.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Runtime.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/RuntimeConfig.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SetTimeout.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SimpleAllocator.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/StringHasher.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SymbolIterator.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SymbolLoader.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/TNSDerivedClass.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/TSHelpers.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Tasks.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/UnmanagedType.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/WeakRef.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Worker.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/robin_hood.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/HostProxy.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/JSIV8ValueConverter.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8PointerValue.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8Runtime.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8RuntimeConfig.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8RuntimeFactory.h +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version
|
|
3
|
+
// Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
4
4
|
#ifndef MASON_SWIFT_H
|
|
5
5
|
#define MASON_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -42,13 +42,22 @@
|
|
|
42
42
|
#include <string.h>
|
|
43
43
|
#endif
|
|
44
44
|
#if defined(__cplusplus)
|
|
45
|
-
#
|
|
45
|
+
#pragma clang diagnostic push
|
|
46
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
46
48
|
# include <ptrauth.h>
|
|
47
49
|
#else
|
|
50
|
+
#pragma clang diagnostic push
|
|
51
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
48
52
|
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
49
53
|
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
50
54
|
# endif
|
|
55
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
+
# endif
|
|
58
|
+
#pragma clang diagnostic pop
|
|
51
59
|
#endif
|
|
60
|
+
#pragma clang diagnostic pop
|
|
52
61
|
#endif
|
|
53
62
|
|
|
54
63
|
#if !defined(SWIFT_TYPEDEFS)
|
|
@@ -246,6 +255,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
246
255
|
#else
|
|
247
256
|
# define SWIFT_NOEXCEPT
|
|
248
257
|
#endif
|
|
258
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
259
|
+
# if __has_attribute(always_inline)
|
|
260
|
+
# if __has_attribute(nodebug)
|
|
261
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
262
|
+
# else
|
|
263
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
264
|
+
# endif
|
|
265
|
+
# else
|
|
266
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
267
|
+
# endif
|
|
268
|
+
#endif
|
|
249
269
|
#if defined(_WIN32)
|
|
250
270
|
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
251
271
|
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
@@ -260,13 +280,12 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
260
280
|
#if __has_warning("-Watimport-in-framework-header")
|
|
261
281
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
262
282
|
#endif
|
|
283
|
+
@import CoreFoundation;
|
|
263
284
|
@import Foundation;
|
|
264
285
|
@import ObjectiveC;
|
|
265
286
|
@import UIKit;
|
|
266
287
|
#endif
|
|
267
288
|
|
|
268
|
-
#import <Mason/Mason.h>
|
|
269
|
-
|
|
270
289
|
#endif
|
|
271
290
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
272
291
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
@@ -276,6 +295,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
276
295
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
277
296
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
278
297
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
298
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
279
299
|
|
|
280
300
|
#if __has_attribute(external_source_symbol)
|
|
281
301
|
# pragma push_macro("any")
|
|
@@ -320,6 +340,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
|
|
|
320
340
|
AlignSelfFlexEnd = 6,
|
|
321
341
|
};
|
|
322
342
|
|
|
343
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, DecorationLine, "DecorationLine", open) {
|
|
344
|
+
DecorationLineNone = 0,
|
|
345
|
+
DecorationLineUnderline = 1,
|
|
346
|
+
DecorationLineOverline = 2,
|
|
347
|
+
DecorationLineLineThrough = 3,
|
|
348
|
+
};
|
|
349
|
+
|
|
323
350
|
typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
|
|
324
351
|
DirectionInherit = 0,
|
|
325
352
|
DirectionLTR = 1,
|
|
@@ -346,6 +373,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
|
|
|
346
373
|
FlexWrapWrapReverse = 2,
|
|
347
374
|
};
|
|
348
375
|
|
|
376
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, FontStyle, "FontStyle", open) {
|
|
377
|
+
FontStyleNormal = 0,
|
|
378
|
+
FontStyleItalic = 1,
|
|
379
|
+
FontStyleOblique = 2,
|
|
380
|
+
};
|
|
381
|
+
|
|
349
382
|
typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
350
383
|
FlexGridAutoFlowWrapRow = 0,
|
|
351
384
|
FlexGridAutoFlowWrapColumn = 1,
|
|
@@ -434,6 +467,11 @@ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
|
434
467
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
435
468
|
@end
|
|
436
469
|
|
|
470
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "MasonBoxSizing", open) {
|
|
471
|
+
MasonBoxSizingBorderBox = 0,
|
|
472
|
+
MasonBoxSizingContentBox = 1,
|
|
473
|
+
};
|
|
474
|
+
|
|
437
475
|
enum MasonDimensionCompatType : NSInteger;
|
|
438
476
|
|
|
439
477
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
@@ -581,31 +619,21 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
|
581
619
|
@end
|
|
582
620
|
|
|
583
621
|
@class MasonStyle;
|
|
622
|
+
@class NSCMason;
|
|
584
623
|
|
|
585
624
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
586
625
|
@interface MasonNode : NSObject
|
|
587
|
-
@property (nonatomic, readonly) void *
|
|
626
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
627
|
+
@property (nonatomic, readonly, strong) MasonLayout * _Nullable layoutCache;
|
|
628
|
+
@property (nonatomic) id _Nullable data;
|
|
588
629
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
589
|
-
@property (nonatomic) BOOL includeInLayout;
|
|
590
|
-
@property (nonatomic) BOOL isEnabled;
|
|
591
|
-
@property (nonatomic, strong) id _Nullable data;
|
|
592
630
|
@property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
|
|
593
631
|
@property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
|
|
594
|
-
- (nonnull instancetype)
|
|
595
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
|
|
596
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style children:(NSArray<MasonNode *> * _Nonnull)children OBJC_DESIGNATED_INITIALIZER;
|
|
597
|
-
- (void)updateNodeStyle;
|
|
632
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
598
633
|
- (MasonLayout * _Nonnull)layout;
|
|
599
634
|
@property (nonatomic, readonly) BOOL isDirty;
|
|
600
635
|
- (void)markDirty;
|
|
601
636
|
- (MasonNode * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
602
|
-
- (void)rootCompute;
|
|
603
|
-
- (void)rootCompute:(float)width :(float)height;
|
|
604
|
-
- (void)rootComputeMaxContent;
|
|
605
|
-
- (void)rootComputeMinContent;
|
|
606
|
-
- (void)rootComputeWithViewSize;
|
|
607
|
-
- (void)rootComputeWithViewSizeWithLayout:(BOOL)layout;
|
|
608
|
-
- (void)rootComputeWithMaxContent;
|
|
609
637
|
- (void)compute;
|
|
610
638
|
- (void)compute:(float)width :(float)height;
|
|
611
639
|
- (void)computeMaxContent;
|
|
@@ -616,159 +644,31 @@ SWIFT_CLASS_NAMED("MasonNode")
|
|
|
616
644
|
- (void)computeWithMaxContent;
|
|
617
645
|
- (void)computeWithMinContent;
|
|
618
646
|
- (void)attachAndApply;
|
|
619
|
-
- (void)
|
|
647
|
+
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
620
648
|
- (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
|
|
621
|
-
@property (nonatomic, readonly) BOOL isLeaf;
|
|
622
649
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
650
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
651
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
623
652
|
@end
|
|
624
653
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
@interface MasonReexports : NSObject
|
|
628
|
-
+ (void)node_set_style:(void * _Nonnull)mason :(void * _Nonnull)node :(void * _Nonnull)style;
|
|
629
|
-
+ (void)node_compute:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
630
|
-
+ (void)node_compute_wh:(void * _Nonnull)mason :(void * _Nonnull)node width:(float)width height:(float)height;
|
|
631
|
-
+ (void)node_compute_max_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
632
|
-
+ (void)node_compute_min_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
633
|
-
+ (BOOL)node_dirty:(void * _Nonnull)mason :(void * _Nonnull)node SWIFT_WARN_UNUSED_RESULT;
|
|
634
|
-
+ (void)node_mark_dirty:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
635
|
-
+ (int32_t)style_get_display:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
636
|
-
+ (void)style_set_display:(void * _Nonnull)style :(int32_t)display;
|
|
637
|
-
+ (int32_t)style_get_position:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
638
|
-
+ (void)style_set_position:(void * _Nonnull)style :(int32_t)position;
|
|
639
|
-
+ (int32_t)style_get_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
640
|
-
+ (void)style_set_direction:(void * _Nonnull)style :(int32_t)direction;
|
|
641
|
-
+ (int32_t)style_get_flex_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
642
|
-
+ (void)style_set_flex_direction:(void * _Nonnull)style :(int32_t)flex_direction;
|
|
643
|
-
+ (int32_t)style_get_flex_wrap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
644
|
-
+ (void)style_set_flex_wrap:(void * _Nonnull)style :(int32_t)flex_wrap;
|
|
645
|
-
+ (void)style_set_overflow:(void * _Nonnull)style :(int32_t)overflow;
|
|
646
|
-
+ (void)style_set_overflow_x:(void * _Nonnull)style :(int32_t)overflow;
|
|
647
|
-
+ (void)style_set_overflow_y:(void * _Nonnull)style :(int32_t)overflow;
|
|
648
|
-
+ (int32_t)style_get_overflow_x:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
649
|
-
+ (int32_t)style_get_overflow_y:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
650
|
-
+ (int32_t)style_get_align_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
651
|
-
+ (void)style_set_align_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
652
|
-
+ (int32_t)style_get_align_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
653
|
-
+ (void)style_set_align_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
654
|
-
+ (int32_t)style_get_align_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
655
|
-
+ (void)style_set_align_content:(void * _Nonnull)style :(int32_t)align_content;
|
|
656
|
-
+ (int32_t)style_get_justify_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
657
|
-
+ (void)style_set_justify_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
658
|
-
+ (int32_t)style_get_justify_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
659
|
-
+ (void)style_set_justify_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
660
|
-
+ (int32_t)style_get_justify_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
661
|
-
+ (void)style_set_justify_content:(void * _Nonnull)style :(int32_t)justify_content;
|
|
662
|
-
+ (void)style_set_inset:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
663
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
664
|
-
+ (void)style_set_inset_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
665
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
666
|
-
+ (void)style_set_inset_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
667
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
668
|
-
+ (void)style_set_inset_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
669
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
670
|
-
+ (void)style_set_inset_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
671
|
-
+ (void)style_set_margin:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
672
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
673
|
-
+ (void)style_set_margin_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
674
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
675
|
-
+ (void)style_set_margin_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
676
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
677
|
-
+ (void)style_set_margin_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
678
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
679
|
-
+ (void)style_set_margin_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
680
|
-
+ (void)style_set_padding:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
681
|
-
+ (CMasonLengthPercentage)style_get_padding_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
682
|
-
+ (void)style_set_padding_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
683
|
-
+ (CMasonLengthPercentage)style_get_padding_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
684
|
-
+ (void)style_set_padding_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
685
|
-
+ (CMasonLengthPercentage)style_get_padding_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
686
|
-
+ (void)style_set_padding_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
687
|
-
+ (CMasonLengthPercentage)style_get_padding_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
688
|
-
+ (void)style_set_padding_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
689
|
-
+ (void)style_set_border:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
690
|
-
+ (CMasonLengthPercentage)style_get_border_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
691
|
-
+ (void)style_set_border_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
692
|
-
+ (CMasonLengthPercentage)style_get_border_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
693
|
-
+ (void)style_set_border_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
694
|
-
+ (CMasonLengthPercentage)style_get_border_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
695
|
-
+ (void)style_set_border_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
696
|
-
+ (CMasonLengthPercentage)style_get_border_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
697
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
698
|
-
+ (float)style_get_flex_grow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
699
|
-
+ (void)style_set_flex_grow:(void * _Nonnull)style :(float)value;
|
|
700
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value;
|
|
701
|
-
+ (float)style_get_flex_shrink:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
702
|
-
+ (void)style_set_flex_shrink:(void * _Nonnull)style :(float)value;
|
|
703
|
-
+ (void)style_set_flex_basis:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
704
|
-
+ (CMasonDimension)style_get_flex_basis:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
705
|
-
+ (void)style_set_scrollbar_width:(void * _Nonnull)style :(float)value;
|
|
706
|
-
+ (float)style_get_scrollbar_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
707
|
-
+ (CMasonDimension)style_get_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
708
|
-
+ (void)style_set_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
709
|
-
+ (CMasonDimension)style_get_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
710
|
-
+ (void)style_set_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
711
|
-
+ (CMasonDimension)style_get_min_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
712
|
-
+ (void)style_set_min_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
713
|
-
+ (CMasonDimension)style_get_min_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
714
|
-
+ (void)style_set_min_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
715
|
-
+ (CMasonDimension)style_get_max_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
716
|
-
+ (void)style_set_max_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
717
|
-
+ (CMasonDimension)style_get_max_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
718
|
-
+ (void)style_set_max_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
719
|
-
+ (CMasonLengthPercentageSize)style_get_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
720
|
-
+ (void)style_set_gap:(void * _Nonnull)style :(float)width_value :(CMasonLengthPercentageType)width_type :(float)height_value :(CMasonLengthPercentageType)height_type;
|
|
721
|
-
+ (CMasonLengthPercentage)style_get_row_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
722
|
-
+ (void)style_set_row_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
723
|
-
+ (CMasonLengthPercentage)style_get_column_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
724
|
-
+ (void)style_set_column_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
725
|
-
+ (float)style_get_aspect_ratio:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
726
|
-
+ (void)style_set_aspect_ratio:(void * _Nonnull)style :(float)value;
|
|
727
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
728
|
-
+ (void)style_set_grid_auto_rows:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
729
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
730
|
-
+ (void)style_set_grid_auto_columns:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
731
|
-
+ (int32_t)style_get_grid_auto_flow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
732
|
-
+ (void)style_set_grid_auto_flow:(void * _Nonnull)style :(int32_t)value;
|
|
733
|
-
+ (void)style_set_grid_area:(void * _Nonnull)style :(CMasonGridPlacement)row_start :(CMasonGridPlacement)row_end :(CMasonGridPlacement)column_start :(CMasonGridPlacement)column_end;
|
|
734
|
-
+ (void)style_set_grid_column:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
735
|
-
+ (CMasonGridPlacement)style_get_grid_column_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
736
|
-
+ (void)style_set_grid_column_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
737
|
-
+ (CMasonGridPlacement)style_get_grid_column_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
738
|
-
+ (void)style_set_grid_column_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
739
|
-
+ (void)style_set_grid_row:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
740
|
-
+ (CMasonGridPlacement)style_get_grid_row_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
741
|
-
+ (void)style_set_grid_row_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
742
|
-
+ (CMasonGridPlacement)style_get_grid_row_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
743
|
-
+ (void)style_set_grid_row_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
744
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
745
|
-
+ (void)style_set_grid_template_rows:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
746
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
747
|
-
+ (void)style_set_grid_template_columns:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
748
|
-
+ (void)destroyWithNonRepeatedTrackSizingFunctionArray:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)nonRepeatedTrackSizingFunctionArray;
|
|
749
|
-
+ (void)destroyWithTrackSizingFunctionArray:(CMasonTrackSizingFunctionArray * _Nonnull)trackSizingFunctionArray;
|
|
750
|
-
+ (NSString * _Nonnull)util_parse_non_repeated_track_sizing_function:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
751
|
-
+ (NSString * _Nonnull)util_parse_auto_repeating_track_sizing_function:(CMasonTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
752
|
-
+ (CMasonMinMax)util_create_non_repeated_track_sizing_function_with_type_value:(int32_t)track_type :(float)track_value SWIFT_WARN_UNUSED_RESULT;
|
|
753
|
-
+ (void)style_update_with_values:(void * _Nonnull)style :(int32_t)display :(int32_t)position :(int32_t)direction :(int32_t)flexDirection :(int32_t)flexWrap :(int32_t)overflow :(int32_t)alignItems :(int32_t)alignSelf :(int32_t)alignContent :(int32_t)justifyItems :(int32_t)justifySelf :(int32_t)justifyContent :(int32_t)insetLeftType :(float)insetLeftValue :(int32_t)insetRightType :(float)insetRightValue :(int32_t)insetTopType :(float)insetTopValue :(int32_t)insetBottomType :(float)insetBottomValue :(int32_t)marginLeftType :(float)marginLeftValue :(int32_t)marginRightType :(float)marginRightValue :(int32_t)marginTopType :(float)marginTopValue :(int32_t)marginBottomType :(float)marginBottomValue :(int32_t)paddingLeftType :(float)paddingLeftValue :(int32_t)paddingRightType :(float)paddingRightValue :(int32_t)paddingTopType :(float)paddingTopValue :(int32_t)paddingBottomType :(float)paddingBottomValue :(int32_t)borderLeftType :(float)borderLeftValue :(int32_t)borderRightType :(float)borderRightValue :(int32_t)borderTopType :(float)borderTopValue :(int32_t)borderBottomType :(float)borderBottomValue :(float)flexGrow :(float)flexShrink :(int32_t)flexBasisType :(float)flexBasisValue :(int32_t)widthType :(float)widthValue :(int32_t)heightType :(float)heightValue :(int32_t)minWidthType :(float)minWidthValue :(int32_t)minHeightType :(float)minHeightValue :(int32_t)maxWidthType :(float)maxWidthValue :(int32_t)maxHeightType :(float)maxHeightValue :(int32_t)gapRowType :(float)gapRowValue :(int32_t)gapColumnType :(float)gapColumnValue :(float)aspectRatio :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoRows :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoColumns :(int32_t)gridAutoFlow :(int32_t)gridColumnStartType :(int16_t)gridColumnStartValue :(int32_t)gridColumnEndType :(int16_t)gridColumnEndValue :(int32_t)gridRowStartType :(int16_t)gridRowStartValue :(int32_t)gridRowEndType :(int16_t)gridRowEndValue :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateRows :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateColumns :(int32_t)overflowX :(int32_t)overflowY scrollBarWidth:(float)scrollBarWidth;
|
|
754
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
755
|
-
@end
|
|
756
|
-
|
|
654
|
+
@class NSMutableData;
|
|
655
|
+
@class NSData;
|
|
757
656
|
enum Position : NSInteger;
|
|
758
657
|
enum Overflow : NSInteger;
|
|
658
|
+
enum MasonTextAlign : NSInteger;
|
|
759
659
|
@class MinMax;
|
|
760
660
|
@class TrackSizingFunction;
|
|
761
661
|
|
|
762
662
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
763
663
|
@interface MasonStyle : NSObject
|
|
764
|
-
@property (nonatomic,
|
|
765
|
-
|
|
664
|
+
@property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
|
|
665
|
+
@property (nonatomic, copy) NSData * _Nonnull values;
|
|
666
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
766
667
|
@property (nonatomic) enum Display display;
|
|
767
668
|
@property (nonatomic) enum Position position;
|
|
768
669
|
@property (nonatomic) enum Direction direction;
|
|
769
670
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
770
671
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
771
|
-
@property (nonatomic) enum Overflow overflow;
|
|
772
672
|
@property (nonatomic) enum Overflow overflowX;
|
|
773
673
|
@property (nonatomic) enum Overflow overflowY;
|
|
774
674
|
@property (nonatomic) enum AlignItems alignItems;
|
|
@@ -805,6 +705,8 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
805
705
|
@property (nonatomic) float flexShrink;
|
|
806
706
|
- (void)setFlexBasis:(float)value :(NSInteger)type;
|
|
807
707
|
- (void)setScrollBarWidth:(float)value;
|
|
708
|
+
@property (nonatomic) enum MasonTextAlign textAlign;
|
|
709
|
+
@property (nonatomic) enum MasonBoxSizing boxSizing;
|
|
808
710
|
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
|
|
809
711
|
- (void)setMinSizeWidth:(float)value :(NSInteger)type;
|
|
810
712
|
- (void)setMinSizeHeight:(float)value :(NSInteger)type;
|
|
@@ -835,125 +737,86 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
835
737
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
|
|
836
738
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
|
|
837
739
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
|
|
740
|
+
- (void)updateNativeStyle;
|
|
838
741
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
839
|
-
@end
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
SWIFT_CLASS_NAMED("MaxSizing")
|
|
843
|
-
@interface MaxSizing : NSObject
|
|
844
|
-
@property (nonatomic, readonly) float value;
|
|
845
|
-
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
846
|
-
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
847
|
-
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
848
|
-
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
849
|
-
+ (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
850
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
851
|
-
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
852
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
853
|
-
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
854
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
855
|
-
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
856
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
857
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
858
742
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
859
743
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
860
744
|
@end
|
|
861
745
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
@
|
|
865
|
-
|
|
866
|
-
@
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
@
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
@property (nonatomic,
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
- (
|
|
902
|
-
|
|
746
|
+
@class NSCoder;
|
|
747
|
+
@class NSMutableAttributedString;
|
|
748
|
+
@class UIFont;
|
|
749
|
+
enum TextTransform : NSInteger;
|
|
750
|
+
@class UIColor;
|
|
751
|
+
enum TextWrap : NSInteger;
|
|
752
|
+
|
|
753
|
+
SWIFT_CLASS_NAMED("MasonText")
|
|
754
|
+
@interface MasonText : UIView
|
|
755
|
+
@property (nonatomic, readonly, strong) MasonText * _Nullable owner;
|
|
756
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
757
|
+
@property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
|
|
758
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
759
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)masonNode OBJC_DESIGNATED_INITIALIZER;
|
|
760
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
761
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
762
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
763
|
+
- (void)markNodeDirty;
|
|
764
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
765
|
+
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
766
|
+
- (void)updateText:(NSString * _Nullable)value;
|
|
767
|
+
@property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
|
|
768
|
+
@property (nonatomic, readonly, strong) UIFont * _Nonnull font;
|
|
769
|
+
- (void)invalidateStyle:(int64_t)state;
|
|
770
|
+
@property (nonatomic) enum TextTransform textTransform;
|
|
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;
|
|
775
|
+
@property (nonatomic) uint32_t color;
|
|
776
|
+
@property (nonatomic) uint32_t backgroundColorValue;
|
|
777
|
+
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
778
|
+
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
779
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
780
|
+
@property (nonatomic) uint32_t decorationColor;
|
|
781
|
+
@property (nonatomic) enum DecorationLine decorationLine;
|
|
782
|
+
@property (nonatomic) enum TextWrap textWrap;
|
|
783
|
+
- (void)drawRect:(CGRect)rect;
|
|
784
|
+
- (void)addView:(UIView * _Nonnull)view :(NSInteger)index;
|
|
785
|
+
- (void)removeView:(UIView * _Nonnull)view;
|
|
786
|
+
@property (nonatomic, copy) NSString * _Nullable text;
|
|
787
|
+
- (void)syncStyle:(NSString * _Nonnull)state :(NSString * _Nonnull)textState;
|
|
788
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
903
789
|
@end
|
|
904
790
|
|
|
905
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
PositionRelative = 0,
|
|
914
|
-
PositionAbsolute = 1,
|
|
791
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "MasonTextAlign", open) {
|
|
792
|
+
MasonTextAlignAuto = 0,
|
|
793
|
+
MasonTextAlignLeft = 1,
|
|
794
|
+
MasonTextAlignRight = 2,
|
|
795
|
+
MasonTextAlignCenter = 3,
|
|
796
|
+
MasonTextAlignJustify = 4,
|
|
797
|
+
MasonTextAlignStart = 5,
|
|
798
|
+
MasonTextAlignEnd = 6,
|
|
915
799
|
};
|
|
916
800
|
|
|
917
801
|
|
|
918
|
-
SWIFT_CLASS_NAMED("
|
|
919
|
-
@interface
|
|
920
|
-
@property (nonatomic, readonly)
|
|
921
|
-
- (
|
|
922
|
-
- (
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
+ (
|
|
927
|
-
+ (
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
@
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
935
|
-
@interface TrackSizingFunction : NSObject
|
|
936
|
-
@property (nonatomic, readonly) BOOL isRepeating;
|
|
937
|
-
@property (nonatomic, readonly) id _Nullable value;
|
|
938
|
-
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
939
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
940
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
941
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
942
|
-
@end
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
@interface UIView (SWIFT_EXTENSION(Mason))
|
|
946
|
-
@property (nonatomic, readonly, strong) UIView * _Nullable rootView;
|
|
947
|
-
+ (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
|
|
948
|
-
+ (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
|
|
949
|
-
+ (UIView * _Nonnull)createBlockView SWIFT_WARN_UNUSED_RESULT;
|
|
950
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;
|
|
951
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
952
|
-
+ (NSInteger)masonPtr SWIFT_WARN_UNUSED_RESULT;
|
|
953
|
-
@property (nonatomic, readonly) NSInteger masonNodePtr;
|
|
954
|
-
@property (nonatomic, readonly) NSInteger masonStylePtr;
|
|
955
|
-
@property (nonatomic, readonly) BOOL isMasonEnabled;
|
|
802
|
+
SWIFT_CLASS_NAMED("MasonUIView")
|
|
803
|
+
@interface MasonUIView : UIView
|
|
804
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
805
|
+
- (void)markNodeDirty;
|
|
806
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
807
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
808
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
809
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
810
|
+
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
811
|
+
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
812
|
+
+ (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;
|
|
956
816
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
817
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
818
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
819
|
+
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
957
820
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
958
821
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
959
822
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
@@ -963,7 +826,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
963
826
|
@property (nonatomic) enum Direction direction;
|
|
964
827
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
965
828
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
966
|
-
@property (nonatomic) enum Overflow overflow;
|
|
967
829
|
@property (nonatomic) enum Overflow overflowX;
|
|
968
830
|
@property (nonatomic) enum Overflow overflowY;
|
|
969
831
|
@property (nonatomic) enum AlignItems alignItems;
|
|
@@ -1053,19 +915,141 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
1053
915
|
- (void)setColumnGap:(float)column :(NSInteger)type;
|
|
1054
916
|
- (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
|
|
1055
917
|
- (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
|
|
918
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1056
919
|
@end
|
|
1057
920
|
|
|
1058
|
-
|
|
1059
|
-
|
|
921
|
+
|
|
922
|
+
SWIFT_CLASS_NAMED("MaxSizing")
|
|
923
|
+
@interface MaxSizing : NSObject
|
|
924
|
+
@property (nonatomic, readonly) float value;
|
|
925
|
+
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
926
|
+
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
927
|
+
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
928
|
+
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
929
|
+
+ (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
930
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
931
|
+
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
932
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
933
|
+
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
934
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
935
|
+
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
936
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
937
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
938
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
939
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
940
|
+
@end
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
944
|
+
@interface MeasureOutput : NSObject
|
|
945
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
946
|
+
@end
|
|
947
|
+
|
|
948
|
+
@class MinSizing;
|
|
949
|
+
|
|
950
|
+
SWIFT_CLASS_NAMED("MinMax")
|
|
951
|
+
@interface MinMax : NSObject
|
|
952
|
+
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
953
|
+
+ (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
954
|
+
+ (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
955
|
+
+ (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
956
|
+
+ (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
957
|
+
+ (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
958
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
|
|
959
|
+
+ (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
960
|
+
+ (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
|
|
961
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
962
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
963
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
964
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
965
|
+
@end
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
SWIFT_CLASS_NAMED("MinSizing")
|
|
969
|
+
@interface MinSizing : NSObject
|
|
970
|
+
@property (nonatomic, readonly) float value;
|
|
971
|
+
+ (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
972
|
+
+ (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
973
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
|
|
974
|
+
+ (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
975
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
|
|
976
|
+
+ (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
977
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
|
|
978
|
+
+ (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
979
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
980
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
981
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
982
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
983
|
+
@end
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
SWIFT_CLASS_NAMED("NSCMason")
|
|
987
|
+
@interface NSCMason : NSObject
|
|
988
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
989
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull shared;)
|
|
990
|
+
+ (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
991
|
+
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
992
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
993
|
+
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
994
|
+
- (void)clear;
|
|
995
|
+
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
996
|
+
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
997
|
+
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
998
|
+
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
999
|
+
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
1000
|
+
@end
|
|
1001
|
+
|
|
1002
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
|
|
1003
|
+
OverflowUnset = 0,
|
|
1004
|
+
OverflowVisible = 1,
|
|
1005
|
+
OverflowHidden = 2,
|
|
1006
|
+
OverflowScroll = 3,
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
|
|
1010
|
+
PositionRelative = 0,
|
|
1011
|
+
PositionAbsolute = 1,
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextTransform, "TextTransform", open) {
|
|
1015
|
+
TextTransformNone = 0,
|
|
1016
|
+
TextTransformCapitalize = 1,
|
|
1017
|
+
TextTransformUppercase = 2,
|
|
1018
|
+
TextTransformLowercase = 3,
|
|
1019
|
+
TextTransformFullWidth = 4,
|
|
1020
|
+
TextTransformFullSizeKana = 5,
|
|
1021
|
+
TextTransformMathAuto = 6,
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextWrap, "TextWrap", open) {
|
|
1025
|
+
TextWrapNoWrap = 0,
|
|
1026
|
+
TextWrapWrap = 1,
|
|
1027
|
+
TextWrapBalance = 2,
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
1032
|
+
@interface TrackSizingFunction : NSObject
|
|
1033
|
+
@property (nonatomic, readonly) BOOL isRepeating;
|
|
1034
|
+
@property (nonatomic, readonly) id _Nullable value;
|
|
1035
|
+
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1036
|
+
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1037
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1038
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1039
|
+
@end
|
|
1040
|
+
|
|
1041
|
+
|
|
1060
1042
|
#endif
|
|
1061
1043
|
#if __has_attribute(external_source_symbol)
|
|
1062
1044
|
# pragma clang attribute pop
|
|
1063
1045
|
#endif
|
|
1046
|
+
#if defined(__cplusplus)
|
|
1047
|
+
#endif
|
|
1064
1048
|
#pragma clang diagnostic pop
|
|
1065
1049
|
#endif
|
|
1066
1050
|
|
|
1067
1051
|
#elif defined(__x86_64__) && __x86_64__
|
|
1068
|
-
// Generated by Apple Swift version
|
|
1052
|
+
// Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
1069
1053
|
#ifndef MASON_SWIFT_H
|
|
1070
1054
|
#define MASON_SWIFT_H
|
|
1071
1055
|
#pragma clang diagnostic push
|
|
@@ -1107,13 +1091,22 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
1107
1091
|
#include <string.h>
|
|
1108
1092
|
#endif
|
|
1109
1093
|
#if defined(__cplusplus)
|
|
1110
|
-
#
|
|
1094
|
+
#pragma clang diagnostic push
|
|
1095
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
1096
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
1111
1097
|
# include <ptrauth.h>
|
|
1112
1098
|
#else
|
|
1099
|
+
#pragma clang diagnostic push
|
|
1100
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
1113
1101
|
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
1114
1102
|
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
1115
1103
|
# endif
|
|
1104
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
1105
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
1106
|
+
# endif
|
|
1107
|
+
#pragma clang diagnostic pop
|
|
1116
1108
|
#endif
|
|
1109
|
+
#pragma clang diagnostic pop
|
|
1117
1110
|
#endif
|
|
1118
1111
|
|
|
1119
1112
|
#if !defined(SWIFT_TYPEDEFS)
|
|
@@ -1311,6 +1304,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1311
1304
|
#else
|
|
1312
1305
|
# define SWIFT_NOEXCEPT
|
|
1313
1306
|
#endif
|
|
1307
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
1308
|
+
# if __has_attribute(always_inline)
|
|
1309
|
+
# if __has_attribute(nodebug)
|
|
1310
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
1311
|
+
# else
|
|
1312
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
1313
|
+
# endif
|
|
1314
|
+
# else
|
|
1315
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
1316
|
+
# endif
|
|
1317
|
+
#endif
|
|
1314
1318
|
#if defined(_WIN32)
|
|
1315
1319
|
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
1316
1320
|
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
@@ -1325,13 +1329,12 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1325
1329
|
#if __has_warning("-Watimport-in-framework-header")
|
|
1326
1330
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
1327
1331
|
#endif
|
|
1332
|
+
@import CoreFoundation;
|
|
1328
1333
|
@import Foundation;
|
|
1329
1334
|
@import ObjectiveC;
|
|
1330
1335
|
@import UIKit;
|
|
1331
1336
|
#endif
|
|
1332
1337
|
|
|
1333
|
-
#import <Mason/Mason.h>
|
|
1334
|
-
|
|
1335
1338
|
#endif
|
|
1336
1339
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
1337
1340
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
@@ -1341,6 +1344,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1341
1344
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
1342
1345
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
1343
1346
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
1347
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
1344
1348
|
|
|
1345
1349
|
#if __has_attribute(external_source_symbol)
|
|
1346
1350
|
# pragma push_macro("any")
|
|
@@ -1385,6 +1389,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
|
|
|
1385
1389
|
AlignSelfFlexEnd = 6,
|
|
1386
1390
|
};
|
|
1387
1391
|
|
|
1392
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, DecorationLine, "DecorationLine", open) {
|
|
1393
|
+
DecorationLineNone = 0,
|
|
1394
|
+
DecorationLineUnderline = 1,
|
|
1395
|
+
DecorationLineOverline = 2,
|
|
1396
|
+
DecorationLineLineThrough = 3,
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1388
1399
|
typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
|
|
1389
1400
|
DirectionInherit = 0,
|
|
1390
1401
|
DirectionLTR = 1,
|
|
@@ -1411,6 +1422,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
|
|
|
1411
1422
|
FlexWrapWrapReverse = 2,
|
|
1412
1423
|
};
|
|
1413
1424
|
|
|
1425
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, FontStyle, "FontStyle", open) {
|
|
1426
|
+
FontStyleNormal = 0,
|
|
1427
|
+
FontStyleItalic = 1,
|
|
1428
|
+
FontStyleOblique = 2,
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1414
1431
|
typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
1415
1432
|
FlexGridAutoFlowWrapRow = 0,
|
|
1416
1433
|
FlexGridAutoFlowWrapColumn = 1,
|
|
@@ -1499,6 +1516,11 @@ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
|
1499
1516
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1500
1517
|
@end
|
|
1501
1518
|
|
|
1519
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "MasonBoxSizing", open) {
|
|
1520
|
+
MasonBoxSizingBorderBox = 0,
|
|
1521
|
+
MasonBoxSizingContentBox = 1,
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1502
1524
|
enum MasonDimensionCompatType : NSInteger;
|
|
1503
1525
|
|
|
1504
1526
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
@@ -1646,31 +1668,21 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
|
1646
1668
|
@end
|
|
1647
1669
|
|
|
1648
1670
|
@class MasonStyle;
|
|
1671
|
+
@class NSCMason;
|
|
1649
1672
|
|
|
1650
1673
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
1651
1674
|
@interface MasonNode : NSObject
|
|
1652
|
-
@property (nonatomic, readonly) void *
|
|
1675
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
1676
|
+
@property (nonatomic, readonly, strong) MasonLayout * _Nullable layoutCache;
|
|
1677
|
+
@property (nonatomic) id _Nullable data;
|
|
1653
1678
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
1654
|
-
@property (nonatomic) BOOL includeInLayout;
|
|
1655
|
-
@property (nonatomic) BOOL isEnabled;
|
|
1656
|
-
@property (nonatomic, strong) id _Nullable data;
|
|
1657
1679
|
@property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
|
|
1658
1680
|
@property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
|
|
1659
|
-
- (nonnull instancetype)
|
|
1660
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
|
|
1661
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style children:(NSArray<MasonNode *> * _Nonnull)children OBJC_DESIGNATED_INITIALIZER;
|
|
1662
|
-
- (void)updateNodeStyle;
|
|
1681
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
1663
1682
|
- (MasonLayout * _Nonnull)layout;
|
|
1664
1683
|
@property (nonatomic, readonly) BOOL isDirty;
|
|
1665
1684
|
- (void)markDirty;
|
|
1666
1685
|
- (MasonNode * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
1667
|
-
- (void)rootCompute;
|
|
1668
|
-
- (void)rootCompute:(float)width :(float)height;
|
|
1669
|
-
- (void)rootComputeMaxContent;
|
|
1670
|
-
- (void)rootComputeMinContent;
|
|
1671
|
-
- (void)rootComputeWithViewSize;
|
|
1672
|
-
- (void)rootComputeWithViewSizeWithLayout:(BOOL)layout;
|
|
1673
|
-
- (void)rootComputeWithMaxContent;
|
|
1674
1686
|
- (void)compute;
|
|
1675
1687
|
- (void)compute:(float)width :(float)height;
|
|
1676
1688
|
- (void)computeMaxContent;
|
|
@@ -1681,159 +1693,31 @@ SWIFT_CLASS_NAMED("MasonNode")
|
|
|
1681
1693
|
- (void)computeWithMaxContent;
|
|
1682
1694
|
- (void)computeWithMinContent;
|
|
1683
1695
|
- (void)attachAndApply;
|
|
1684
|
-
- (void)
|
|
1696
|
+
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
1685
1697
|
- (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
|
|
1686
|
-
@property (nonatomic, readonly) BOOL isLeaf;
|
|
1687
1698
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
1699
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1700
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1688
1701
|
@end
|
|
1689
1702
|
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
@interface MasonReexports : NSObject
|
|
1693
|
-
+ (void)node_set_style:(void * _Nonnull)mason :(void * _Nonnull)node :(void * _Nonnull)style;
|
|
1694
|
-
+ (void)node_compute:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1695
|
-
+ (void)node_compute_wh:(void * _Nonnull)mason :(void * _Nonnull)node width:(float)width height:(float)height;
|
|
1696
|
-
+ (void)node_compute_max_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1697
|
-
+ (void)node_compute_min_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1698
|
-
+ (BOOL)node_dirty:(void * _Nonnull)mason :(void * _Nonnull)node SWIFT_WARN_UNUSED_RESULT;
|
|
1699
|
-
+ (void)node_mark_dirty:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1700
|
-
+ (int32_t)style_get_display:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1701
|
-
+ (void)style_set_display:(void * _Nonnull)style :(int32_t)display;
|
|
1702
|
-
+ (int32_t)style_get_position:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1703
|
-
+ (void)style_set_position:(void * _Nonnull)style :(int32_t)position;
|
|
1704
|
-
+ (int32_t)style_get_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1705
|
-
+ (void)style_set_direction:(void * _Nonnull)style :(int32_t)direction;
|
|
1706
|
-
+ (int32_t)style_get_flex_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1707
|
-
+ (void)style_set_flex_direction:(void * _Nonnull)style :(int32_t)flex_direction;
|
|
1708
|
-
+ (int32_t)style_get_flex_wrap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1709
|
-
+ (void)style_set_flex_wrap:(void * _Nonnull)style :(int32_t)flex_wrap;
|
|
1710
|
-
+ (void)style_set_overflow:(void * _Nonnull)style :(int32_t)overflow;
|
|
1711
|
-
+ (void)style_set_overflow_x:(void * _Nonnull)style :(int32_t)overflow;
|
|
1712
|
-
+ (void)style_set_overflow_y:(void * _Nonnull)style :(int32_t)overflow;
|
|
1713
|
-
+ (int32_t)style_get_overflow_x:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1714
|
-
+ (int32_t)style_get_overflow_y:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1715
|
-
+ (int32_t)style_get_align_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1716
|
-
+ (void)style_set_align_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
1717
|
-
+ (int32_t)style_get_align_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1718
|
-
+ (void)style_set_align_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
1719
|
-
+ (int32_t)style_get_align_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1720
|
-
+ (void)style_set_align_content:(void * _Nonnull)style :(int32_t)align_content;
|
|
1721
|
-
+ (int32_t)style_get_justify_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1722
|
-
+ (void)style_set_justify_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
1723
|
-
+ (int32_t)style_get_justify_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1724
|
-
+ (void)style_set_justify_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
1725
|
-
+ (int32_t)style_get_justify_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1726
|
-
+ (void)style_set_justify_content:(void * _Nonnull)style :(int32_t)justify_content;
|
|
1727
|
-
+ (void)style_set_inset:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1728
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1729
|
-
+ (void)style_set_inset_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1730
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1731
|
-
+ (void)style_set_inset_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1732
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1733
|
-
+ (void)style_set_inset_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1734
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1735
|
-
+ (void)style_set_inset_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1736
|
-
+ (void)style_set_margin:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1737
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1738
|
-
+ (void)style_set_margin_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1739
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1740
|
-
+ (void)style_set_margin_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1741
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1742
|
-
+ (void)style_set_margin_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1743
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1744
|
-
+ (void)style_set_margin_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1745
|
-
+ (void)style_set_padding:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1746
|
-
+ (CMasonLengthPercentage)style_get_padding_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1747
|
-
+ (void)style_set_padding_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1748
|
-
+ (CMasonLengthPercentage)style_get_padding_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1749
|
-
+ (void)style_set_padding_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1750
|
-
+ (CMasonLengthPercentage)style_get_padding_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1751
|
-
+ (void)style_set_padding_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1752
|
-
+ (CMasonLengthPercentage)style_get_padding_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1753
|
-
+ (void)style_set_padding_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1754
|
-
+ (void)style_set_border:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1755
|
-
+ (CMasonLengthPercentage)style_get_border_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1756
|
-
+ (void)style_set_border_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1757
|
-
+ (CMasonLengthPercentage)style_get_border_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1758
|
-
+ (void)style_set_border_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1759
|
-
+ (CMasonLengthPercentage)style_get_border_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1760
|
-
+ (void)style_set_border_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1761
|
-
+ (CMasonLengthPercentage)style_get_border_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1762
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1763
|
-
+ (float)style_get_flex_grow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1764
|
-
+ (void)style_set_flex_grow:(void * _Nonnull)style :(float)value;
|
|
1765
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value;
|
|
1766
|
-
+ (float)style_get_flex_shrink:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1767
|
-
+ (void)style_set_flex_shrink:(void * _Nonnull)style :(float)value;
|
|
1768
|
-
+ (void)style_set_flex_basis:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1769
|
-
+ (CMasonDimension)style_get_flex_basis:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1770
|
-
+ (void)style_set_scrollbar_width:(void * _Nonnull)style :(float)value;
|
|
1771
|
-
+ (float)style_get_scrollbar_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1772
|
-
+ (CMasonDimension)style_get_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1773
|
-
+ (void)style_set_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1774
|
-
+ (CMasonDimension)style_get_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1775
|
-
+ (void)style_set_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1776
|
-
+ (CMasonDimension)style_get_min_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1777
|
-
+ (void)style_set_min_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1778
|
-
+ (CMasonDimension)style_get_min_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1779
|
-
+ (void)style_set_min_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1780
|
-
+ (CMasonDimension)style_get_max_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1781
|
-
+ (void)style_set_max_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1782
|
-
+ (CMasonDimension)style_get_max_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1783
|
-
+ (void)style_set_max_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1784
|
-
+ (CMasonLengthPercentageSize)style_get_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1785
|
-
+ (void)style_set_gap:(void * _Nonnull)style :(float)width_value :(CMasonLengthPercentageType)width_type :(float)height_value :(CMasonLengthPercentageType)height_type;
|
|
1786
|
-
+ (CMasonLengthPercentage)style_get_row_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1787
|
-
+ (void)style_set_row_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1788
|
-
+ (CMasonLengthPercentage)style_get_column_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1789
|
-
+ (void)style_set_column_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1790
|
-
+ (float)style_get_aspect_ratio:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1791
|
-
+ (void)style_set_aspect_ratio:(void * _Nonnull)style :(float)value;
|
|
1792
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1793
|
-
+ (void)style_set_grid_auto_rows:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
1794
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1795
|
-
+ (void)style_set_grid_auto_columns:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
1796
|
-
+ (int32_t)style_get_grid_auto_flow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1797
|
-
+ (void)style_set_grid_auto_flow:(void * _Nonnull)style :(int32_t)value;
|
|
1798
|
-
+ (void)style_set_grid_area:(void * _Nonnull)style :(CMasonGridPlacement)row_start :(CMasonGridPlacement)row_end :(CMasonGridPlacement)column_start :(CMasonGridPlacement)column_end;
|
|
1799
|
-
+ (void)style_set_grid_column:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
1800
|
-
+ (CMasonGridPlacement)style_get_grid_column_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1801
|
-
+ (void)style_set_grid_column_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1802
|
-
+ (CMasonGridPlacement)style_get_grid_column_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1803
|
-
+ (void)style_set_grid_column_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1804
|
-
+ (void)style_set_grid_row:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
1805
|
-
+ (CMasonGridPlacement)style_get_grid_row_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1806
|
-
+ (void)style_set_grid_row_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1807
|
-
+ (CMasonGridPlacement)style_get_grid_row_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1808
|
-
+ (void)style_set_grid_row_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1809
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1810
|
-
+ (void)style_set_grid_template_rows:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
1811
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1812
|
-
+ (void)style_set_grid_template_columns:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
1813
|
-
+ (void)destroyWithNonRepeatedTrackSizingFunctionArray:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)nonRepeatedTrackSizingFunctionArray;
|
|
1814
|
-
+ (void)destroyWithTrackSizingFunctionArray:(CMasonTrackSizingFunctionArray * _Nonnull)trackSizingFunctionArray;
|
|
1815
|
-
+ (NSString * _Nonnull)util_parse_non_repeated_track_sizing_function:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1816
|
-
+ (NSString * _Nonnull)util_parse_auto_repeating_track_sizing_function:(CMasonTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1817
|
-
+ (CMasonMinMax)util_create_non_repeated_track_sizing_function_with_type_value:(int32_t)track_type :(float)track_value SWIFT_WARN_UNUSED_RESULT;
|
|
1818
|
-
+ (void)style_update_with_values:(void * _Nonnull)style :(int32_t)display :(int32_t)position :(int32_t)direction :(int32_t)flexDirection :(int32_t)flexWrap :(int32_t)overflow :(int32_t)alignItems :(int32_t)alignSelf :(int32_t)alignContent :(int32_t)justifyItems :(int32_t)justifySelf :(int32_t)justifyContent :(int32_t)insetLeftType :(float)insetLeftValue :(int32_t)insetRightType :(float)insetRightValue :(int32_t)insetTopType :(float)insetTopValue :(int32_t)insetBottomType :(float)insetBottomValue :(int32_t)marginLeftType :(float)marginLeftValue :(int32_t)marginRightType :(float)marginRightValue :(int32_t)marginTopType :(float)marginTopValue :(int32_t)marginBottomType :(float)marginBottomValue :(int32_t)paddingLeftType :(float)paddingLeftValue :(int32_t)paddingRightType :(float)paddingRightValue :(int32_t)paddingTopType :(float)paddingTopValue :(int32_t)paddingBottomType :(float)paddingBottomValue :(int32_t)borderLeftType :(float)borderLeftValue :(int32_t)borderRightType :(float)borderRightValue :(int32_t)borderTopType :(float)borderTopValue :(int32_t)borderBottomType :(float)borderBottomValue :(float)flexGrow :(float)flexShrink :(int32_t)flexBasisType :(float)flexBasisValue :(int32_t)widthType :(float)widthValue :(int32_t)heightType :(float)heightValue :(int32_t)minWidthType :(float)minWidthValue :(int32_t)minHeightType :(float)minHeightValue :(int32_t)maxWidthType :(float)maxWidthValue :(int32_t)maxHeightType :(float)maxHeightValue :(int32_t)gapRowType :(float)gapRowValue :(int32_t)gapColumnType :(float)gapColumnValue :(float)aspectRatio :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoRows :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoColumns :(int32_t)gridAutoFlow :(int32_t)gridColumnStartType :(int16_t)gridColumnStartValue :(int32_t)gridColumnEndType :(int16_t)gridColumnEndValue :(int32_t)gridRowStartType :(int16_t)gridRowStartValue :(int32_t)gridRowEndType :(int16_t)gridRowEndValue :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateRows :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateColumns :(int32_t)overflowX :(int32_t)overflowY scrollBarWidth:(float)scrollBarWidth;
|
|
1819
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1820
|
-
@end
|
|
1821
|
-
|
|
1703
|
+
@class NSMutableData;
|
|
1704
|
+
@class NSData;
|
|
1822
1705
|
enum Position : NSInteger;
|
|
1823
1706
|
enum Overflow : NSInteger;
|
|
1707
|
+
enum MasonTextAlign : NSInteger;
|
|
1824
1708
|
@class MinMax;
|
|
1825
1709
|
@class TrackSizingFunction;
|
|
1826
1710
|
|
|
1827
1711
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
1828
1712
|
@interface MasonStyle : NSObject
|
|
1829
|
-
@property (nonatomic,
|
|
1830
|
-
|
|
1713
|
+
@property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
|
|
1714
|
+
@property (nonatomic, copy) NSData * _Nonnull values;
|
|
1715
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
1831
1716
|
@property (nonatomic) enum Display display;
|
|
1832
1717
|
@property (nonatomic) enum Position position;
|
|
1833
1718
|
@property (nonatomic) enum Direction direction;
|
|
1834
1719
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
1835
1720
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
1836
|
-
@property (nonatomic) enum Overflow overflow;
|
|
1837
1721
|
@property (nonatomic) enum Overflow overflowX;
|
|
1838
1722
|
@property (nonatomic) enum Overflow overflowY;
|
|
1839
1723
|
@property (nonatomic) enum AlignItems alignItems;
|
|
@@ -1870,6 +1754,8 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
1870
1754
|
@property (nonatomic) float flexShrink;
|
|
1871
1755
|
- (void)setFlexBasis:(float)value :(NSInteger)type;
|
|
1872
1756
|
- (void)setScrollBarWidth:(float)value;
|
|
1757
|
+
@property (nonatomic) enum MasonTextAlign textAlign;
|
|
1758
|
+
@property (nonatomic) enum MasonBoxSizing boxSizing;
|
|
1873
1759
|
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
|
|
1874
1760
|
- (void)setMinSizeWidth:(float)value :(NSInteger)type;
|
|
1875
1761
|
- (void)setMinSizeHeight:(float)value :(NSInteger)type;
|
|
@@ -1900,125 +1786,86 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
1900
1786
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
|
|
1901
1787
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
|
|
1902
1788
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
|
|
1789
|
+
- (void)updateNativeStyle;
|
|
1903
1790
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1904
|
-
@end
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
SWIFT_CLASS_NAMED("MaxSizing")
|
|
1908
|
-
@interface MaxSizing : NSObject
|
|
1909
|
-
@property (nonatomic, readonly) float value;
|
|
1910
|
-
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1911
|
-
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1912
|
-
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1913
|
-
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1914
|
-
+ (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
1915
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
1916
|
-
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1917
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
1918
|
-
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
1919
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
1920
|
-
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
1921
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1922
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1923
1791
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1924
1792
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1925
1793
|
@end
|
|
1926
1794
|
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
@
|
|
1930
|
-
|
|
1931
|
-
@
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
@
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
@property (nonatomic,
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
- (
|
|
1967
|
-
|
|
1795
|
+
@class NSCoder;
|
|
1796
|
+
@class NSMutableAttributedString;
|
|
1797
|
+
@class UIFont;
|
|
1798
|
+
enum TextTransform : NSInteger;
|
|
1799
|
+
@class UIColor;
|
|
1800
|
+
enum TextWrap : NSInteger;
|
|
1801
|
+
|
|
1802
|
+
SWIFT_CLASS_NAMED("MasonText")
|
|
1803
|
+
@interface MasonText : UIView
|
|
1804
|
+
@property (nonatomic, readonly, strong) MasonText * _Nullable owner;
|
|
1805
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1806
|
+
@property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
|
|
1807
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
1808
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)masonNode OBJC_DESIGNATED_INITIALIZER;
|
|
1809
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1810
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1811
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1812
|
+
- (void)markNodeDirty;
|
|
1813
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1814
|
+
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
1815
|
+
- (void)updateText:(NSString * _Nullable)value;
|
|
1816
|
+
@property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
|
|
1817
|
+
@property (nonatomic, readonly, strong) UIFont * _Nonnull font;
|
|
1818
|
+
- (void)invalidateStyle:(int64_t)state;
|
|
1819
|
+
@property (nonatomic) enum TextTransform textTransform;
|
|
1820
|
+
@property (nonatomic) CGFloat fontSize;
|
|
1821
|
+
@property (nonatomic) enum FontStyle fontStyle;
|
|
1822
|
+
- (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
|
|
1823
|
+
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
1824
|
+
@property (nonatomic) uint32_t color;
|
|
1825
|
+
@property (nonatomic) uint32_t backgroundColorValue;
|
|
1826
|
+
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
1827
|
+
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
1828
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
1829
|
+
@property (nonatomic) uint32_t decorationColor;
|
|
1830
|
+
@property (nonatomic) enum DecorationLine decorationLine;
|
|
1831
|
+
@property (nonatomic) enum TextWrap textWrap;
|
|
1832
|
+
- (void)drawRect:(CGRect)rect;
|
|
1833
|
+
- (void)addView:(UIView * _Nonnull)view :(NSInteger)index;
|
|
1834
|
+
- (void)removeView:(UIView * _Nonnull)view;
|
|
1835
|
+
@property (nonatomic, copy) NSString * _Nullable text;
|
|
1836
|
+
- (void)syncStyle:(NSString * _Nonnull)state :(NSString * _Nonnull)textState;
|
|
1837
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1968
1838
|
@end
|
|
1969
1839
|
|
|
1970
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
PositionRelative = 0,
|
|
1979
|
-
PositionAbsolute = 1,
|
|
1840
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "MasonTextAlign", open) {
|
|
1841
|
+
MasonTextAlignAuto = 0,
|
|
1842
|
+
MasonTextAlignLeft = 1,
|
|
1843
|
+
MasonTextAlignRight = 2,
|
|
1844
|
+
MasonTextAlignCenter = 3,
|
|
1845
|
+
MasonTextAlignJustify = 4,
|
|
1846
|
+
MasonTextAlignStart = 5,
|
|
1847
|
+
MasonTextAlignEnd = 6,
|
|
1980
1848
|
};
|
|
1981
1849
|
|
|
1982
1850
|
|
|
1983
|
-
SWIFT_CLASS_NAMED("
|
|
1984
|
-
@interface
|
|
1985
|
-
@property (nonatomic, readonly)
|
|
1986
|
-
- (
|
|
1987
|
-
- (
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
+ (
|
|
1992
|
-
+ (
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
@
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
2000
|
-
@interface TrackSizingFunction : NSObject
|
|
2001
|
-
@property (nonatomic, readonly) BOOL isRepeating;
|
|
2002
|
-
@property (nonatomic, readonly) id _Nullable value;
|
|
2003
|
-
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2004
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2005
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2006
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2007
|
-
@end
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
@interface UIView (SWIFT_EXTENSION(Mason))
|
|
2011
|
-
@property (nonatomic, readonly, strong) UIView * _Nullable rootView;
|
|
2012
|
-
+ (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
|
|
2013
|
-
+ (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
|
|
2014
|
-
+ (UIView * _Nonnull)createBlockView SWIFT_WARN_UNUSED_RESULT;
|
|
2015
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;
|
|
2016
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
2017
|
-
+ (NSInteger)masonPtr SWIFT_WARN_UNUSED_RESULT;
|
|
2018
|
-
@property (nonatomic, readonly) NSInteger masonNodePtr;
|
|
2019
|
-
@property (nonatomic, readonly) NSInteger masonStylePtr;
|
|
2020
|
-
@property (nonatomic, readonly) BOOL isMasonEnabled;
|
|
1851
|
+
SWIFT_CLASS_NAMED("MasonUIView")
|
|
1852
|
+
@interface MasonUIView : UIView
|
|
1853
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1854
|
+
- (void)markNodeDirty;
|
|
1855
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1856
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1857
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1858
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1859
|
+
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1860
|
+
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1861
|
+
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1862
|
+
@property (nonatomic, readonly) int64_t masonPtr;
|
|
1863
|
+
@property (nonatomic, readonly) int64_t masonNodePtr;
|
|
1864
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull masonPtrs;
|
|
2021
1865
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
1866
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
1867
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1868
|
+
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
2022
1869
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
2023
1870
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
2024
1871
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
@@ -2028,7 +1875,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
2028
1875
|
@property (nonatomic) enum Direction direction;
|
|
2029
1876
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
2030
1877
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
2031
|
-
@property (nonatomic) enum Overflow overflow;
|
|
2032
1878
|
@property (nonatomic) enum Overflow overflowX;
|
|
2033
1879
|
@property (nonatomic) enum Overflow overflowY;
|
|
2034
1880
|
@property (nonatomic) enum AlignItems alignItems;
|
|
@@ -2118,14 +1964,136 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
2118
1964
|
- (void)setColumnGap:(float)column :(NSInteger)type;
|
|
2119
1965
|
- (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
|
|
2120
1966
|
- (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
|
|
1967
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
2121
1968
|
@end
|
|
2122
1969
|
|
|
2123
|
-
|
|
2124
|
-
|
|
1970
|
+
|
|
1971
|
+
SWIFT_CLASS_NAMED("MaxSizing")
|
|
1972
|
+
@interface MaxSizing : NSObject
|
|
1973
|
+
@property (nonatomic, readonly) float value;
|
|
1974
|
+
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1975
|
+
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1976
|
+
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1977
|
+
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1978
|
+
+ (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
1979
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
1980
|
+
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1981
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
1982
|
+
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
1983
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
1984
|
+
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
1985
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1986
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1987
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1988
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1989
|
+
@end
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
1993
|
+
@interface MeasureOutput : NSObject
|
|
1994
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1995
|
+
@end
|
|
1996
|
+
|
|
1997
|
+
@class MinSizing;
|
|
1998
|
+
|
|
1999
|
+
SWIFT_CLASS_NAMED("MinMax")
|
|
2000
|
+
@interface MinMax : NSObject
|
|
2001
|
+
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
2002
|
+
+ (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
2003
|
+
+ (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
2004
|
+
+ (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
2005
|
+
+ (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
2006
|
+
+ (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
2007
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
|
|
2008
|
+
+ (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
2009
|
+
+ (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
|
|
2010
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
2011
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
2012
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2013
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2014
|
+
@end
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
SWIFT_CLASS_NAMED("MinSizing")
|
|
2018
|
+
@interface MinSizing : NSObject
|
|
2019
|
+
@property (nonatomic, readonly) float value;
|
|
2020
|
+
+ (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
2021
|
+
+ (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
2022
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
|
|
2023
|
+
+ (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
2024
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
|
|
2025
|
+
+ (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
2026
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
|
|
2027
|
+
+ (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
2028
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
2029
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
2030
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2031
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2032
|
+
@end
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
SWIFT_CLASS_NAMED("NSCMason")
|
|
2036
|
+
@interface NSCMason : NSObject
|
|
2037
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
2038
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull shared;)
|
|
2039
|
+
+ (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
2040
|
+
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
2041
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2042
|
+
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
2043
|
+
- (void)clear;
|
|
2044
|
+
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
2045
|
+
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
2046
|
+
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
2047
|
+
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
2048
|
+
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
2049
|
+
@end
|
|
2050
|
+
|
|
2051
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
|
|
2052
|
+
OverflowUnset = 0,
|
|
2053
|
+
OverflowVisible = 1,
|
|
2054
|
+
OverflowHidden = 2,
|
|
2055
|
+
OverflowScroll = 3,
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
|
|
2059
|
+
PositionRelative = 0,
|
|
2060
|
+
PositionAbsolute = 1,
|
|
2061
|
+
};
|
|
2062
|
+
|
|
2063
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextTransform, "TextTransform", open) {
|
|
2064
|
+
TextTransformNone = 0,
|
|
2065
|
+
TextTransformCapitalize = 1,
|
|
2066
|
+
TextTransformUppercase = 2,
|
|
2067
|
+
TextTransformLowercase = 3,
|
|
2068
|
+
TextTransformFullWidth = 4,
|
|
2069
|
+
TextTransformFullSizeKana = 5,
|
|
2070
|
+
TextTransformMathAuto = 6,
|
|
2071
|
+
};
|
|
2072
|
+
|
|
2073
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextWrap, "TextWrap", open) {
|
|
2074
|
+
TextWrapNoWrap = 0,
|
|
2075
|
+
TextWrapWrap = 1,
|
|
2076
|
+
TextWrapBalance = 2,
|
|
2077
|
+
};
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
2081
|
+
@interface TrackSizingFunction : NSObject
|
|
2082
|
+
@property (nonatomic, readonly) BOOL isRepeating;
|
|
2083
|
+
@property (nonatomic, readonly) id _Nullable value;
|
|
2084
|
+
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2085
|
+
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2086
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2087
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2088
|
+
@end
|
|
2089
|
+
|
|
2090
|
+
|
|
2125
2091
|
#endif
|
|
2126
2092
|
#if __has_attribute(external_source_symbol)
|
|
2127
2093
|
# pragma clang attribute pop
|
|
2128
2094
|
#endif
|
|
2095
|
+
#if defined(__cplusplus)
|
|
2096
|
+
#endif
|
|
2129
2097
|
#pragma clang diagnostic pop
|
|
2130
2098
|
#endif
|
|
2131
2099
|
|