diff --git a/AccessibilityDocumentation/AccessibilityDocumentation.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/AccessibilityDocumentation/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to AccessibilityDocumentation/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/AccessibilityDocumentation/AccessibilityDocumentation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/AccessibilityDocumentation/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to AccessibilityDocumentation/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/AccessibilityDocumentation/AccessibilityDocumentation.xcodeproj/project.pbxproj b/AccessibilityDocumentation/AccessibilityDocumentation.xcodeproj/project.pbxproj deleted file mode 100644 index 823a345..0000000 --- a/AccessibilityDocumentation/AccessibilityDocumentation.xcodeproj/project.pbxproj +++ /dev/null @@ -1,361 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 56; - objects = { - -/* Begin PBXBuildFile section */ - 746311EE2B23EC2C00BEC99D /* UIAccessibility_.swift in Sources */ = {isa = PBXBuildFile; fileRef = 746311ED2B23EC2C00BEC99D /* UIAccessibility_.swift */; }; - 746311F02B23EC3800BEC99D /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 746311EF2B23EC3800BEC99D /* Constants.swift */; }; - 74E86E7B2B22501500BF0108 /* AccessibilityDocumentationApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74E86E7A2B22501500BF0108 /* AccessibilityDocumentationApp.swift */; }; - 74E86E7D2B22501500BF0108 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74E86E7C2B22501500BF0108 /* ContentView.swift */; }; - 74E86E7F2B22501600BF0108 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 74E86E7E2B22501600BF0108 /* Assets.xcassets */; }; - 74E86E822B22501600BF0108 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 74E86E812B22501600BF0108 /* Preview Assets.xcassets */; }; - 74E86E892B22503B00BF0108 /* Documentation.docc in Sources */ = {isa = PBXBuildFile; fileRef = 74E86E882B22503B00BF0108 /* Documentation.docc */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 746311ED2B23EC2C00BEC99D /* UIAccessibility_.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIAccessibility_.swift; sourceTree = ""; }; - 746311EF2B23EC3800BEC99D /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = ""; }; - 74E86E772B22501500BF0108 /* AccessibilityDocumentation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AccessibilityDocumentation.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 74E86E7A2B22501500BF0108 /* AccessibilityDocumentationApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccessibilityDocumentationApp.swift; sourceTree = ""; }; - 74E86E7C2B22501500BF0108 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; - 74E86E7E2B22501600BF0108 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 74E86E812B22501600BF0108 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - 74E86E882B22503B00BF0108 /* Documentation.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Documentation.docc; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 74E86E742B22501500BF0108 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 74E86E6E2B22501500BF0108 = { - isa = PBXGroup; - children = ( - 74E86E792B22501500BF0108 /* AccessibilityDocumentation */, - 74E86E782B22501500BF0108 /* Products */, - ); - sourceTree = ""; - }; - 74E86E782B22501500BF0108 /* Products */ = { - isa = PBXGroup; - children = ( - 74E86E772B22501500BF0108 /* AccessibilityDocumentation.app */, - ); - name = Products; - sourceTree = ""; - }; - 74E86E792B22501500BF0108 /* AccessibilityDocumentation */ = { - isa = PBXGroup; - children = ( - 74E86E882B22503B00BF0108 /* Documentation.docc */, - 746311ED2B23EC2C00BEC99D /* UIAccessibility_.swift */, - 746311EF2B23EC3800BEC99D /* Constants.swift */, - 74E86E7A2B22501500BF0108 /* AccessibilityDocumentationApp.swift */, - 74E86E7C2B22501500BF0108 /* ContentView.swift */, - 74E86E7E2B22501600BF0108 /* Assets.xcassets */, - 74E86E802B22501600BF0108 /* Preview Content */, - ); - path = AccessibilityDocumentation; - sourceTree = ""; - }; - 74E86E802B22501600BF0108 /* Preview Content */ = { - isa = PBXGroup; - children = ( - 74E86E812B22501600BF0108 /* Preview Assets.xcassets */, - ); - path = "Preview Content"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 74E86E762B22501500BF0108 /* AccessibilityDocumentation */ = { - isa = PBXNativeTarget; - buildConfigurationList = 74E86E852B22501600BF0108 /* Build configuration list for PBXNativeTarget "AccessibilityDocumentation" */; - buildPhases = ( - 74E86E732B22501500BF0108 /* Sources */, - 74E86E742B22501500BF0108 /* Frameworks */, - 74E86E752B22501500BF0108 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = AccessibilityDocumentation; - productName = AccessibilityDocumentation; - productReference = 74E86E772B22501500BF0108 /* AccessibilityDocumentation.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 74E86E6F2B22501500BF0108 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1500; - LastUpgradeCheck = 1500; - TargetAttributes = { - 74E86E762B22501500BF0108 = { - CreatedOnToolsVersion = 15.0; - }; - }; - }; - buildConfigurationList = 74E86E722B22501500BF0108 /* Build configuration list for PBXProject "AccessibilityDocumentation" */; - compatibilityVersion = "Xcode 14.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 74E86E6E2B22501500BF0108; - productRefGroup = 74E86E782B22501500BF0108 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 74E86E762B22501500BF0108 /* AccessibilityDocumentation */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 74E86E752B22501500BF0108 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74E86E822B22501600BF0108 /* Preview Assets.xcassets in Resources */, - 74E86E7F2B22501600BF0108 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 74E86E732B22501500BF0108 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 746311F02B23EC3800BEC99D /* Constants.swift in Sources */, - 74E86E7D2B22501500BF0108 /* ContentView.swift in Sources */, - 74E86E892B22503B00BF0108 /* Documentation.docc in Sources */, - 746311EE2B23EC2C00BEC99D /* UIAccessibility_.swift in Sources */, - 74E86E7B2B22501500BF0108 /* AccessibilityDocumentationApp.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 74E86E832B22501600BF0108 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 74E86E842B22501600BF0108 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 74E86E862B22501600BF0108 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"AccessibilityDocumentation/Preview Content\""; - DEVELOPMENT_TEAM = P67Q4Q7HA9; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.VOD.AccessibilityDocumentation; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 74E86E872B22501600BF0108 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"AccessibilityDocumentation/Preview Content\""; - DEVELOPMENT_TEAM = P67Q4Q7HA9; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.VOD.AccessibilityDocumentation; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 74E86E722B22501500BF0108 /* Build configuration list for PBXProject "AccessibilityDocumentation" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 74E86E832B22501600BF0108 /* Debug */, - 74E86E842B22501600BF0108 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 74E86E852B22501600BF0108 /* Build configuration list for PBXNativeTarget "AccessibilityDocumentation" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 74E86E862B22501600BF0108 /* Debug */, - 74E86E872B22501600BF0108 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 74E86E6F2B22501500BF0108 /* Project object */; -} diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/AccessibilityDocumentationApp.swift b/AccessibilityDocumentation/AccessibilityDocumentation/AccessibilityDocumentationApp.swift deleted file mode 100644 index 7ff75e2..0000000 --- a/AccessibilityDocumentation/AccessibilityDocumentation/AccessibilityDocumentationApp.swift +++ /dev/null @@ -1,17 +0,0 @@ -// -// AccessibilityDocumentationApp.swift -// AccessibilityDocumentation -// -// Created by Mikhail Rubanov on 07.12.2023. -// - -import SwiftUI - -@main -struct AccessibilityDocumentationApp: App { - var body: some Scene { - WindowGroup { - ContentView() - } - } -} diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/AccentColor.colorset/Contents.json b/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/AccentColor.colorset/Contents.json deleted file mode 100644 index eb87897..0000000 --- a/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/AccentColor.colorset/Contents.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "colors" : [ - { - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/AppIcon.appiconset/Contents.json b/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 13613e3..0000000 --- a/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "platform" : "ios", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/Contents.json b/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/Contents.json deleted file mode 100644 index 73c0059..0000000 --- a/AccessibilityDocumentation/AccessibilityDocumentation/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/ContentView.swift b/AccessibilityDocumentation/AccessibilityDocumentation/ContentView.swift deleted file mode 100644 index f5b9cc7..0000000 --- a/AccessibilityDocumentation/AccessibilityDocumentation/ContentView.swift +++ /dev/null @@ -1,24 +0,0 @@ -// -// ContentView.swift -// AccessibilityDocumentation -// -// Created by Mikhail Rubanov on 07.12.2023. -// - -import SwiftUI - -struct ContentView: View { - var body: some View { - VStack { - Image(systemName: "globe") - .imageScale(.large) - .foregroundStyle(.tint) - Text("Hello, world!") - } - .padding() - } -} - -#Preview { - ContentView() -} diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Preview Content/Preview Assets.xcassets/Contents.json b/AccessibilityDocumentation/AccessibilityDocumentation/Preview Content/Preview Assets.xcassets/Contents.json deleted file mode 100644 index 73c0059..0000000 --- a/AccessibilityDocumentation/AccessibilityDocumentation/Preview Content/Preview Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/AccessibilityDocumentation/Package.swift b/AccessibilityDocumentation/Package.swift new file mode 100644 index 0000000..9c661cc --- /dev/null +++ b/AccessibilityDocumentation/Package.swift @@ -0,0 +1,17 @@ +// swift-tools-version: 5.9 + +import PackageDescription + +let package = Package( + name: "AccessibilityDocumentation", + platforms: [.iOS(.v17)], + products: [ + .library( + name: "AccessibilityDocumentation", + targets: ["AccessibilityDocumentation"]), + ], + targets: [ + .target( + name: "AccessibilityDocumentation"), + ] +) diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Constants.swift b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Constants.swift similarity index 94% rename from AccessibilityDocumentation/AccessibilityDocumentation/Constants.swift rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Constants.swift index fc76489..5e8f036 100644 --- a/AccessibilityDocumentation/AccessibilityDocumentation/Constants.swift +++ b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Constants.swift @@ -7,7 +7,7 @@ import Foundation // Copyright (c) 2009-2018 Apple Inc. All rights reserved. // -/* +/** Accessibility Traits Traits are combined in a mask to help assistive applications understand @@ -62,47 +62,47 @@ extension UIAccessibilityTraits_ { public static var none: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the element should be treated as a button. + /// Used when the element should be treated as a button. public static var button: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the element should be treated as a link. + /// Used when the element should be treated as a link. public static var link: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when an element acts as a header for a content section (e.g. the title of a navigation bar). + /// Used when an element acts as a header for a content section (e.g. the title of a navigation bar). @available(iOS 6.0, *) public static var header: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the text field element should also be treated as a search field. + /// Used when the text field element should also be treated as a search field. public static var searchField: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the element should be treated as an image. Can be combined with button or link, for example. + /// Used when the element should be treated as an image. Can be combined with button or link, for example. public static var image: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Used when the element is selected. For example, a selected row in a table or a selected button within a segmented control. */ public static var selected: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the element plays its own sound when activated. + /// Used when the element plays its own sound when activated. public static var playsSound: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the element acts as a keyboard key. + /// Used when the element acts as a keyboard key. public static var keyboardKey: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the element should be treated as static text that cannot change. + /// Used when the element should be treated as static text that cannot change. public static var staticText: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Used when an element can be used to provide a quick summary of current conditions in the app when the app first launches. For example, when Weather first launches, the element with today's weather conditions is marked with @@ -111,18 +111,18 @@ extension UIAccessibilityTraits_ { public static var summaryElement: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the control is not enabled and does not respond to user input. + /// Used when the control is not enabled and does not respond to user input. public static var notEnabled: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Used when the element frequently updates its label or value, but too often to send notifications. Allows an accessibility client to poll for changes. A stopwatch would be an example. */ public static var updatesFrequently: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Used when activating an element starts a media session (e.g. playing a movie, recording audio) that should not be interrupted by output from an assistive technology, like VoiceOver. */ @@ -130,20 +130,20 @@ extension UIAccessibilityTraits_ { public static var startsMediaSession: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Used when an element can be "adjusted" (e.g. a slider). The element must also - implement accessibilityIncrement and accessibilityDecrement. + implement accessibilityIncrement and accessibilityDecrement. Read for detailed explanation */ @available(iOS 4.0, *) public static var adjustable: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when an element allows direct touch interaction for VoiceOver users (for example, a view representing a piano keyboard). + /// Used when an element allows direct touch interaction for VoiceOver users (for example, a view representing a piano keyboard). @available(iOS 5.0, *) public static var allowsDirectInteraction: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Informs VoiceOver that it should scroll to the next page when it finishes reading the contents of the element. VoiceOver will scroll by calling accessibilityScroll: with UIAccessibilityScrollDirectionNext and will stop scrolling when it detects the content has not changed. @@ -152,7 +152,7 @@ extension UIAccessibilityTraits_ { public static var causesPageTurn: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Used when a view or accessibility container represents an ordered list of tabs. The object with this trait should return NO for isAccessibilityElement. */ @@ -160,12 +160,12 @@ extension UIAccessibilityTraits_ { public static var tabBar: UIAccessibilityTraits_ = .init(rawValue: 0) - // Used when the element should be treated as a toggle. + /// Used when the element should be treated as a toggle. @available(iOS 17.0, *) public static var toggleButton: UIAccessibilityTraits_ = .init(rawValue: 0) - /* + /** Used when the element has zoom functionality. */ @available(iOS 17.0, *) diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/AdjustableElements.md b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/AdjustableElements.md similarity index 83% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/AdjustableElements.md rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/AdjustableElements.md index 3630f7b..6c2568e 100644 --- a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/AdjustableElements.md +++ b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/AdjustableElements.md @@ -9,13 +9,15 @@ Simplifies interactions with a complex element for VoiceOver. ## Overview -By default any element can contains ``Book/accessibilityValue`` to expose additional data for user. Some elements come complicated and can contain dynamic value, controlled by vertical swipe. Examples: +By default any element can contains ``AccessibilityDocumentation/`` to expose additional data for user. Some elements come complicated and can contain dynamic value, controlled by vertical swipe. Examples: - Slider - Stepper - Any horizontal carousel > Note: After vertical swipe reads only the new value, a label is omitted to avoid repeatness. +Tutorial for detailed explanation. + ### How to setup - Accessible element can be marked by ``UIAccessibilityTraits_/adjustable`` trait to make ``Book/accessibilityValue`` dynamic. @@ -42,8 +44,5 @@ var accessibilityTraits: UIAccessibilityTraits { } ``` -Check - // TODO: Visual Samples - // TODO: Selection follow focus diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/AdjustableTutorial.tutorial b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/AdjustableTutorial.tutorial similarity index 98% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/AdjustableTutorial.tutorial rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/AdjustableTutorial.tutorial index 47a96e4..16d3c4e 100644 --- a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/AdjustableTutorial.tutorial +++ b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/AdjustableTutorial.tutorial @@ -1,5 +1,5 @@ @Tutorial(time: 10) { - @Intro(title: "Describe adjustable elements") { + @Intro(title: "Setup adjustable elements") { Simplifies interactions with a complex element for VoiceOver. } diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Documentation.md b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Documentation.md similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Documentation.md rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Documentation.md diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_1.swift b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_1.swift similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_1.swift rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_1.swift diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_2.swift b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_2.swift similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_2.swift rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_2.swift diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_3.swift b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_3.swift similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_3.swift rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_3.swift diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_4.swift b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_4.swift similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_4.swift rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_4.swift diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_5.swift b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_5.swift similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_5.swift rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/AdjustableTutorial/AdjustableTutorialStep_5.swift diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner.png b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner.png similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner.png rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner.png diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner~dark.png b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner~dark.png similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner~dark.png rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Resources/VoiceOverDesigner~dark.png diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Tutorial Table of Contents.tutorial b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Tutorial Table of Contents.tutorial similarity index 100% rename from AccessibilityDocumentation/AccessibilityDocumentation/Documentation.docc/Tutorial Table of Contents.tutorial rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/Documentation.docc/Tutorial Table of Contents.tutorial diff --git a/AccessibilityDocumentation/AccessibilityDocumentation/UIAccessibility_.swift b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/UIAccessibility_.swift similarity index 95% rename from AccessibilityDocumentation/AccessibilityDocumentation/UIAccessibility_.swift rename to AccessibilityDocumentation/Sources/AccessibilityDocumentation/UIAccessibility_.swift index 0e377f3..6c411ce 100644 --- a/AccessibilityDocumentation/AccessibilityDocumentation/UIAccessibility_.swift +++ b/AccessibilityDocumentation/Sources/AccessibilityDocumentation/UIAccessibility_.swift @@ -1,5 +1,5 @@ import UIKit - +import Foundation // // UIAccessibility.h // UIKit @@ -19,7 +19,7 @@ import UIKit A completely custom subclass of UIView might need to override all of the UIAccessibility methods except accessibilityFrame. */ -class Book { +public class Book { /** Return YES if the receiver should be exposed as an accessibility element. @@ -517,7 +517,7 @@ class Book { public static let voiceOverStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether system audio is mixed down from stereo to mono. + /// Returns whether system audio is mixed down from stereo to mono. @available(iOS 5.0, *) public static var isMonoAudioEnabled: Bool { false } @@ -526,7 +526,7 @@ class Book { public static let monoAudioStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for closed captioning is enabled. + /// Returns whether the system preference for closed captioning is enabled. @available(iOS 5.0, *) public static var isClosedCaptioningEnabled: Bool { false } @@ -535,7 +535,7 @@ class Book { public static let closedCaptioningStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for invert colors is enabled. + /// Returns whether the system preference for invert colors is enabled. @available(iOS 6.0, *) public static var isInvertColorsEnabled: Bool { false } @@ -544,7 +544,7 @@ class Book { public static let invertColorsStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the app is running under Guided Access mode. + /// Returns whether the app is running under Guided Access mode. @available(iOS 6.0, *) public static var isGuidedAccessEnabled: Bool { false } @@ -553,7 +553,7 @@ class Book { public static let guidedAccessStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for bold text is enabled + /// Returns whether the system preference for bold text is enabled @available(iOS 8.0, *) public static var isBoldTextEnabled: Bool { false } @@ -562,7 +562,7 @@ class Book { public static let boldTextStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for button shapes is enabled + /// Returns whether the system preference for button shapes is enabled @available(iOS 14.0, *) public static var buttonShapesEnabled: Bool { false } @@ -571,7 +571,7 @@ class Book { public static let buttonShapesEnabledStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for grayscale is enabled + /// Returns whether the system preference for grayscale is enabled @available(iOS 8.0, *) public static var isGrayscaleEnabled: Bool { false } @@ -580,7 +580,7 @@ class Book { public static let grayscaleStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for reduce transparency is enabled + /// Returns whether the system preference for reduce transparency is enabled @available(iOS 8.0, *) public static var isReduceTransparencyEnabled: Bool { false } @@ -589,7 +589,7 @@ class Book { public static let reduceTransparencyStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for reduce motion is enabled + /// Returns whether the system preference for reduce motion is enabled @available(iOS 8.0, *) public static var isReduceMotionEnabled: Bool { false } @@ -598,7 +598,7 @@ class Book { public static let reduceMotionStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for reduce motion: prefer cross-fade transitions is enabled + /// Returns whether the system preference for reduce motion: prefer cross-fade transitions is enabled @available(iOS 14.0, *) public static var prefersCrossFadeTransitions: Bool { false } @@ -607,7 +607,7 @@ class Book { public static let prefersCrossFadeTransitionsStatusDidChange: NSNotification.Name = .init("") - // Returns whether the system preference for auto-play videos is enabled + /// Returns whether the system preference for auto-play videos is enabled @available(iOS 13.0, *) public static var isVideoAutoplayEnabled: Bool { false } @@ -616,7 +616,7 @@ class Book { public static let videoAutoplayStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for darker colors is enabled + /// Returns whether the system preference for darker colors is enabled @available(iOS 8.0, *) public static var isDarkerSystemColorsEnabled: Bool { false } @@ -637,7 +637,7 @@ class Book { public static let switchControlStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for Speak Selection is enabled + /// Returns whether the system preference for Speak Selection is enabled @available(iOS 8.0, *) public static var isSpeakSelectionEnabled: Bool { false } @@ -646,7 +646,7 @@ class Book { public static let speakSelectionStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for Speak Screen is enabled + /// Returns whether the system preference for Speak Screen is enabled @available(iOS 8.0, *) public static var isSpeakScreenEnabled: Bool { false } @@ -655,7 +655,7 @@ class Book { public static let speakScreenStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for Shake to Undo is enabled + /// Returns whether the system preference for Shake to Undo is enabled @available(iOS 9.0, *) public static var isShakeToUndoEnabled: Bool { false } @@ -664,8 +664,8 @@ class Book { public static let shakeToUndoDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for AssistiveTouch is enabled. - // This always returns false if Guided Access is not enabled. + /// Returns whether the system preference for AssistiveTouch is enabled. + /// This always returns false if Guided Access is not enabled. @available(iOS 10.0, *) public static var isAssistiveTouchRunning: Bool { false } @@ -674,7 +674,7 @@ class Book { public static let assistiveTouchStatusDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for Differentiate without Color is enabled. + /// Returns whether the system preference for Differentiate without Color is enabled. @available(iOS 13.0, *) public static var shouldDifferentiateWithoutColor: Bool { false } @@ -683,7 +683,7 @@ class Book { public static let differentiateWithoutColorDidChangeNotification: NSNotification.Name = .init("") - // Returns whether the system preference for On/Off labels is enabled. + /// Returns whether the system preference for On/Off labels is enabled. @available(iOS 13.0, *) public static var isOnOffSwitchLabelsEnabled: Bool { false }