├── .eslintrc
├── .github
├── dependabot.yml
└── workflows
│ └── node.js.yml
├── .gitignore
├── LICENSE
├── README.md
├── UICatalog
├── UICatalog.xcodeproj
│ ├── project.pbxproj
│ └── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── UICatalog
│ ├── AAPLActionSheetViewController.h
│ ├── AAPLActionSheetViewController.m
│ ├── AAPLActivityIndicatorViewController.h
│ ├── AAPLActivityIndicatorViewController.m
│ ├── AAPLAlertViewController.h
│ ├── AAPLAlertViewController.m
│ ├── AAPLAppDelegate.h
│ ├── AAPLAppDelegate.m
│ ├── AAPLButtonViewController.h
│ ├── AAPLButtonViewController.m
│ ├── AAPLCustomSearchBarViewController.h
│ ├── AAPLCustomSearchBarViewController.m
│ ├── AAPLCustomToolbarViewController.h
│ ├── AAPLCustomToolbarViewController.m
│ ├── AAPLDatePickerController.h
│ ├── AAPLDatePickerController.m
│ ├── AAPLDefaultSearchBarViewController.h
│ ├── AAPLDefaultSearchBarViewController.m
│ ├── AAPLDefaultToolbarViewController.h
│ ├── AAPLDefaultToolbarViewController.m
│ ├── AAPLImageViewController.h
│ ├── AAPLImageViewController.m
│ ├── AAPLMasterViewController.h
│ ├── AAPLMasterViewController.m
│ ├── AAPLPageControlViewController.h
│ ├── AAPLPageControlViewController.m
│ ├── AAPLPickerViewController.h
│ ├── AAPLPickerViewController.m
│ ├── AAPLProgressViewController.h
│ ├── AAPLProgressViewController.m
│ ├── AAPLSegmentedControlViewController.h
│ ├── AAPLSegmentedControlViewController.m
│ ├── AAPLSliderViewController.h
│ ├── AAPLSliderViewController.m
│ ├── AAPLSplitViewControllerDelegate.h
│ ├── AAPLSplitViewControllerDelegate.m
│ ├── AAPLStepperViewController.h
│ ├── AAPLStepperViewController.m
│ ├── AAPLSwitchViewController.h
│ ├── AAPLSwitchViewController.m
│ ├── AAPLTextFieldViewController.h
│ ├── AAPLTextFieldViewController.m
│ ├── AAPLTextViewController.h
│ ├── AAPLTextViewController.m
│ ├── AAPLTintedToolbarViewController.h
│ ├── AAPLTintedToolbarViewController.m
│ ├── AAPLWebViewController.h
│ ├── AAPLWebViewController.m
│ ├── Base.lproj
│ │ ├── Main_iPad.storyboard
│ │ └── Main_iPhone.storyboard
│ ├── Images.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ ├── LaunchImage.launchimage
│ │ │ └── Contents.json
│ │ ├── bookmark_icon.imageset
│ │ │ ├── Contents.json
│ │ │ ├── bookmark_icon_1x.png
│ │ │ └── bookmark_icon_2x.png
│ │ ├── bookmark_icon_highlighted.imageset
│ │ │ ├── Contents.json
│ │ │ ├── bookmark_icon_highlighted_1x.png
│ │ │ └── bookmark_icon_highlighted_2x.png
│ │ ├── checkmark_icon.imageset
│ │ │ ├── Contents.json
│ │ │ ├── checkmark_icon_1x.png
│ │ │ └── checkmark_icon_2x.png
│ │ ├── image_animal_1.imageset
│ │ │ ├── Contents.json
│ │ │ └── image_animal_5.png
│ │ ├── image_animal_2.imageset
│ │ │ ├── Contents.json
│ │ │ └── image_animal_2.png
│ │ ├── image_animal_3.imageset
│ │ │ ├── Contents.json
│ │ │ └── image_animal_3.png
│ │ ├── image_animal_4.imageset
│ │ │ ├── Contents.json
│ │ │ └── image_animal_4.png
│ │ ├── image_animal_5.imageset
│ │ │ ├── Contents.json
│ │ │ └── image_animal_1.png
│ │ ├── search_bar_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── search_bar_bg_1x.png
│ │ │ └── search_bar_bg_2x.png
│ │ ├── search_icon.imageset
│ │ │ ├── Contents.json
│ │ │ ├── search_icon_1x.png
│ │ │ └── search_icon_2x.png
│ │ ├── slider_blue_track.imageset
│ │ │ ├── Contents.json
│ │ │ ├── slider_blue_track_1x.png
│ │ │ └── slider_blue_track_2x.png
│ │ ├── slider_green_track.imageset
│ │ │ ├── Contents.json
│ │ │ ├── slider_green_track_1x.png
│ │ │ └── slider_green_track_2x.png
│ │ ├── slider_thumb.imageset
│ │ │ ├── Contents.json
│ │ │ ├── slider_thumb_1x.png
│ │ │ └── slider_thumb_2x.png
│ │ ├── stepper_and_segment_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_background_1x.png
│ │ │ └── stepper_and_segment_background_2x.png
│ │ ├── stepper_and_segment_background_disabled.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_background_disabled_1x.png
│ │ │ └── stepper_and_segment_background_disabled_2x.png
│ │ ├── stepper_and_segment_background_highlighted.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_background_highlighted_1x.png
│ │ │ └── stepper_and_segment_background_highlighted_2x.png
│ │ ├── stepper_and_segment_segment_divider.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_segment_divider_1x.png
│ │ │ └── stepper_and_segment_segment_divider_2x.png
│ │ ├── stepper_decrement.imageset
│ │ │ ├── Contents.json
│ │ │ ├── decrement_1x.png
│ │ │ └── decrement_2x.png
│ │ ├── stepper_increment.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_increment_1x.png
│ │ │ └── stepper_increment_2x.png
│ │ ├── text_field_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── text_field_background_1x.png
│ │ │ └── text_field_background_2x.png
│ │ ├── text_field_purple_right_view.imageset
│ │ │ ├── Contents.json
│ │ │ ├── text_field_purple_right_view_1x.png
│ │ │ └── text_field_purple_right_view_2x.png
│ │ ├── text_view_attachment.imageset
│ │ │ ├── Contents.json
│ │ │ ├── text_view_attachment_1x.png
│ │ │ └── text_view_attachment_2x.png
│ │ ├── toolbar_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── toolbar_background_1x.png
│ │ │ └── toolbar_background_2x.png
│ │ ├── tools_icon.imageset
│ │ │ ├── Contents.json
│ │ │ ├── tools_icon_1x.png
│ │ │ └── tools_icon_2x.png
│ │ └── x_icon.imageset
│ │ │ ├── Contents.json
│ │ │ ├── x_icon_1x.png
│ │ │ └── x_icon_2x.png
│ ├── UICatalog-Info.plist
│ ├── UICatalog-Prefix.pch
│ ├── UIColor+AAPLApplicationSpecific.h
│ ├── UIColor+AAPLApplicationSpecific.m
│ ├── en.lproj
│ │ └── Localizable.strings
│ └── main.m
├── gulpfile.js
└── uicatalog-info.md
├── UIKitCatalog
├── Configuration
│ └── SampleCode.xcconfig
├── UIKitCatalog-iphonesimulator.zip
├── UIKitCatalog.xcodeproj
│ ├── .xcodesamplecode.plist
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── UIKitCatalog.xcscheme
├── UIKitCatalog
│ ├── ActivityIndicatorViewController.swift
│ ├── AlertControllerViewController.swift
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ ├── Contents.json
│ │ ├── Flowers_1.imageset
│ │ │ ├── Contents.json
│ │ │ └── Flowers_1.png
│ │ ├── Flowers_2.imageset
│ │ │ ├── Contents.json
│ │ │ └── Flowers_2.png
│ │ ├── search_bar_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── search_bar_background_3x.png
│ │ │ ├── search_bar_bg_1x.png
│ │ │ └── search_bar_bg_2x.png
│ │ ├── slider_blue_track.imageset
│ │ │ ├── Contents.json
│ │ │ ├── slider_blue_track_1x.png
│ │ │ ├── slider_blue_track_2x.png
│ │ │ └── slider_blue_track_3x.png
│ │ ├── slider_green_track.imageset
│ │ │ ├── Contents.json
│ │ │ ├── slider_green_track_1x.png
│ │ │ ├── slider_green_track_2x.png
│ │ │ └── slider_green_track_3x.png
│ │ ├── stepper_and_segment_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_background_1x.png
│ │ │ ├── stepper_and_segment_background_2x.png
│ │ │ └── stepper_and_segment_background_3x.png
│ │ ├── stepper_and_segment_background_disabled.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_background_disabled_1x.png
│ │ │ ├── stepper_and_segment_background_disabled_2x.png
│ │ │ └── stepper_and_segment_background_disabled_3x.png
│ │ ├── stepper_and_segment_background_highlighted.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_background_highlighted_1x.png
│ │ │ ├── stepper_and_segment_background_highlighted_2x.png
│ │ │ └── stepper_and_segment_background_highlighted_3x.png
│ │ ├── stepper_and_segment_segment_divider.imageset
│ │ │ ├── Contents.json
│ │ │ ├── stepper_and_segment_divider_3x.png
│ │ │ ├── stepper_and_segment_segment_divider_1x.png
│ │ │ └── stepper_and_segment_segment_divider_2x.png
│ │ ├── stepper_decrement.imageset
│ │ │ ├── Contents.json
│ │ │ ├── decrement_1x.png
│ │ │ ├── decrement_2x.png
│ │ │ └── stepper_decrement_3x.png
│ │ ├── stepper_increment.imageset
│ │ │ ├── Contents.json
│ │ │ ├── increment_1x.png
│ │ │ ├── increment_2x.png
│ │ │ └── stepper_increment_3x.png
│ │ ├── stepper_increment_disabled.imageset
│ │ │ ├── Contents.json
│ │ │ ├── increment_disabled_1x.png
│ │ │ ├── increment_disabled_2x.png
│ │ │ └── stepper_increment_disabled_3x.png
│ │ ├── stepper_increment_highlighted.imageset
│ │ │ ├── Contents.json
│ │ │ ├── increment_highlighted_1x.png
│ │ │ ├── increment_highlighted_2x.png
│ │ │ └── stepper_increment_highlighted_3x.png
│ │ ├── text_field_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── text_field_background_1x.png
│ │ │ ├── text_field_background_2x.png
│ │ │ └── text_field_background_3x.png
│ │ ├── text_field_purple_right_view.imageset
│ │ │ ├── Contents.json
│ │ │ ├── text_field_purple_right_view_1x.png
│ │ │ ├── text_field_purple_right_view_2x.png
│ │ │ └── text_field_purple_right_view_3x.png
│ │ ├── text_view_attachment.imageset
│ │ │ ├── Contents.json
│ │ │ └── Sunset_5.png
│ │ ├── text_view_background.colorset
│ │ │ └── Contents.json
│ │ ├── tinted_segmented_control.colorset
│ │ │ └── Contents.json
│ │ ├── tinted_stepper_control.colorset
│ │ │ └── Contents.json
│ │ ├── toolbar_background.imageset
│ │ │ ├── Contents.json
│ │ │ ├── toolbar_background_1x.png
│ │ │ ├── toolbar_background_2x.png
│ │ │ └── toolbar_background_3x.png
│ │ └── x_icon.imageset
│ │ │ ├── Contents.json
│ │ │ ├── x_icon_1x.png
│ │ │ ├── x_icon_2x.png
│ │ │ └── x_icon_3x.png
│ ├── Base.lproj
│ │ ├── ActivityIndicatorViewController.storyboard
│ │ ├── AlertControllerViewController.storyboard
│ │ ├── ButtonViewController.storyboard
│ │ ├── Credits.rtf
│ │ ├── DatePickerController.storyboard
│ │ ├── ImageViewController.storyboard
│ │ ├── InfoPlist.strings
│ │ ├── LaunchScreen.storyboard
│ │ ├── Localizable.strings
│ │ ├── Main.storyboard
│ │ ├── PageControlViewController.storyboard
│ │ ├── PickerViewController.storyboard
│ │ ├── ProgressViewController.storyboard
│ │ ├── SearchViewControllers.storyboard
│ │ ├── SegmentedControlViewController.storyboard
│ │ ├── SliderViewController.storyboard
│ │ ├── StackViewController.storyboard
│ │ ├── StepperViewController.storyboard
│ │ ├── SwitchViewController.storyboard
│ │ ├── TextFieldViewController.storyboard
│ │ ├── TextViewController.storyboard
│ │ ├── ToolbarViewControllers.storyboard
│ │ ├── WebViewController.storyboard
│ │ └── content.html
│ ├── BaseTableViewController.swift
│ ├── ButtonViewController.swift
│ ├── CustomSearchBarViewController.swift
│ ├── CustomToolbarViewController.swift
│ ├── DatePickerController.swift
│ ├── DefaultSearchBarViewController.swift
│ ├── DefaultToolbarViewController.swift
│ ├── DetailViewManager.swift
│ ├── ImageViewController.swift
│ ├── MasterViewController.swift
│ ├── PageControlViewController.swift
│ ├── PickerViewController.swift
│ ├── ProgressViewController.swift
│ ├── SearchBarsTableViewController.swift
│ ├── SegmentedControlViewController.swift
│ ├── SliderViewController.swift
│ ├── StackViewController.swift
│ ├── StepperViewController.swift
│ ├── SwitchViewController.swift
│ ├── TextFieldViewController.swift
│ ├── TextViewController.swift
│ ├── TintedToolbarViewController.swift
│ ├── ToolbarsTableViewController.swift
│ ├── UIKitCatalog-Info.plist
│ ├── UIKitCatalog.entitlements
│ ├── UIViewController+SizeChange.swift
│ └── WebViewController.swift
├── gulpfile.js
└── uicatalog-info.md
├── gulpfile.js
├── index.js
├── package.json
└── uicatalog-info.md
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "appium"
3 | }
4 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: npm
4 | directory: "/"
5 | schedule:
6 | interval: daily
7 | time: "11:00"
8 | open-pull-requests-limit: 10
9 | commit-message:
10 | prefix: "chore"
11 | include: "scope"
12 |
--------------------------------------------------------------------------------
/.github/workflows/node.js.yml:
--------------------------------------------------------------------------------
1 | name: Node.js CI
2 | on: [push, pull_request]
3 |
4 | jobs:
5 | build:
6 |
7 | # https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
8 | runs-on: macos-12
9 |
10 | strategy:
11 | matrix:
12 | xcode-version: ["13.4.1", "14.2"]
13 |
14 | steps:
15 | - uses: actions/checkout@v2
16 | - name: Use Node.js LTS
17 | uses: actions/setup-node@v3
18 | with:
19 | node-version: lts/*
20 | - name: Select Xcode ${{ matrix.xcode-version }}
21 | run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.xcode-version }}.app
22 | - run: rm -rf UICatalog/build UIKitCatalog/build
23 | - run: npm install
24 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | build
3 | *.xcuserdatad
4 | package-lock.json*
5 | .DS_Store
6 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLActionSheetViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLActionSheetViewController.h
3 | Abstract: A view controller that demonstrates how to use UIActionSheet.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLActionSheetViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLActivityIndicatorViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLActivityIndicatorViewController.h
3 | Abstract: A view controller that demonstrates how to use UIActivityIndicatorView.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLActivityIndicatorViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLAlertViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLAlertViewController.h
3 | Abstract: The view controller that demonstrates how to use UIAlertView.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLAlertViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLAppDelegate.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLAppDelegate.h
3 | Abstract: The application-specific delegate class.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLAppDelegate : UIResponder
51 |
52 | @property (strong, nonatomic) UIWindow *window;
53 |
54 | @end
55 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLAppDelegate.m:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLAppDelegate.m
3 | Abstract: The application-specific delegate class.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | #import "AAPLAppDelegate.h"
49 |
50 | @implementation AAPLAppDelegate
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLButtonViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLButtonViewController.h
3 | Abstract: A view controller that demonstrates how to use UIButton. The buttons are created using storyboards, but each of the system buttons can be created in code by using the +[UIButton buttonWithType:] initializer. See UIButton.h for a comprehensive list of the various UIButtonType values.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLButtonViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLCustomSearchBarViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLCustomSearchBarViewController.h
3 | Abstract: A view controller that demonstrates how to customize a UISearchBar.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLCustomSearchBarViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLCustomToolbarViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLCustomToolbarViewController.h
3 | Abstract: A view controller that demonstrates how to customize a UIToolbar.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLCustomToolbarViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLDatePickerController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLDatePickerController.h
3 | Abstract: A view controller that demonstrates how to use UIDatePicker.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLDatePickerController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLDefaultSearchBarViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLDefaultSearchBarViewController.h
3 | Abstract: A view controller that demonstrates how to use a default UISearchBar.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLDefaultSearchBarViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLDefaultToolbarViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLDefaultToolbarViewController.h
3 | Abstract: A view controller that demonstrates how to use a default UIToolbar.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLDefaultToolbarViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLImageViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLImageViewController.h
3 | Abstract: A view controller that demonstrates how to use UIImageView.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLImageViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLMasterViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLMasterViewController.h
3 | Abstract: An iPad-only class that ensures that the root view controller of the application always has the bar button item displayed when in portrait. See AAPLSplitViewControllerDelegate for more information.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLMasterViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLPageControlViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLPageControlViewController.h
3 | Abstract: A view controller that demonstrates how to use UIPageControl.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLPageControlViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLPickerViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLPickerViewController.h
3 | Abstract: A view controller that demonstrates how to use UIPickerView.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLPickerViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLProgressViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLProgressViewController.h
3 | Abstract: A view controller that demonstrates how to use UIProgressView.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLProgressViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLSegmentedControlViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLSegmentedControlViewController.h
3 | Abstract: A view controller that demonstrates how to use UISegmentedControl.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLSegmentedControlViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLSliderViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLSliderViewController.h
3 | Abstract: A view controller that demonstrates how to use UISlider.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLSliderViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLSplitViewControllerDelegate.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLSplitViewControllerDelegate.h
3 | Abstract: An iPad-only class that ensures that the root view controller of the application always has the bar button item displayed when in portrait. See AAPLMasterViewController for more information.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLSplitViewControllerDelegate : NSObject
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLStepperViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLStepperViewController.h
3 | Abstract: A view controller that demonstrates how to use UIStepper.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLStepperViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLSwitchViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLSwitchViewController.h
3 | Abstract: A view controller that demonstrates how to use UISwitch.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLSwitchViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLTextFieldViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLTextFieldViewController.h
3 | Abstract: A view controller that demonstrates how to use UITextField.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLTextFieldViewController : UITableViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLTextViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLTextViewController.h
3 | Abstract: A view controller that demonstrates how to use UITextView.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLTextViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLTintedToolbarViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLTintedToolbarViewController.h
3 | Abstract: A view controller that demonstrates how to tint a UIToolbar.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLTintedToolbarViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/AAPLWebViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: AAPLWebViewController.h
3 | Abstract: A view controller that demonstrates how to use UIWebView.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface AAPLWebViewController : UIViewController
51 | @end
52 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "40x40",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "60x60",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "ipad",
20 | "size" : "29x29",
21 | "scale" : "1x"
22 | },
23 | {
24 | "idiom" : "ipad",
25 | "size" : "29x29",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "ipad",
30 | "size" : "40x40",
31 | "scale" : "1x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "40x40",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "76x76",
41 | "scale" : "1x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "76x76",
46 | "scale" : "2x"
47 | }
48 | ],
49 | "info" : {
50 | "version" : 1,
51 | "author" : "xcode"
52 | }
53 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/LaunchImage.launchimage/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "orientation" : "portrait",
5 | "idiom" : "iphone",
6 | "extent" : "full-screen",
7 | "minimum-system-version" : "7.0",
8 | "scale" : "2x"
9 | },
10 | {
11 | "orientation" : "portrait",
12 | "idiom" : "iphone",
13 | "subtype" : "retina4",
14 | "extent" : "full-screen",
15 | "minimum-system-version" : "7.0",
16 | "scale" : "2x"
17 | },
18 | {
19 | "orientation" : "portrait",
20 | "idiom" : "ipad",
21 | "extent" : "full-screen",
22 | "minimum-system-version" : "7.0",
23 | "scale" : "1x"
24 | },
25 | {
26 | "orientation" : "landscape",
27 | "idiom" : "ipad",
28 | "extent" : "full-screen",
29 | "minimum-system-version" : "7.0",
30 | "scale" : "1x"
31 | },
32 | {
33 | "orientation" : "portrait",
34 | "idiom" : "ipad",
35 | "extent" : "full-screen",
36 | "minimum-system-version" : "7.0",
37 | "scale" : "2x"
38 | },
39 | {
40 | "orientation" : "landscape",
41 | "idiom" : "ipad",
42 | "extent" : "full-screen",
43 | "minimum-system-version" : "7.0",
44 | "scale" : "2x"
45 | }
46 | ],
47 | "info" : {
48 | "version" : 1,
49 | "author" : "xcode"
50 | }
51 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/bookmark_icon.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "bookmark_icon_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "bookmark_icon_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/bookmark_icon.imageset/bookmark_icon_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/bookmark_icon.imageset/bookmark_icon_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/bookmark_icon.imageset/bookmark_icon_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/bookmark_icon.imageset/bookmark_icon_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/bookmark_icon_highlighted.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "bookmark_icon_highlighted_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "bookmark_icon_highlighted_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/bookmark_icon_highlighted.imageset/bookmark_icon_highlighted_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/bookmark_icon_highlighted.imageset/bookmark_icon_highlighted_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/bookmark_icon_highlighted.imageset/bookmark_icon_highlighted_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/bookmark_icon_highlighted.imageset/bookmark_icon_highlighted_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/checkmark_icon.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "checkmark_icon_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "checkmark_icon_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/checkmark_icon.imageset/checkmark_icon_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/checkmark_icon.imageset/checkmark_icon_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/checkmark_icon.imageset/checkmark_icon_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/checkmark_icon.imageset/checkmark_icon_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "image_animal_5.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | }
12 | ],
13 | "info" : {
14 | "version" : 1,
15 | "author" : "xcode"
16 | }
17 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_1.imageset/image_animal_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/image_animal_1.imageset/image_animal_5.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "image_animal_2.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | }
12 | ],
13 | "info" : {
14 | "version" : 1,
15 | "author" : "xcode"
16 | }
17 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_2.imageset/image_animal_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/image_animal_2.imageset/image_animal_2.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_3.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "image_animal_3.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | }
12 | ],
13 | "info" : {
14 | "version" : 1,
15 | "author" : "xcode"
16 | }
17 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_3.imageset/image_animal_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/image_animal_3.imageset/image_animal_3.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_4.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "image_animal_4.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | }
12 | ],
13 | "info" : {
14 | "version" : 1,
15 | "author" : "xcode"
16 | }
17 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_4.imageset/image_animal_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/image_animal_4.imageset/image_animal_4.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_5.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "image_animal_1.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | }
12 | ],
13 | "info" : {
14 | "version" : 1,
15 | "author" : "xcode"
16 | }
17 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/image_animal_5.imageset/image_animal_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/image_animal_5.imageset/image_animal_1.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/search_bar_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "search_bar_bg_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "search_bar_bg_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/search_bar_background.imageset/search_bar_bg_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/search_bar_background.imageset/search_bar_bg_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/search_bar_background.imageset/search_bar_bg_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/search_bar_background.imageset/search_bar_bg_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/search_icon.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "search_icon_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "search_icon_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/search_icon.imageset/search_icon_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/search_icon.imageset/search_icon_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/search_icon.imageset/search_icon_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/search_icon.imageset/search_icon_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_blue_track.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "slider_blue_track_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "slider_blue_track_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_blue_track.imageset/slider_blue_track_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/slider_blue_track.imageset/slider_blue_track_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_blue_track.imageset/slider_blue_track_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/slider_blue_track.imageset/slider_blue_track_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_green_track.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "slider_green_track_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "slider_green_track_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_green_track.imageset/slider_green_track_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/slider_green_track.imageset/slider_green_track_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_green_track.imageset/slider_green_track_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/slider_green_track.imageset/slider_green_track_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_thumb.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "slider_thumb_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "slider_thumb_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_thumb.imageset/slider_thumb_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/slider_thumb.imageset/slider_thumb_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/slider_thumb.imageset/slider_thumb_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/slider_thumb.imageset/slider_thumb_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "stepper_and_segment_background_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "stepper_and_segment_background_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_disabled.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "stepper_and_segment_background_disabled_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "stepper_and_segment_background_disabled_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_highlighted.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "stepper_and_segment_background_highlighted_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "stepper_and_segment_background_highlighted_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_segment_divider.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "stepper_and_segment_segment_divider_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "stepper_and_segment_segment_divider_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_decrement.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "decrement_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "decrement_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_decrement.imageset/decrement_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_decrement.imageset/decrement_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_decrement.imageset/decrement_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_decrement.imageset/decrement_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_increment.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "stepper_increment_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "stepper_increment_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_increment.imageset/stepper_increment_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_increment.imageset/stepper_increment_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/stepper_increment.imageset/stepper_increment_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/stepper_increment.imageset/stepper_increment_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_field_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "resizing" : {
5 | "mode" : "3-part-horizontal",
6 | "center" : {
7 | "mode" : "stretch",
8 | "width" : 0
9 | },
10 | "capInsets" : {
11 | "right" : 1,
12 | "left" : 1
13 | }
14 | },
15 | "idiom" : "universal",
16 | "filename" : "text_field_background_1x.png",
17 | "scale" : "1x"
18 | },
19 | {
20 | "resizing" : {
21 | "mode" : "3-part-horizontal",
22 | "center" : {
23 | "mode" : "stretch",
24 | "width" : 0
25 | },
26 | "capInsets" : {
27 | "right" : 1,
28 | "left" : 1
29 | }
30 | },
31 | "idiom" : "universal",
32 | "filename" : "text_field_background_2x.png",
33 | "scale" : "2x"
34 | }
35 | ],
36 | "info" : {
37 | "version" : 1,
38 | "author" : "xcode"
39 | }
40 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_field_background.imageset/text_field_background_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/text_field_background.imageset/text_field_background_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_field_background.imageset/text_field_background_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/text_field_background.imageset/text_field_background_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_field_purple_right_view.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "text_field_purple_right_view_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "text_field_purple_right_view_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_view_attachment.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "text_view_attachment_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "text_view_attachment_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_view_attachment.imageset/text_view_attachment_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/text_view_attachment.imageset/text_view_attachment_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/text_view_attachment.imageset/text_view_attachment_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/text_view_attachment.imageset/text_view_attachment_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/toolbar_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "toolbar_background_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "toolbar_background_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/toolbar_background.imageset/toolbar_background_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/toolbar_background.imageset/toolbar_background_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/toolbar_background.imageset/toolbar_background_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/toolbar_background.imageset/toolbar_background_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/tools_icon.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "tools_icon_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "tools_icon_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/tools_icon.imageset/tools_icon_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/tools_icon.imageset/tools_icon_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/tools_icon.imageset/tools_icon_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/tools_icon.imageset/tools_icon_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/x_icon.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "x_icon_1x.png"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x",
11 | "filename" : "x_icon_2x.png"
12 | }
13 | ],
14 | "info" : {
15 | "version" : 1,
16 | "author" : "xcode"
17 | }
18 | }
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/x_icon.imageset/x_icon_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/x_icon.imageset/x_icon_1x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/Images.xcassets/x_icon.imageset/x_icon_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UICatalog/UICatalog/Images.xcassets/x_icon.imageset/x_icon_2x.png
--------------------------------------------------------------------------------
/UICatalog/UICatalog/UICatalog-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ${PRODUCT_NAME}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleIdentifier
12 | com.example.apple-samplecode.UICatalog
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | ${PRODUCT_NAME}
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 2.13
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 2.13
25 | LSRequiresIPhoneOS
26 |
27 | NSAppTransportSecurity
28 |
29 | NSAllowsArbitraryLoads
30 |
31 |
32 | UIMainStoryboardFile
33 | Main_iPhone
34 | UIMainStoryboardFile~ipad
35 | Main_iPad
36 | UIRequiredDeviceCapabilities
37 |
38 | armv7
39 |
40 | UISupportedInterfaceOrientations
41 |
42 | UIInterfaceOrientationPortrait
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 | UISupportedInterfaceOrientations~ipad
47 |
48 | UIInterfaceOrientationPortrait
49 | UIInterfaceOrientationPortraitUpsideDown
50 | UIInterfaceOrientationLandscapeLeft
51 | UIInterfaceOrientationLandscapeRight
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/UICatalog-Prefix.pch:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | #ifndef __IPHONE_7_0
4 | #warning "This project uses features only available in iOS SDK 7.0 and later."
5 | #endif
6 |
7 | #ifdef __OBJC__
8 | @import UIKit;
9 | @import Foundation;
10 | #import "UIColor+AAPLApplicationSpecific.h"
11 | #endif
12 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/UIColor+AAPLApplicationSpecific.h:
--------------------------------------------------------------------------------
1 | /*
2 | File: UIColor+AAPLApplicationSpecific.h
3 | Abstract: Application specific colors.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | @interface UIColor (AAPLApplicationSpecific)
51 |
52 | + (UIColor *)aapl_applicationGreenColor;
53 |
54 | + (UIColor *)aapl_applicationBlueColor;
55 |
56 | + (UIColor *)aapl_applicationPurpleColor;
57 |
58 | @end
59 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/en.lproj/Localizable.strings:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Strings used across the application via the NSLocalizedString API.
4 |
5 | */
6 |
7 | "OK" = "OK";
8 | "Cancel" = "Cancel";
9 | "Destructive Choice" = "Destructive Choice";
10 | "Safe Choice" = "Safe Choice";
11 | "A Short Title Is Best" = "A Short Title Is Best";
12 | "A message should be a short, complete sentence." = "A message should be a short, complete sentence.";
13 | "Choice One" = "Choice One";
14 | "Choice Two" = "Choice Two";
15 | "Button" = "Button";
16 | "X Button" = "X Button";
17 | "Image" = "Image";
18 | "Action" = "Action";
19 | "bold" = "bold";
20 | "highlighted" = "highlighted";
21 | "underlined" = "underlined";
22 | "tinted" = "tinted";
23 | "Placeholder text" = "Placeholder text";
24 | "Red color component value" = "Red color component value";
25 | "Green color component value" = "Green color component value";
26 | "Blue color component value" = "Blue color component value";
27 | "Animated images" = "Animated images";
28 | "Done" = "Done";
29 | "Search" = "Search";
30 | "Settings" = "Settings";
31 | "UICatalog" = "UICatalog";
32 | "An error occured:" = "An error occured:";
33 |
--------------------------------------------------------------------------------
/UICatalog/UICatalog/main.m:
--------------------------------------------------------------------------------
1 | /*
2 | File: main.m
3 | Abstract: The main source file to this application.
4 | Version: 2.12
5 |
6 | Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7 | Inc. ("Apple") in consideration of your agreement to the following
8 | terms, and your use, installation, modification or redistribution of
9 | this Apple software constitutes acceptance of these terms. If you do
10 | not agree with these terms, please do not use, install, modify or
11 | redistribute this Apple software.
12 |
13 | In consideration of your agreement to abide by the following terms, and
14 | subject to these terms, Apple grants you a personal, non-exclusive
15 | license, under Apple's copyrights in this original Apple software (the
16 | "Apple Software"), to use, reproduce, modify and redistribute the Apple
17 | Software, with or without modifications, in source and/or binary forms;
18 | provided that if you redistribute the Apple Software in its entirety and
19 | without modifications, you must retain this notice and the following
20 | text and disclaimers in all such redistributions of the Apple Software.
21 | Neither the name, trademarks, service marks or logos of Apple Inc. may
22 | be used to endorse or promote products derived from the Apple Software
23 | without specific prior written permission from Apple. Except as
24 | expressly stated in this notice, no other rights or licenses, express or
25 | implied, are granted by Apple herein, including but not limited to any
26 | patent rights that may be infringed by your derivative works or by other
27 | works in which the Apple Software may be incorporated.
28 |
29 | The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30 | MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31 | THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32 | FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33 | OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34 |
35 | IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36 | OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38 | INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39 | MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40 | AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41 | STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42 | POSSIBILITY OF SUCH DAMAGE.
43 |
44 | Copyright (C) 2014 Apple Inc. All Rights Reserved.
45 |
46 | */
47 |
48 | @import UIKit;
49 |
50 | #import "AAPLAppDelegate.h"
51 |
52 | int main(int argc, char *argv[]) {
53 | @autoreleasepool {
54 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AAPLAppDelegate class]));
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/UICatalog/gulpfile.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | const gulp = require('gulp');
4 | const boilerplate = require('appium-gulp-plugins').boilerplate.use(gulp);
5 | const path = require('path');
6 | const { uiCatalog } = require('..');
7 |
8 |
9 | boilerplate({
10 | build: 'ios-uicatalog',
11 | projectRoot: __dirname,
12 | transpile: false,
13 | iosApps: {
14 | relativeLocations: {
15 | iphoneos: path.resolve('..', uiCatalog.relative.iphoneos),
16 | iphonesimulator: path.resolve('..', uiCatalog.relative.iphonesimulator),
17 | },
18 | appName: 'UICatalog.app',
19 | },
20 | });
21 |
22 | gulp.task('install', function (done) {
23 | return gulp.series('ios-apps:install', function installDone (seriesDone) {
24 | seriesDone();
25 | done();
26 | })();
27 | });
28 |
--------------------------------------------------------------------------------
/UICatalog/uicatalog-info.md:
--------------------------------------------------------------------------------
1 | UICatalog: Creating and Customizing UIKit Controls
2 | ===========================================================================
3 |
4 | This sample is a catalog exhibiting many views and controls in the UIKit framework along with their various functionalities. Refer to this sample if you are looking for specific controls or views that are provided by the system.
5 |
6 | Note that this sample also shows you how to make your non-standard views (images or custom views) accessible. Using the iOS Accessibility API enhances the user experience of VoiceOver users.
7 |
8 | You will also notice this sample shows how to localize string content by using the NSLocalizedString macro. Each language has a "Localizeable.strings" file and this macro refers to this file when loading the strings from the default bundle.
9 |
10 | ===========================================================================
11 | Using the Sample
12 |
13 | This sample can be run on a device or on the simulator.
14 |
15 | While looking over the source code of UICatalog you will find that many elements keep the same order of the view controller classes listed in the project. For example, AAPLActionSheetViewController is the first view controller in the UICatalog project folder, but it is also the first view controller that's shown in the master view controller's table view.
16 |
17 | UICatalog uses a master/detail application architecture, which can be seen in the storyboard files. The master view controller defines the list of views that are used for demonstration in this application. Each detail view controller corresponds to a given system-provided control (and is named accordingly). For example, AAPLAlertViewController shows how to use UIAlertView and its associated functionality. The only two exceptions to this rule are UISearchBar and UIToolbar; each of these controls have multiple view controllers to explain how the control works and can be customized. This is done to make sure that each view controller only has one UIToolbar or UISearchBar in a view controller at one point in time. Each view controller is responsible for configuring a set of of specific controls that have been set in Interface Builder.
18 |
19 | ===========================================================================
20 | UIKit Controls
21 |
22 | UICatalog demonstrates how to configure and customize the following controls:
23 |
24 | + UIActionSheet
25 | + UIActivityIndicatorView
26 | + UIAlertView
27 | + UIButton
28 | + UIDatePicker
29 | + UIImageView
30 | + UIPageControl
31 | + UIPickerView
32 | + UIProgressView
33 | + UISegmentedControl
34 | + UISlider
35 | + UIStepper
36 | + UISwitch
37 | + UITextField
38 | + UITextView
39 | + UIWebView
40 | + UISearchBar
41 | + UIToolbar
42 |
43 | ===========================================================================
44 | Build/Runtime Requirements
45 |
46 | Building this sample requires Xcode 5.0 and iOS 7.0 SDK
47 | Running the sample requires iOS 7.0 or later.
48 |
49 | ===========================================================================
50 | Copyright (C) 2008-2014 Apple Inc. All rights reserved.
51 |
--------------------------------------------------------------------------------
/UIKitCatalog/Configuration/SampleCode.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // See LICENSE folder for this sample’s licensing information.
3 | //
4 | // SampleCode.xcconfig
5 | //
6 |
7 | // The `SAMPLE_CODE_DISAMBIGUATOR` configuration is to make it easier to build
8 | // and run a sample code project. Once you set your project's development team,
9 | // you'll have a unique bundle identifier. This is because the bundle identifier
10 | // is derived based on the 'SAMPLE_CODE_DISAMBIGUATOR' value. Do not use this
11 | // approach in your own projects—it's only useful for sample code projects because
12 | // they are frequently downloaded and don't have a development team set.
13 | SAMPLE_CODE_DISAMBIGUATOR=${DEVELOPMENT_TEAM}
14 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog-iphonesimulator.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog-iphonesimulator.zip
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog.xcodeproj/.xcodesamplecode.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildSystemType
6 | Latest
7 |
8 |
9 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/ActivityIndicatorViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use `UIActivityIndicatorView`.
6 | */
7 |
8 | import UIKit
9 |
10 | class ActivityIndicatorViewController: UITableViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var defaultSmallActivityIndicatorView: UIActivityIndicatorView!
14 | @IBOutlet weak var defaultLargeActivityIndicatorView: UIActivityIndicatorView!
15 |
16 | @IBOutlet weak var tintedSmallActivityIndicatorView: UIActivityIndicatorView!
17 | @IBOutlet weak var tintedLargeActivityIndicatorView: UIActivityIndicatorView!
18 |
19 | // MARK: - View Life Cycle
20 |
21 | override func viewDidLoad() {
22 | super.viewDidLoad()
23 |
24 | configureDefaultActivityIndicatorView()
25 | configureTintedActivityIndicatorView()
26 |
27 | // When the activity is done, be sure to use UIActivityIndicatorView.stopAnimating().
28 | }
29 |
30 | // MARK: - Configuration
31 |
32 | func configureDefaultActivityIndicatorView() {
33 | defaultSmallActivityIndicatorView.style = UIActivityIndicatorView.Style.medium
34 | defaultLargeActivityIndicatorView.style = UIActivityIndicatorView.Style.large
35 |
36 | defaultSmallActivityIndicatorView.startAnimating()
37 | defaultLargeActivityIndicatorView.startAnimating()
38 |
39 | defaultSmallActivityIndicatorView.hidesWhenStopped = true
40 | defaultLargeActivityIndicatorView.hidesWhenStopped = true
41 | }
42 |
43 | func configureTintedActivityIndicatorView() {
44 | tintedSmallActivityIndicatorView.style = UIActivityIndicatorView.Style.medium
45 | tintedLargeActivityIndicatorView.style = UIActivityIndicatorView.Style.large
46 |
47 | tintedSmallActivityIndicatorView.color = UIColor.systemPurple
48 | tintedLargeActivityIndicatorView.color = UIColor.systemPurple
49 |
50 | tintedSmallActivityIndicatorView.startAnimating()
51 | tintedLargeActivityIndicatorView.startAnimating()
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | The application-specific delegate class.
6 | */
7 |
8 | import UIKit
9 |
10 | @UIApplicationMain
11 | class AppDelegate: NSObject, UIApplicationDelegate, UISplitViewControllerDelegate {
12 | // MARK: - Properties
13 |
14 | var window: UIWindow?
15 |
16 | /** The detailViewManager is responsible for maintaining the UISplitViewController delegation
17 | and for managing the detail view controller of the split view.
18 | */
19 | var detailViewManager = DetailViewManager()
20 |
21 | // MARK: - UIApplicationDelegate
22 |
23 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
24 | if let splitViewController = window!.rootViewController as? UISplitViewController {
25 | splitViewController.preferredDisplayMode = .allVisible
26 | splitViewController.delegate = detailViewManager
27 | detailViewManager.splitViewController = splitViewController
28 |
29 | // Set the master view controller table view with translucent background.
30 | splitViewController.primaryBackgroundStyle = .sidebar
31 | }
32 |
33 | return true
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "20x20",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "20x20",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "29x29",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "29x29",
61 | "scale" : "2x"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "size" : "40x40",
66 | "scale" : "1x"
67 | },
68 | {
69 | "idiom" : "ipad",
70 | "size" : "40x40",
71 | "scale" : "2x"
72 | },
73 | {
74 | "idiom" : "ipad",
75 | "size" : "76x76",
76 | "scale" : "1x"
77 | },
78 | {
79 | "idiom" : "ipad",
80 | "size" : "76x76",
81 | "scale" : "2x"
82 | },
83 | {
84 | "idiom" : "ipad",
85 | "size" : "83.5x83.5",
86 | "scale" : "2x"
87 | },
88 | {
89 | "idiom" : "ios-marketing",
90 | "size" : "1024x1024",
91 | "scale" : "1x"
92 | }
93 | ],
94 | "info" : {
95 | "version" : 1,
96 | "author" : "xcode"
97 | }
98 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/Flowers_1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Flowers_1.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/Flowers_1.imageset/Flowers_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/Flowers_1.imageset/Flowers_1.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/Flowers_2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Flowers_2.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/Flowers_2.imageset/Flowers_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/Flowers_2.imageset/Flowers_2.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/search_bar_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "search_bar_bg_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "search_bar_bg_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "search_bar_background_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/search_bar_background.imageset/search_bar_background_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/search_bar_background.imageset/search_bar_background_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/search_bar_background.imageset/search_bar_bg_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/search_bar_background.imageset/search_bar_bg_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/search_bar_background.imageset/search_bar_bg_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/search_bar_background.imageset/search_bar_bg_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_blue_track.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "slider_blue_track_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "slider_blue_track_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "slider_blue_track_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_blue_track.imageset/slider_blue_track_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_blue_track.imageset/slider_blue_track_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_blue_track.imageset/slider_blue_track_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_blue_track.imageset/slider_blue_track_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_blue_track.imageset/slider_blue_track_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_blue_track.imageset/slider_blue_track_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_green_track.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "slider_green_track_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "slider_green_track_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "slider_green_track_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_green_track.imageset/slider_green_track_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_green_track.imageset/slider_green_track_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_green_track.imageset/slider_green_track_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_green_track.imageset/slider_green_track_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_green_track.imageset/slider_green_track_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/slider_green_track.imageset/slider_green_track_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "stepper_and_segment_background_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "stepper_and_segment_background_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_and_segment_background_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background.imageset/stepper_and_segment_background_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_disabled.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "stepper_and_segment_background_disabled_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "stepper_and_segment_background_disabled_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_and_segment_background_disabled_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_disabled.imageset/stepper_and_segment_background_disabled_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_highlighted.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "stepper_and_segment_background_highlighted_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "stepper_and_segment_background_highlighted_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_and_segment_background_highlighted_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_background_highlighted.imageset/stepper_and_segment_background_highlighted_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_segment_divider.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "stepper_and_segment_segment_divider_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "stepper_and_segment_segment_divider_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_and_segment_divider_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_divider_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_divider_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_and_segment_segment_divider.imageset/stepper_and_segment_segment_divider_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_decrement.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "decrement_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "decrement_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_decrement_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_decrement.imageset/decrement_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_decrement.imageset/decrement_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_decrement.imageset/decrement_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_decrement.imageset/decrement_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_decrement.imageset/stepper_decrement_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_decrement.imageset/stepper_decrement_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "increment_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "increment_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_increment_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment.imageset/increment_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment.imageset/increment_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment.imageset/increment_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment.imageset/increment_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment.imageset/stepper_increment_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment.imageset/stepper_increment_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_disabled.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "increment_disabled_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "increment_disabled_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_increment_disabled_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_disabled.imageset/increment_disabled_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_disabled.imageset/increment_disabled_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_disabled.imageset/increment_disabled_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_disabled.imageset/increment_disabled_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_disabled.imageset/stepper_increment_disabled_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_disabled.imageset/stepper_increment_disabled_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_highlighted.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "increment_highlighted_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "increment_highlighted_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "stepper_increment_highlighted_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_highlighted.imageset/increment_highlighted_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_highlighted.imageset/increment_highlighted_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_highlighted.imageset/increment_highlighted_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_highlighted.imageset/increment_highlighted_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_highlighted.imageset/stepper_increment_highlighted_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/stepper_increment_highlighted.imageset/stepper_increment_highlighted_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "resizing" : {
5 | "mode" : "3-part-horizontal",
6 | "center" : {
7 | "mode" : "stretch",
8 | "width" : 0
9 | },
10 | "cap-insets" : {
11 | "right" : 1,
12 | "left" : 1
13 | }
14 | },
15 | "idiom" : "universal",
16 | "filename" : "text_field_background_1x.png",
17 | "scale" : "1x"
18 | },
19 | {
20 | "resizing" : {
21 | "mode" : "3-part-horizontal",
22 | "center" : {
23 | "mode" : "stretch",
24 | "width" : 0
25 | },
26 | "cap-insets" : {
27 | "right" : 1,
28 | "left" : 1
29 | }
30 | },
31 | "idiom" : "universal",
32 | "filename" : "text_field_background_2x.png",
33 | "scale" : "2x"
34 | },
35 | {
36 | "idiom" : "universal",
37 | "filename" : "text_field_background_3x.png",
38 | "scale" : "3x"
39 | }
40 | ],
41 | "info" : {
42 | "version" : 1,
43 | "author" : "xcode"
44 | }
45 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_background.imageset/text_field_background_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_background.imageset/text_field_background_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_background.imageset/text_field_background_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_background.imageset/text_field_background_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_background.imageset/text_field_background_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_background.imageset/text_field_background_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_purple_right_view.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "text_field_purple_right_view_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "text_field_purple_right_view_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "text_field_purple_right_view_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_field_purple_right_view.imageset/text_field_purple_right_view_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_view_attachment.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Sunset_5.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_view_attachment.imageset/Sunset_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_view_attachment.imageset/Sunset_5.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/text_view_background.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | },
6 | "colors" : [
7 | {
8 | "idiom" : "universal",
9 | "color" : {
10 | "color-space" : "srgb",
11 | "components" : {
12 | "red" : "1.000",
13 | "alpha" : "1.000",
14 | "blue" : "1.000",
15 | "green" : "1.000"
16 | }
17 | }
18 | },
19 | {
20 | "idiom" : "universal",
21 | "appearances" : [
22 | {
23 | "appearance" : "luminosity",
24 | "value" : "light"
25 | }
26 | ],
27 | "color" : {
28 | "color-space" : "srgb",
29 | "components" : {
30 | "red" : "1.000",
31 | "alpha" : "1.000",
32 | "blue" : "1.000",
33 | "green" : "1.000"
34 | }
35 | }
36 | },
37 | {
38 | "idiom" : "universal",
39 | "appearances" : [
40 | {
41 | "appearance" : "luminosity",
42 | "value" : "dark"
43 | }
44 | ],
45 | "color" : {
46 | "color-space" : "srgb",
47 | "components" : {
48 | "red" : "0.000",
49 | "alpha" : "0.000",
50 | "blue" : "0.000",
51 | "green" : "0.000"
52 | }
53 | }
54 | },
55 | {
56 | "idiom" : "ipad",
57 | "color" : {
58 | "color-space" : "srgb",
59 | "components" : {
60 | "red" : "1.000",
61 | "alpha" : "1.000",
62 | "blue" : "1.000",
63 | "green" : "1.000"
64 | }
65 | }
66 | }
67 | ]
68 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/tinted_segmented_control.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | },
6 | "colors" : [
7 | {
8 | "idiom" : "universal",
9 | "color" : {
10 | "color-space" : "srgb",
11 | "components" : {
12 | "red" : "0.031",
13 | "alpha" : "1.000",
14 | "blue" : "0.500",
15 | "green" : "0.702"
16 | }
17 | }
18 | },
19 | {
20 | "idiom" : "universal",
21 | "appearances" : [
22 | {
23 | "appearance" : "luminosity",
24 | "value" : "light"
25 | }
26 | ],
27 | "color" : {
28 | "color-space" : "srgb",
29 | "components" : {
30 | "red" : "0.031",
31 | "alpha" : "1.000",
32 | "blue" : "0.500",
33 | "green" : "0.702"
34 | }
35 | }
36 | },
37 | {
38 | "idiom" : "universal",
39 | "appearances" : [
40 | {
41 | "appearance" : "luminosity",
42 | "value" : "dark"
43 | }
44 | ],
45 | "color" : {
46 | "color-space" : "srgb",
47 | "components" : {
48 | "red" : "0.209",
49 | "alpha" : "1.000",
50 | "blue" : "0.500",
51 | "green" : "0.938"
52 | }
53 | }
54 | },
55 | {
56 | "idiom" : "ipad",
57 | "color" : {
58 | "color-space" : "srgb",
59 | "components" : {
60 | "red" : "0.031",
61 | "alpha" : "1.000",
62 | "blue" : "0.500",
63 | "green" : "0.702"
64 | }
65 | }
66 | }
67 | ]
68 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/tinted_stepper_control.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | },
6 | "colors" : [
7 | {
8 | "idiom" : "universal",
9 | "color" : {
10 | "color-space" : "srgb",
11 | "components" : {
12 | "red" : "0.031",
13 | "alpha" : "1.000",
14 | "blue" : "0.500",
15 | "green" : "0.702"
16 | }
17 | }
18 | },
19 | {
20 | "idiom" : "universal",
21 | "appearances" : [
22 | {
23 | "appearance" : "luminosity",
24 | "value" : "light"
25 | }
26 | ],
27 | "color" : {
28 | "color-space" : "srgb",
29 | "components" : {
30 | "red" : "0.031",
31 | "alpha" : "1.000",
32 | "blue" : "0.500",
33 | "green" : "0.702"
34 | }
35 | }
36 | },
37 | {
38 | "idiom" : "universal",
39 | "appearances" : [
40 | {
41 | "appearance" : "luminosity",
42 | "value" : "dark"
43 | }
44 | ],
45 | "color" : {
46 | "color-space" : "srgb",
47 | "components" : {
48 | "red" : "0.209",
49 | "alpha" : "1.000",
50 | "blue" : "0.500",
51 | "green" : "0.938"
52 | }
53 | }
54 | },
55 | {
56 | "idiom" : "ipad",
57 | "color" : {
58 | "color-space" : "srgb",
59 | "components" : {
60 | "red" : "0.031",
61 | "alpha" : "1.000",
62 | "blue" : "0.500",
63 | "green" : "0.702"
64 | }
65 | }
66 | }
67 | ]
68 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/toolbar_background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "toolbar_background_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "toolbar_background_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "toolbar_background_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/toolbar_background.imageset/toolbar_background_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/toolbar_background.imageset/toolbar_background_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/toolbar_background.imageset/toolbar_background_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/toolbar_background.imageset/toolbar_background_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/toolbar_background.imageset/toolbar_background_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/toolbar_background.imageset/toolbar_background_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/x_icon.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "x_icon_1x.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "x_icon_2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "x_icon_3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/x_icon.imageset/x_icon_1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/x_icon.imageset/x_icon_1x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/x_icon.imageset/x_icon_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/x_icon.imageset/x_icon_2x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Assets.xcassets/x_icon.imageset/x_icon_3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appium/ios-uicatalog/af1c7358e2b455ff99c25e34466212cbc86fbce6/UIKitCatalog/UIKitCatalog/Assets.xcassets/x_icon.imageset/x_icon_3x.png
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Base.lproj/Credits.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\cocoartf2467
2 | \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
3 | {\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
4 | {\*\expandedcolortbl;;\cssrgb\c0\c0\c0\cname textColor;}
5 | \vieww9000\viewh8400\viewkind0
6 | \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\qc\partightenfactor0
7 |
8 | \f0\fs20 \cf2 Demonstrates how to use UIKit's views and controls.\
9 | }
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Base.lproj/ImageViewController.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Base.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | Localized versions of Info.plist keys.
6 | */
7 |
8 | CFBundleGetInfoString = "v15.0, Copyright 2008-2019, Apple Inc.";
9 | NSHumanReadableCopyright = "Copyright © 2008-2019, Apple Inc.";
10 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Base.lproj/Localizable.strings:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | Strings used across the application via the NSLocalizedString API.
6 | */
7 |
8 | "OK" = "OK";
9 | "Cancel" = "Cancel";
10 | "Confirm" = "Confirm";
11 | "Destructive Choice" = "Destructive Choice";
12 | "Safe Choice" = "Safe Choice";
13 | "A Short Title Is Best" = "A Short Title Is Best";
14 | "A message should be a short, complete sentence." = "A message should be a short, complete sentence.";
15 | "Choice One" = "Choice One";
16 | "Choice Two" = "Choice Two";
17 | "Button" = "Button";
18 | "X Button" = "X Button";
19 | "Image" = "Image";
20 | "Action" = "Action";
21 | "bold" = "bold";
22 | "highlighted" = "highlighted";
23 | "underlined" = "underlined";
24 | "tinted" = "tinted";
25 | "Placeholder text" = "Placeholder text";
26 | "Enter search text" = "Enter search text";
27 | "Red color component value" = "Red color component value";
28 | "Green color component value" = "Green color component value";
29 | "Blue color component value" = "Blue color component value";
30 | "Animated images" = "Animated images";
31 |
32 | "Airplane" = "Airplane";
33 | "Gift" = "Gift";
34 | "Burst" = "Burst";
35 |
36 | "UIKitCatalog" = "UIKitCatalog";
37 | "An error occurred:" = "An error occurred:";
38 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/Base.lproj/content.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WKWebView
5 |
10 |
11 |
12 |
13 | This is HTML content inside a WKWebView.
14 |
15 |
16 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/CustomSearchBarViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to customize a `UISearchBar`.
6 | */
7 |
8 | import UIKit
9 |
10 | class CustomSearchBarViewController: UIViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var searchBar: UISearchBar!
14 |
15 | // MARK: - View Life Cycle
16 |
17 | override func viewDidLoad() {
18 | super.viewDidLoad()
19 |
20 | configureSearchBar()
21 | }
22 |
23 | // MARK: - Configuration
24 |
25 | func configureSearchBar() {
26 | searchBar.showsCancelButton = true
27 | searchBar.showsBookmarkButton = true
28 |
29 | searchBar.tintColor = UIColor.systemPurple
30 |
31 | searchBar.backgroundImage = UIImage(named: "search_bar_background")
32 |
33 | // Set the bookmark image for both normal and highlighted states.
34 | let bookImage = UIImage(systemName: "bookmark")
35 | searchBar.setImage(bookImage, for: .bookmark, state: .normal)
36 |
37 | let bookFillImage = UIImage(systemName: "bookmark.fill")
38 | searchBar.setImage(bookFillImage, for: .bookmark, state: .highlighted)
39 | }
40 | }
41 |
42 | // MARK: - UISearchBarDelegate
43 |
44 | extension CustomSearchBarViewController: UISearchBarDelegate {
45 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
46 | print("The custom search bar keyboard \"Search\" button was tapped.")
47 |
48 | searchBar.resignFirstResponder()
49 | }
50 |
51 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
52 | print("The custom search bar \"Cancel\" button was tapped.")
53 |
54 | searchBar.resignFirstResponder()
55 | }
56 |
57 | func searchBarBookmarkButtonClicked(_ searchBar: UISearchBar) {
58 | print("The custom \"bookmark button\" inside the search bar was tapped.")
59 | }
60 |
61 | }
62 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/CustomToolbarViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to customize a `UIToolbar`.
6 | */
7 |
8 | import UIKit
9 |
10 | class CustomToolbarViewController: UIViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var toolbar: UIToolbar!
14 |
15 | // MARK: - View Life Cycle
16 |
17 | override func viewDidLoad() {
18 | super.viewDidLoad()
19 |
20 | let toolbarBackgroundImage = UIImage(named: "toolbar_background")
21 | toolbar.setBackgroundImage(toolbarBackgroundImage, forToolbarPosition: .bottom, barMetrics: .default)
22 |
23 | let toolbarButtonItems = [
24 | customImageBarButtonItem,
25 | flexibleSpaceBarButtonItem,
26 | customBarButtonItem
27 | ]
28 | toolbar.setItems(toolbarButtonItems, animated: true)
29 | }
30 |
31 | // MARK: - UIBarButtonItem Creation and Configuration
32 |
33 | var customImageBarButtonItem: UIBarButtonItem {
34 | let customBarButtonItemImage = UIImage(systemName: "exclamationmark.triangle")
35 |
36 | let customImageBarButtonItem = UIBarButtonItem(image: customBarButtonItemImage,
37 | style: .plain,
38 | target: self,
39 | action: #selector(CustomToolbarViewController.barButtonItemClicked(_:)))
40 |
41 | customImageBarButtonItem.tintColor = UIColor.systemPurple
42 |
43 | return customImageBarButtonItem
44 | }
45 |
46 | var flexibleSpaceBarButtonItem: UIBarButtonItem {
47 | // Note that there's no target/action since this represents empty space.
48 | return UIBarButtonItem(barButtonSystemItem: .flexibleSpace, target: nil, action: nil)
49 | }
50 |
51 | var customBarButtonItem: UIBarButtonItem {
52 | let barButtonItem = UIBarButtonItem(title: NSLocalizedString("Button", comment: ""),
53 | style: .plain,
54 | target: self,
55 | action: #selector(CustomToolbarViewController.barButtonItemClicked))
56 |
57 | let attributes = [
58 | NSAttributedString.Key.foregroundColor: UIColor.systemPurple
59 | ]
60 | barButtonItem.setTitleTextAttributes(attributes, for: .normal)
61 |
62 | return barButtonItem
63 | }
64 |
65 | // MARK: - Actions
66 |
67 | @objc
68 | func barButtonItemClicked(_ barButtonItem: UIBarButtonItem) {
69 | print("A bar button item on the custom toolbar was clicked: \(barButtonItem).")
70 | }
71 |
72 | }
73 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/DatePickerController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use `UIDatePicker`.
6 | */
7 |
8 | import UIKit
9 |
10 | class DatePickerController: UIViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var datePicker: UIDatePicker!
14 |
15 | @IBOutlet weak var dateLabel: UILabel!
16 |
17 | // A date formatter to format the `date` property of `datePicker`.
18 | lazy var dateFormatter: DateFormatter = {
19 | let dateFormatter = DateFormatter()
20 |
21 | dateFormatter.dateStyle = .medium
22 | dateFormatter.timeStyle = .short
23 |
24 | return dateFormatter
25 | }()
26 |
27 | // MARK: - View Life Cycle
28 |
29 | override func viewDidLoad() {
30 | super.viewDidLoad()
31 |
32 | configureDatePicker()
33 | }
34 |
35 | // MARK: - Configuration
36 |
37 | func configureDatePicker() {
38 | datePicker.datePickerMode = .dateAndTime
39 |
40 | /** Set min/max date for the date picker. As an example we will limit the date between
41 | now and 7 days from now.
42 | */
43 | let now = Date()
44 | datePicker.minimumDate = now
45 |
46 | var dateComponents = DateComponents()
47 | dateComponents.day = 7
48 |
49 | let sevenDaysFromNow = Calendar.current.date(byAdding: .day, value: 7, to: now)
50 | datePicker.maximumDate = sevenDaysFromNow
51 |
52 | datePicker.minuteInterval = 2
53 |
54 | datePicker.addTarget(self, action: #selector(DatePickerController.updateDatePickerLabel), for: .valueChanged)
55 |
56 | updateDatePickerLabel()
57 | }
58 |
59 | // MARK: - Actions
60 |
61 | @objc
62 | func updateDatePickerLabel() {
63 | dateLabel.text = dateFormatter.string(from: datePicker.date)
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/DefaultSearchBarViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use a default `UISearchBar`.
6 | */
7 |
8 | import UIKit
9 |
10 | class DefaultSearchBarViewController: UIViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var searchBar: UISearchBar!
14 |
15 | // MARK: - View Life Cycle
16 |
17 | override func viewDidLoad() {
18 | super.viewDidLoad()
19 |
20 | configureSearchBar()
21 | }
22 |
23 | // MARK: - Configuration
24 |
25 | func configureSearchBar() {
26 | searchBar.showsCancelButton = true
27 | searchBar.showsScopeBar = true
28 |
29 | searchBar.scopeButtonTitles = [
30 | NSLocalizedString("Scope One", comment: ""),
31 | NSLocalizedString("Scope Two", comment: "")
32 | ]
33 | }
34 |
35 | }
36 |
37 | // MARK: - UISearchBarDelegate
38 |
39 | extension DefaultSearchBarViewController: UISearchBarDelegate {
40 | func searchBar(_ searchBar: UISearchBar, selectedScopeButtonIndexDidChange selectedScope: Int) {
41 | print("The default search selected scope button index changed to \(selectedScope).")
42 | }
43 |
44 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
45 | print("The default search bar keyboard search button was tapped: \(String(describing: searchBar.text)).")
46 |
47 | searchBar.resignFirstResponder()
48 | }
49 |
50 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
51 | print("The default search bar cancel button was tapped.")
52 |
53 | searchBar.resignFirstResponder()
54 | }
55 |
56 | }
57 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/DefaultToolbarViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use a default `UIToolbar`.
6 | */
7 |
8 | import UIKit
9 |
10 | class DefaultToolbarViewController: UIViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var toolbar: UIToolbar!
14 |
15 | // MARK: - View Life Cycle
16 |
17 | override func viewDidLoad() {
18 | super.viewDidLoad()
19 |
20 | let toolbarButtonItems = [
21 | trashBarButtonItem,
22 | flexibleSpaceBarButtonItem,
23 | customTitleBarButtonItem
24 | ]
25 | toolbar.setItems(toolbarButtonItems, animated: true)
26 | }
27 |
28 | // MARK: - UIBarButtonItem Creation and Configuration
29 |
30 | var trashBarButtonItem: UIBarButtonItem {
31 | return UIBarButtonItem(barButtonSystemItem: .trash,
32 | target: self,
33 | action: #selector(DefaultToolbarViewController.barButtonItemClicked(_:)))
34 | }
35 |
36 | var flexibleSpaceBarButtonItem: UIBarButtonItem {
37 | return UIBarButtonItem(barButtonSystemItem: .flexibleSpace,
38 | target: nil,
39 | action: nil)
40 | }
41 |
42 | var customTitleBarButtonItem: UIBarButtonItem {
43 | let customTitle = NSLocalizedString("Action", comment: "")
44 | return UIBarButtonItem(title: customTitle,
45 | style: .plain,
46 | target: self,
47 | action: #selector(DefaultToolbarViewController.barButtonItemClicked(_:)))
48 | }
49 |
50 | // MARK: - Actions
51 |
52 | @objc
53 | func barButtonItemClicked(_ barButtonItem: UIBarButtonItem) {
54 | print("A bar button item on the default toolbar was clicked: \(barButtonItem).")
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/DetailViewManager.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | Manages how to handle the detail view controller for our split view controller.
6 | */
7 |
8 | import UIKit
9 |
10 | class DetailViewManager: NSObject, UISplitViewControllerDelegate {
11 | var splitViewController: UISplitViewController? = nil {
12 | didSet {
13 | splitViewController?.delegate = self
14 | splitViewController?.preferredDisplayMode = .allVisible
15 | }
16 | }
17 |
18 | /// Swaps out the detail for view controller for the Split View Controller this instance is managing.
19 | func setDetailViewController(detailViewController: UIViewController) {
20 | var viewControllers: [UIViewController] = (splitViewController?.viewControllers)!
21 | if viewControllers.count > 1 {
22 | viewControllers[1] = detailViewController
23 | }
24 | splitViewController?.viewControllers = viewControllers
25 | }
26 |
27 | /** Set the default plain detail view controller (called by PageOneViewController,
28 | that is, in case a selected item is deleted in a split view controller)
29 | */
30 | func setDefaultDetailViewController() {
31 | let initialDetailViewController = splitViewController?.storyboard?.instantiateViewController(withIdentifier: "navInitialDetail")
32 | setDetailViewController(detailViewController: initialDetailViewController!)
33 | }
34 |
35 | // MARK: - UISplitViewControllerDelegate
36 |
37 | func targetDisplayModeForAction(in splitViewController: UISplitViewController) -> UISplitViewController.DisplayMode {
38 | return .allVisible
39 | }
40 |
41 | func splitViewController(_ splitViewController: UISplitViewController,
42 | collapseSecondary secondaryViewController: UIViewController,
43 | onto primaryViewController: UIViewController) -> Bool {
44 | return true
45 | }
46 |
47 | func splitViewController(_ splitViewController: UISplitViewController,
48 | separateSecondaryFrom primaryViewController: UIViewController) -> UIViewController? {
49 | var returnSecondaryVC: UIViewController? = nil
50 |
51 | if let primaryVC = primaryViewController as? UINavigationController {
52 | let selectedVC = primaryVC.topViewController
53 | if selectedVC is UINavigationController {
54 | if let navVC = selectedVC as? UINavigationController {
55 | let currentVC = navVC.visibleViewController
56 |
57 | if currentVC?.popDueToSizeChange != nil {
58 | currentVC?.popDueToSizeChange()
59 | }
60 |
61 | // The currentVC has popped, now obtain it's ancestor vc in the table.
62 | let currentVC2 = navVC.visibleViewController
63 | if currentVC2 is BaseTableViewController {
64 | let baseTableViewVC = currentVC2 as? BaseTableViewController
65 | if baseTableViewVC?.tableView.indexPathForSelectedRow == nil {
66 | // The table has no selection, make the detail empty.
67 | returnSecondaryVC = splitViewController.storyboard?.instantiateViewController(withIdentifier: "navInitialDetail")
68 | }
69 | }
70 | }
71 | }
72 | }
73 |
74 | return returnSecondaryVC
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/ImageViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use `UIImageView`.
6 | */
7 |
8 | import UIKit
9 |
10 | class ImageViewController: UIViewController {
11 | // MARK: - View Life Cycle
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | configureImageView()
17 | }
18 |
19 | // MARK: - Configuration
20 |
21 | func configureImageView() {
22 | // The root view of the view controller is set in Interface Builder and is an UIImageView.
23 | if let imageView = view as? UIImageView {
24 | // Fetch the images (each image is of the format Flowers_number).
25 | imageView.animationImages = (1...2).map { UIImage(named: "Flowers_\($0)")! }
26 |
27 | // We want the image to be scaled to the correct aspect ratio within imageView's bounds.
28 | imageView.contentMode = .scaleAspectFit
29 |
30 | imageView.animationDuration = 5
31 | imageView.startAnimating()
32 |
33 | imageView.isAccessibilityElement = true
34 | imageView.accessibilityLabel = NSLocalizedString("Animated", comment: "")
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/PageControlViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use `UIPageControl`.
6 | */
7 |
8 | import UIKit
9 |
10 | class PageControlViewController: UIViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var pageControl: UIPageControl!
14 |
15 | @IBOutlet weak var colorView: UIView!
16 |
17 | // Colors that correspond to the selected page. Used as the background color for `colorView`.
18 | let colors = [
19 | UIColor.black,
20 | UIColor.systemGray,
21 | UIColor.systemRed,
22 | UIColor.systemGreen,
23 | UIColor.systemBlue,
24 | UIColor.systemPink,
25 | UIColor.systemYellow,
26 | UIColor.systemIndigo,
27 | UIColor.systemOrange,
28 | UIColor.systemPurple
29 | ]
30 |
31 | // MARK: - View Life Cycle
32 |
33 | override func viewDidLoad() {
34 | super.viewDidLoad()
35 |
36 | configurePageControl()
37 | pageControlValueDidChange()
38 | }
39 |
40 | // MARK: - Configuration
41 |
42 | func configurePageControl() {
43 | // The total number of available pages is based on the number of available colors.
44 | pageControl.numberOfPages = colors.count
45 | pageControl.currentPage = 2
46 |
47 | pageControl.pageIndicatorTintColor = UIColor.systemGreen
48 | pageControl.currentPageIndicatorTintColor = UIColor.systemPurple
49 |
50 | pageControl.addTarget(self, action: #selector(PageControlViewController.pageControlValueDidChange), for: .valueChanged)
51 | }
52 |
53 | // MARK: - Actions
54 |
55 | @objc
56 | func pageControlValueDidChange() {
57 | // Note: gesture swiping between pages is provided by `UIPageViewController` and not `UIPageControl`.
58 | print("The page control changed its current page to \(pageControl.currentPage).")
59 |
60 | colorView.backgroundColor = colors[pageControl.currentPage]
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/SearchBarsTableViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | Table view controller for presenting various search bars.
6 | */
7 |
8 | import UIKit
9 |
10 | class SearchBarsTableViewController: BaseTableViewController {
11 | // MARK: - UITableViewDelegate
12 |
13 | override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
14 | var storyboardSceneID = String()
15 |
16 | switch indexPath.row {
17 | case 0:
18 | // Default
19 | storyboardSceneID = "DefaultSearchBarViewController"
20 | case 1:
21 | // Custom
22 | storyboardSceneID = "CustomSearchBarViewController"
23 | default: break
24 | }
25 |
26 | let exampleViewController = storyboard?.instantiateViewController(withIdentifier: storyboardSceneID)
27 | pushOrPresentViewController(viewController: exampleViewController!, cellIndexPath: indexPath)
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/SliderViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use `UISlider`.
6 | */
7 |
8 | import UIKit
9 |
10 | class SliderViewController: UITableViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var defaultSlider: UISlider!
14 | @IBOutlet weak var tintedSlider: UISlider!
15 | @IBOutlet weak var customSlider: UISlider!
16 | @IBOutlet weak var minMaxImageSlider: UISlider!
17 |
18 | // MARK: - View Life Cycle
19 |
20 | override func viewDidLoad() {
21 | super.viewDidLoad()
22 |
23 | configureDefaultSlider()
24 | configureTintedSlider()
25 | configureCustomSlider()
26 | configureMinMaxImageSlider()
27 | }
28 |
29 | // MARK: - Configuration
30 |
31 | func configureDefaultSlider() {
32 | defaultSlider.minimumValue = 0
33 | defaultSlider.maximumValue = 100
34 | defaultSlider.value = 42
35 | defaultSlider.isContinuous = true
36 |
37 | defaultSlider.addTarget(self, action: #selector(SliderViewController.sliderValueDidChange(_:)), for: .valueChanged)
38 | }
39 |
40 | func configureTintedSlider() {
41 | tintedSlider.minimumTrackTintColor = UIColor.systemBlue
42 | tintedSlider.maximumTrackTintColor = UIColor.systemPurple
43 |
44 | tintedSlider.addTarget(self, action: #selector(SliderViewController.sliderValueDidChange(_:)), for: .valueChanged)
45 | }
46 |
47 | func configureCustomSlider() {
48 | let leftTrackImage = UIImage(named: "slider_blue_track")
49 | customSlider.setMinimumTrackImage(leftTrackImage, for: .normal)
50 |
51 | let rightTrackImage = UIImage(named: "slider_green_track")
52 | customSlider.setMaximumTrackImage(rightTrackImage, for: .normal)
53 |
54 | // Set the sliding thumb image (normal and highlighted).
55 | let thumbImageConfig = UIImage.SymbolConfiguration(scale: .large)
56 | let thumbImage = UIImage(systemName: "circle.fill", withConfiguration: thumbImageConfig)
57 | customSlider.setThumbImage(thumbImage, for: .normal)
58 | let thumbImageHighlighted = UIImage(systemName: "circle", withConfiguration: thumbImageConfig)
59 | customSlider.setThumbImage(thumbImageHighlighted, for: .highlighted)
60 |
61 | customSlider.minimumValue = 0
62 | customSlider.maximumValue = 100
63 | customSlider.isContinuous = false
64 | customSlider.value = 84
65 |
66 | customSlider.addTarget(self, action: #selector(SliderViewController.sliderValueDidChange(_:)), for: .valueChanged)
67 | }
68 |
69 | func configureMinMaxImageSlider() {
70 | minMaxImageSlider.minimumValueImage = UIImage(systemName: "tortoise")
71 | minMaxImageSlider.maximumValueImage = UIImage(systemName: "hare")
72 |
73 | minMaxImageSlider.addTarget(self, action: #selector(SliderViewController.sliderValueDidChange(_:)), for: .valueChanged)
74 | }
75 |
76 | // MARK: - Actions
77 |
78 | @objc
79 | func sliderValueDidChange(_ slider: UISlider) {
80 | print("A slider changed its value: \(slider).")
81 | }
82 | }
83 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/SwitchViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use `UISwitch`.
6 | */
7 |
8 | import UIKit
9 |
10 | class SwitchViewController: UITableViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var defaultSwitch: UISwitch!
14 |
15 | @IBOutlet weak var tintedSwitch: UISwitch!
16 |
17 | // MARK: - View Life Cycle
18 |
19 | override func viewDidLoad() {
20 | super.viewDidLoad()
21 |
22 | configureDefaultSwitch()
23 | configureTintedSwitch()
24 | }
25 |
26 | // MARK: - Configuration
27 |
28 | func configureDefaultSwitch() {
29 | defaultSwitch.setOn(true, animated: false)
30 |
31 | defaultSwitch.addTarget(self, action: #selector(SwitchViewController.switchValueDidChange(_:)), for: .valueChanged)
32 | }
33 |
34 | func configureTintedSwitch() {
35 | tintedSwitch.tintColor = UIColor.systemBlue
36 | tintedSwitch.onTintColor = UIColor.systemGreen
37 | tintedSwitch.thumbTintColor = UIColor.systemPurple
38 |
39 | tintedSwitch.addTarget(self, action: #selector(SwitchViewController.switchValueDidChange(_:)), for: .valueChanged)
40 | }
41 |
42 | // MARK: - Actions
43 |
44 | @objc
45 | func switchValueDidChange(_ aSwitch: UISwitch) {
46 | print("A switch changed its value: \(aSwitch).")
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/TintedToolbarViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to customize a `UIToolbar`.
6 | */
7 |
8 | import UIKit
9 |
10 | class TintedToolbarViewController: UIViewController {
11 | // MARK: - Properties
12 |
13 | @IBOutlet weak var toolbar: UIToolbar!
14 |
15 | // MARK: - View Life Cycle
16 |
17 | override func viewDidLoad() {
18 | super.viewDidLoad()
19 |
20 | // See the `UIBarStyle` enum for more styles, including `.Default`.
21 | toolbar.barStyle = .black
22 | toolbar.isTranslucent = false
23 |
24 | toolbar.tintColor = UIColor.systemGreen
25 | toolbar.backgroundColor = UIColor.systemBlue
26 |
27 | let toolbarButtonItems = [
28 | refreshBarButtonItem,
29 | flexibleSpaceBarButtonItem,
30 | actionBarButtonItem
31 | ]
32 | toolbar.setItems(toolbarButtonItems, animated: true)
33 | }
34 |
35 | // MARK: - `UIBarButtonItem` Creation and Configuration
36 |
37 | var refreshBarButtonItem: UIBarButtonItem {
38 | return UIBarButtonItem(barButtonSystemItem: .refresh,
39 | target: self,
40 | action: #selector(TintedToolbarViewController.barButtonItemClicked(_:)))
41 | }
42 |
43 | var flexibleSpaceBarButtonItem: UIBarButtonItem {
44 | // Note that there's no target/action since this represents empty space.
45 | return UIBarButtonItem(barButtonSystemItem: .flexibleSpace,
46 | target: nil,
47 | action: nil)
48 | }
49 |
50 | var actionBarButtonItem: UIBarButtonItem {
51 | return UIBarButtonItem(barButtonSystemItem: .action,
52 | target: self,
53 | action: #selector(TintedToolbarViewController.actionBarButtonItemClicked(_:)))
54 | }
55 |
56 | // MARK: - Actions
57 |
58 | @objc
59 | func barButtonItemClicked(_ barButtonItem: UIBarButtonItem) {
60 | Swift.debugPrint("A bar button item on the tinted toolbar was clicked: \(barButtonItem).")
61 | }
62 |
63 | @objc
64 | func actionBarButtonItemClicked(_ barButtonItem: UIBarButtonItem) {
65 | if let image = UIImage(named: "Flowers_1") {
66 | let activityItems = ["Shared piece of text", image] as [Any]
67 |
68 | let activityViewController =
69 | UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
70 |
71 | activityViewController.popoverPresentationController?.barButtonItem = barButtonItem
72 | present(activityViewController, animated: true, completion: nil)
73 | }
74 | }
75 |
76 | }
77 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/ToolbarsTableViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | Table view controller for presenting various `UIToolbars`.
6 | */
7 |
8 | import UIKit
9 |
10 | class ToolbarsTableViewController: BaseTableViewController {
11 | // MARK: - UITableViewDelegate
12 |
13 | override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
14 | var storyboardSceneID = String()
15 | switch indexPath.row {
16 | case 0:
17 | // Default
18 | storyboardSceneID = "DefaultToolbarViewController"
19 | case 1:
20 | // Tinted
21 | storyboardSceneID = "TintedToolbarViewController"
22 | case 2:
23 | // Custom
24 | storyboardSceneID = "CustomToolbarViewController"
25 | default: break
26 | }
27 |
28 | let exampleViewController = storyboard?.instantiateViewController(withIdentifier: storyboardSceneID)
29 | pushOrPresentViewController(viewController: exampleViewController!, cellIndexPath: indexPath)
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/UIKitCatalog-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NSAppTransportSecurity
6 |
7 | NSAllowsArbitraryLoads
8 |
9 | NSAllowsArbitraryLoadsInWebContent
10 |
11 |
12 | CFBundleDevelopmentRegion
13 | en
14 | CFBundleExecutable
15 | ${EXECUTABLE_NAME}
16 | CFBundleIdentifier
17 | $(PRODUCT_BUNDLE_IDENTIFIER)
18 | CFBundleInfoDictionaryVersion
19 | 6.0
20 | CFBundleName
21 | ${PRODUCT_NAME}
22 | CFBundlePackageType
23 | APPL
24 | CFBundleShortVersionString
25 | $(MARKETING_VERSION)
26 | CFBundleSignature
27 | ????
28 | CFBundleVersion
29 | $(CURRENT_PROJECT_VERSION)
30 | LSRequiresIPhoneOS
31 |
32 | NSPhotoLibraryAddUsageDescription
33 | Allow UICatalog to save photos to the photo library.
34 | UILaunchStoryboardName
35 | LaunchScreen
36 | UIMainStoryboardFile
37 | Main
38 | UIRequiredDeviceCapabilities
39 |
40 | armv7
41 |
42 | UISupportedInterfaceOrientations
43 |
44 | UIInterfaceOrientationPortrait
45 | UIInterfaceOrientationLandscapeLeft
46 | UIInterfaceOrientationLandscapeRight
47 |
48 | UISupportedInterfaceOrientations~ipad
49 |
50 | UIInterfaceOrientationPortrait
51 | UIInterfaceOrientationPortraitUpsideDown
52 | UIInterfaceOrientationLandscapeLeft
53 | UIInterfaceOrientationLandscapeRight
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/UIKitCatalog.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/UIViewController+SizeChange.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | Extension for any view controller that wants to pop itself from the nav stack, if transitioned
6 | to compact mode on the iPhone.
7 | */
8 |
9 | import UIKit
10 |
11 | extension UIViewController {
12 | func popDueToSizeChange() {
13 | /** This view controller was pushed in a table view while in the split view controller's
14 | master table, upon rotation to expand, we want to pop this view controller (to avoid
15 | master and detail being the same view controller).
16 | */
17 | if navigationController != nil {
18 | navigationController?.popViewController(animated: true)
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/UIKitCatalog/UIKitCatalog/WebViewController.swift:
--------------------------------------------------------------------------------
1 | /*
2 | See LICENSE folder for this sample’s licensing information.
3 |
4 | Abstract:
5 | A view controller that demonstrates how to use `WKWebView`.
6 | */
7 |
8 | import UIKit
9 | import WebKit
10 |
11 | /** NOTE:
12 | If your app customizes, interacts with, or controls the display of web content, use the WKWebView class.
13 | If you want to view a website from anywhere on the Internet, use the SFSafariViewController class.
14 | */
15 |
16 | class WebViewController: UIViewController {
17 | // MARK: - Properties
18 |
19 | @IBOutlet weak var webView: WKWebView!
20 |
21 | // MARK: - View Life Cycle
22 |
23 | override func viewDidLoad() {
24 | super.viewDidLoad()
25 |
26 | if #available(iOS 16.4, *) {
27 | webView.isInspectable = true
28 | }
29 |
30 | // So we can capture failures in "didFailProvisionalNavigation".
31 | webView.navigationDelegate = self
32 | loadAddressURL()
33 | }
34 |
35 | // MARK: - Loading
36 |
37 | func loadAddressURL() {
38 | // Set the content to local html in our app bundle.
39 | if let url = Bundle.main.url(forResource: "content", withExtension: "html") {
40 | webView.loadFileURL(url, allowingReadAccessTo: url)
41 | }
42 | }
43 |
44 | }
45 |
46 | // MARK: - WKNavigationDelegate
47 |
48 | extension WebViewController: WKNavigationDelegate {
49 | func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) {
50 | let webKitError = error as NSError
51 | if webKitError.code == NSURLErrorNotConnectedToInternet {
52 | // Report the error inside the web view.
53 | let localizedErrorMessage = NSLocalizedString("An error occurred:", comment: "")
54 |
55 | let message = "\(localizedErrorMessage) \(error.localizedDescription)"
56 | let errorHTML =
57 | "\(message)
"
58 |
59 | webView.loadHTMLString(errorHTML, baseURL: nil)
60 | }
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/UIKitCatalog/gulpfile.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | const gulp = require('gulp');
4 | const boilerplate = require('appium-gulp-plugins').boilerplate.use(gulp);
5 | const path = require('path');
6 | const xcode = require('appium-xcode');
7 | const log = require('fancy-log');
8 | const { uiKitCatalog } = require('..');
9 |
10 |
11 | const appName = 'UIKitCatalog.app';
12 |
13 | boilerplate({
14 | build: 'ios-uicatalog',
15 | projectRoot: __dirname,
16 | transpile: false,
17 | iosApps: {
18 | relativeLocations: {
19 | iphoneos: path.resolve('..', uiKitCatalog.relative.iphoneos),
20 | iphonesimulator: path.resolve('..', uiKitCatalog.relative.iphonesimulator),
21 | },
22 | appName,
23 | },
24 | });
25 |
26 |
27 | gulp.task('install', async function (done) {
28 | const xcodeVersion = await xcode.getVersion(true);
29 | if (xcodeVersion.major < 11) {
30 | log(`Not building ${appName} on Xcode version ${xcodeVersion.versionString}`);
31 | return done();
32 | }
33 | return gulp.series('ios-apps:install', function installDone (seriesDone) {
34 | seriesDone();
35 | done();
36 | })();
37 | });
38 |
--------------------------------------------------------------------------------
/UIKitCatalog/uicatalog-info.md:
--------------------------------------------------------------------------------
1 | UICatalog: Creating and Customizing UIKit Controls
2 | ===========================================================================
3 |
4 | This sample is a catalog exhibiting many views and controls in the UIKit framework along with their various functionalities. Refer to this sample if you are looking for specific controls or views that are provided by the system.
5 |
6 | Note that this sample also shows you how to make your non-standard views (images or custom views) accessible. Using the iOS Accessibility API enhances the user experience of VoiceOver users.
7 |
8 | You will also notice this sample shows how to localize string content by using the NSLocalizedString macro. Each language has a "Localizeable.strings" file and this macro refers to this file when loading the strings from the default bundle.
9 |
10 | ===========================================================================
11 | Using the Sample
12 |
13 | This sample guides you through several types of customizations that you can do in your iOS app. The sample uses a split view controller architecture for navigating UIKit views and controls. The primary view controller (MasterViewController) shows the available views and controls. Selecting one shows the secondary view controller associated with it.
14 |
15 | The name of each secondary view controller reflects its target item. For example, the AlertControllerViewController class shows how to use a UIAlertController object. The only exceptions to this rule are UISearchBar and UIToolbar; these APIs are demonstrated in multiple view controllers to explain how their controls function and how to customize them. To demonstrate how to manage the complexity of your storyboards, all view controllers are hosted in a separate storyboard and loaded when needed.
16 |
17 | This sample demonstrates the following views and controls (several of which are referenced in the sections below):
18 |
19 | ===========================================================================
20 | UIKit Controls
21 |
22 | UICatalog demonstrates how to configure and customize the following controls:
23 |
24 | + UIActivityIndicatorView
25 | + UIAlertController
26 | + UIButton
27 | + UIDatePicker
28 | + UIImageView
29 | + UIPageControl
30 | + UIPickerView
31 | + UIProgressView
32 | + UISearchBar
33 | + UISegmentedControl
34 | + UISlider
35 | + UIStackView
36 | + UIStepper
37 | + UISwitch
38 | + UITextField
39 | + UITextView
40 | + UIToolbar
41 | + WKWebView
42 |
43 | ===========================================================================
44 | Build/Runtime Requirements
45 |
46 | Building this sample requires Xcode 11.0 and iOS 13.0 SDK
47 | Running the sample requires iOS 13.0 or later.
48 |
49 | https://developer.apple.com/documentation/uikit/views_and_controls/uikit_catalog_creating_and_customizing_views_and_controls
50 |
51 | ===========================================================================
52 | Copyright (C) 2019 Apple Inc. All rights reserved.
53 |
--------------------------------------------------------------------------------
/gulpfile.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | const gulp = require('gulp');
4 | const boilerplate = require('appium-gulp-plugins').boilerplate.use(gulp);
5 |
6 |
7 | boilerplate({
8 | build: 'ios-uicatalog',
9 | projectRoot: __dirname,
10 | transpile: false,
11 | });
12 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | const path = require('path');
4 |
5 | const uiCatalog = {
6 | relative: {
7 | iphoneos: path.join('UICatalog', 'build', 'Release-iphoneos', 'UICatalog-iphoneos.app'),
8 | iphonesimulator: path.join('UICatalog', 'build', 'Release-iphonesimulator', 'UICatalog-iphonesimulator.app'),
9 | },
10 | absolute: {
11 | iphoneos: path.resolve(__dirname, 'UICatalog', 'build', 'Release-iphoneos', 'UICatalog-iphoneos.app'),
12 | iphonesimulator: path.resolve(__dirname, 'UICatalog', 'build', 'Release-iphonesimulator', 'UICatalog-iphonesimulator.app'),
13 | }
14 | };
15 |
16 | const uiKitCatalog = {
17 | relative: {
18 | iphoneos: path.join('UIKitCatalog', 'build', 'Release-iphoneos', 'UIKitCatalog-iphoneos.app'),
19 | iphonesimulator: path.join('UIKitCatalog', 'build', 'Release-iphonesimulator', 'UIKitCatalog-iphonesimulator.app'),
20 | },
21 | absolute: {
22 | iphoneos: path.resolve(__dirname, 'UIKitCatalog', 'build', 'Release-iphoneos', 'UIKitCatalog-iphoneos.app'),
23 | iphonesimulator: path.resolve(__dirname, 'UIKitCatalog', 'build', 'Release-iphonesimulator', 'UIKitCatalog-iphonesimulator.app'),
24 | }
25 | };
26 |
27 |
28 |
29 | module.exports = {
30 | uiCatalog,
31 | uiKitCatalog,
32 | };
33 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ios-uicatalog",
3 | "version": "3.8.0",
4 | "description": "Apple iOS UIKitCatalog app",
5 | "main": "index.js",
6 | "license": "Apache-2.0",
7 | "scripts": {
8 | "clean": "rm -rf node_modules && rm -f package-lock.json && npm install",
9 | "build": "npm run build:ios12 && npm run build:ios13",
10 | "build:ios12": "cd UICatalog && gulp install",
11 | "build:ios13": "cd UIKitCatalog && gulp install",
12 | "install": "npm run build:ios12 && npm run build:ios13",
13 | "test": "gulp once",
14 | "watch": "gulp watch",
15 | "lint": "gulp lint",
16 | "lint:fix": "gulp lint --fix",
17 | "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
18 | "precommit-test": "gulp lint"
19 | },
20 | "pre-commit": [
21 | "precommit-msg",
22 | "precommit-test"
23 | ],
24 | "repository": {
25 | "type": "git",
26 | "url": "https://github.com/appium/ios-uicatalog.git"
27 | },
28 | "keywords": [
29 | "appium",
30 | "ios",
31 | "uicatalog",
32 | "uicatalog"
33 | ],
34 | "os": [
35 | "darwin"
36 | ],
37 | "files": [
38 | "gulpfile.js",
39 | "index.js",
40 | "uikitcatalog-info.md",
41 | "UICatalog/gulpfile.js",
42 | "UICatalog/uicatalog-info.md",
43 | "UICatalog/UICatalog",
44 | "UICatalog/UICatalog.xcodeproj",
45 | "!UICatalog/UICatalog.xcodeproj/project.xcworkspace/xcuserdata",
46 | "!UICatalog/UICatalog.xcodeproj/xcuserdata",
47 | "UIKitCatalog/gulpfile.js",
48 | "UIKitCatalog/uicatalog-info.md",
49 | "UIKitCatalog/Configuration",
50 | "UIKitCatalog/UIKitCatalog",
51 | "UIKitCatalog/UIKitCatalog.xcodeproj",
52 | "!UIKitCatalog/UIKitCatalog.xcodeproj/project.xcworkspace/xcuserdata",
53 | "!UIKitCatalog/UIKitCatalog.xcodeproj/xcuserdata"
54 | ],
55 | "author": "",
56 | "homepage": "https://github.com/appium/ios-uicatalog",
57 | "dependencies": {
58 | "appium-gulp-plugins": "^5.0.0",
59 | "appium-xcode": "^5.0.0",
60 | "fancy-log": "^2.0.0",
61 | "gulp": "^4.0.2"
62 | },
63 | "devDependencies": {
64 | "eslint-config-appium": "^4.2.0",
65 | "pre-commit": "^1.2.2"
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/uicatalog-info.md:
--------------------------------------------------------------------------------
1 | UICatalog: Creating and Customizing UIKit Controls
2 | ===========================================================================
3 |
4 | This sample is a catalog exhibiting many views and controls in the UIKit framework along with their various functionalities. Refer to this sample if you are looking for specific controls or views that are provided by the system.
5 |
6 | Note that this sample also shows you how to make your non-standard views (images or custom views) accessible. Using the iOS Accessibility API enhances the user experience of VoiceOver users.
7 |
8 | You will also notice this sample shows how to localize string content by using the NSLocalizedString macro. Each language has a "Localizeable.strings" file and this macro refers to this file when loading the strings from the default bundle.
9 |
10 | ===========================================================================
11 | Using the Sample
12 |
13 | This sample guides you through several types of customizations that you can do in your iOS app. The sample uses a split view controller architecture for navigating UIKit views and controls. The primary view controller (MasterViewController) shows the available views and controls. Selecting one shows the secondary view controller associated with it.
14 |
15 | The name of each secondary view controller reflects its target item. For example, the AlertControllerViewController class shows how to use a UIAlertController object. The only exceptions to this rule are UISearchBar and UIToolbar; these APIs are demonstrated in multiple view controllers to explain how their controls function and how to customize them. To demonstrate how to manage the complexity of your storyboards, all view controllers are hosted in a separate storyboard and loaded when needed.
16 |
17 | This sample demonstrates the following views and controls (several of which are referenced in the sections below):
18 |
19 | ===========================================================================
20 | UIKit Controls
21 |
22 | UICatalog demonstrates how to configure and customize the following controls:
23 |
24 | + UIActivityIndicatorView
25 | + UIAlertController
26 | + UIButton
27 | + UIDatePicker
28 | + UIImageView
29 | + UIPageControl
30 | + UIPickerView
31 | + UIProgressView
32 | + UISearchBar
33 | + UISegmentedControl
34 | + UISlider
35 | + UIStackView
36 | + UIStepper
37 | + UISwitch
38 | + UITextField
39 | + UITextView
40 | + UIToolbar
41 | + WKWebView
42 |
43 | ===========================================================================
44 | Build/Runtime Requirements
45 |
46 | Building this sample requires Xcode 11.0 and iOS 13.0 SDK
47 | Running the sample requires iOS 13.0 or later.
48 |
49 | https://developer.apple.com/documentation/uikit/views_and_controls/uikit_catalog_creating_and_customizing_views_and_controls
50 |
51 | ===========================================================================
52 | Copyright (C) 2019 Apple Inc. All rights reserved.
53 |
--------------------------------------------------------------------------------