├── Screenshots
├── demo1-1.png
├── demo1-1t.png
├── demo1-2.png
├── demo1-2t.png
├── demo2-1t.png
├── demo2-2t.png
├── demo3-1t.png
├── demo3-2t.png
├── demo4-1t.png
├── demo4-2t.png
├── demo5-1t.png
├── demo5-2t.png
├── demo6-1t.png
├── demo6-2t.png
├── demo7-1t.png
├── demo7-2t.png
├── demo8-1t.png
├── demo8-2t.png
├── demo9-1t.png
├── demo9-2t.png
├── demo10-1t.png
├── demo10-2t.png
├── demo11-1t.png
├── demo11-2t.png
├── demo11-3t.png
├── demo11-4t.png
├── demo12-1t.png
├── demo12-2t.png
├── demo13-1t.png
├── demo13-2t.png
├── demo14-1t.png
├── demo14-2t.png
├── demo15-1t.png
├── demo15-2t.png
├── demo16-1t.png
├── demo16-2t.png
├── demo16-3t.png
├── demo16-4t.png
├── demo17-1t.png
├── demo17-2t.png
├── demo18-1t.png
├── demo18-2t.png
├── demo19-1t.png
├── demo19-2t.png
├── demo20-1t.png
├── demo20-2t.png
├── demo21-1t.png
├── demo21-2t.png
├── demo21-3t.png
├── demo21-4t.png
├── demo22-1t.png
├── demo22-2t.png
├── demo23-1t.png
├── demo23-2t.png
├── demo23-3t.png
├── demo23-4t.png
├── demo24-1t.png
├── demo24-2t.png
├── demo24-3t.png
├── demo24-4t.png
├── demo25-1t.png
├── demo25-2t.png
├── demo26-1t.png
├── demo26-2t.png
├── demo27-1t.png
├── demo27-2t.png
├── demo28-1t.png
├── demo28-2t.png
├── demo29-1t.png
├── demo29-2t.png
├── demo30-1t.png
├── demo30-2t.png
├── demo31-1t.png
├── demo31-2t.png
├── demo31-3t.png
├── demo31-4t.png
├── demo32-1t.png
├── demo32-2t.png
├── demo33-1t.png
├── demo33-2t.png
├── demo34-1t.png
├── demo34-2t.png
├── demo35-1t.png
├── demo35-2t.png
├── demo36-1t.png
├── demo36-2t.png
├── demo37-1t.png
└── demo37-2t.png
├── Demo21-UITabBar
├── Demo21-UITabBar
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── Home.imageset
│ │ │ ├── Home.png
│ │ │ ├── Home@2x.png
│ │ │ ├── Home@3x.png
│ │ │ └── Contents.json
│ │ ├── About.imageset
│ │ │ ├── About.png
│ │ │ ├── About@2x.png
│ │ │ ├── About@3x.png
│ │ │ └── Contents.json
│ │ ├── Contact.imageset
│ │ │ ├── Contact.png
│ │ │ ├── Contact@2x.png
│ │ │ ├── Contact@3x.png
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── HomeViewController.swift
│ ├── MapViewController.swift
│ ├── AboutViewController.swift
│ └── ContactViewController.swift
└── Demo21-UITabBar.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo6-UISlider
├── Demo6-UISlider
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── Audio1.imageset
│ │ │ ├── Audio1.png
│ │ │ ├── Audio1@2x.png
│ │ │ ├── Audio1@3x.png
│ │ │ └── Contents.json
│ │ ├── Audio2.imageset
│ │ │ ├── Audio2.png
│ │ │ ├── Audio2@2x.png
│ │ │ ├── Audio2@3x.png
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Info.plist
│ └── ViewController.swift
└── Demo6-UISlider.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo11-UIImageView
├── Demo11-UIImageView
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── Left.imageset
│ │ │ ├── Left.png
│ │ │ ├── Left@2x.png
│ │ │ ├── Left@3x.png
│ │ │ └── Contents.json
│ │ ├── bg-1.imageset
│ │ │ ├── bg-1.jpg
│ │ │ └── Contents.json
│ │ ├── bg-2.imageset
│ │ │ ├── bg-2.jpg
│ │ │ └── Contents.json
│ │ ├── Right.imageset
│ │ │ ├── Right.png
│ │ │ ├── Right@2x.png
│ │ │ ├── Right@3x.png
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ └── Info.plist
└── Demo11-UIImageView.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo12-UIScrollView
├── Demo12-UIScrollView
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ └── bg.imageset
│ │ │ ├── bg.jpg
│ │ │ └── Contents.json
│ └── Info.plist
└── Demo12-UIScrollView.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo17-UIVisualEffectView
├── Demo17-UIVisualEffectView
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── bg-2.imageset
│ │ │ ├── bg-2.jpg
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── ViewController.swift
│ └── Info.plist
└── Demo17-UIVisualEffectView.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo23-UICollectionView
├── Demo23-UICollectionView
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── 1.imageset
│ │ │ ├── 1.jpg
│ │ │ └── Contents.json
│ │ ├── 2.imageset
│ │ │ ├── 2.jpg
│ │ │ └── Contents.json
│ │ ├── 3.imageset
│ │ │ ├── 3.jpg
│ │ │ └── Contents.json
│ │ ├── 4.imageset
│ │ │ ├── 4.jpg
│ │ │ └── Contents.json
│ │ ├── 5.imageset
│ │ │ ├── 5.jpg
│ │ │ └── Contents.json
│ │ ├── 6.imageset
│ │ │ ├── 6.jpg
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── PhotoCollectionViewCell.swift
│ └── Info.plist
└── Demo23-UICollectionView.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo3-UISegmentedControl
├── Demo3-UISegmentedControl
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── Male.imageset
│ │ │ ├── Male.png
│ │ │ ├── Male@2x.png
│ │ │ ├── Male@3x.png
│ │ │ └── Contents.json
│ │ ├── Female.imageset
│ │ │ ├── Female.png
│ │ │ ├── Female@2x.png
│ │ │ ├── Female@3x.png
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ └── Info.plist
└── Demo3-UISegmentedControl.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo27-UIStackViewVertical
├── Demo27-UIStackViewVertical
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── bg-1.imageset
│ │ │ ├── bg-1.jpeg
│ │ │ └── Contents.json
│ │ ├── bg-2.imageset
│ │ │ ├── bg-2.jpeg
│ │ │ └── Contents.json
│ │ ├── bg-3.imageset
│ │ │ ├── bg-3.jpeg
│ │ │ └── Contents.json
│ │ ├── bg-4.imageset
│ │ │ ├── bg-4.jpeg
│ │ │ └── Contents.json
│ │ └── bg-5.imageset
│ │ │ ├── bg-5.jpeg
│ │ │ └── Contents.json
│ └── Info.plist
└── Demo27-UIStackViewVertical.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo26-UIStackViewHorizontal
├── Demo26-UIStackViewHorizontal
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── bg-1.imageset
│ │ │ ├── bg-1.jpeg
│ │ │ └── Contents.json
│ │ ├── bg-2.imageset
│ │ │ ├── bg-2.jpeg
│ │ │ └── Contents.json
│ │ ├── bg-3.imageset
│ │ │ ├── bg-3.jpeg
│ │ │ └── Contents.json
│ │ ├── bg-4.imageset
│ │ │ ├── bg-4.jpeg
│ │ │ └── Contents.json
│ │ ├── bg-5.imageset
│ │ │ ├── bg-5.jpeg
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ └── Info.plist
└── Demo26-UIStackViewHorizontal.xcodeproj
│ └── project.xcworkspace
│ └── contents.xcworkspacedata
├── Demo1-UILabel
├── Demo1-UILabel.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
├── Demo1-UILabel
│ ├── ViewController.swift
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ └── Info.plist
├── Demo1-UILabelTests
│ ├── Info.plist
│ └── Demo1_UILabelTests.swift
└── Demo1-UILabelUITests
│ ├── Info.plist
│ └── Demo1_UILabelUITests.swift
├── Demo15-UIView
├── Demo15-UIView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo15-UIView
│ ├── Info.plist
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── ViewController.swift
├── Demo2-UIButton
├── Demo2-UIButton.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo2-UIButton
│ ├── ViewController.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo7-UISwitch
├── Demo7-UISwitch.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo7-UISwitch
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo10-UIStepper
├── Demo10-UIStepper.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo10-UIStepper
│ ├── Info.plist
│ ├── ViewController.swift
│ └── Assets.xcassets
│ └── AppIcon.appiconset
│ └── Contents.json
├── Demo19-UIWebView
├── Demo19-UIWebView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo19-UIWebView
│ └── Assets.xcassets
│ └── AppIcon.appiconset
│ └── Contents.json
├── Demo24-UIToolbar
├── Demo24-UIToolbar.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo24-UIToolbar
│ ├── Info.plist
│ └── Assets.xcassets
│ └── AppIcon.appiconset
│ └── Contents.json
├── Demo5-UITextView
├── Demo5-UITextView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo5-UITextView
│ ├── Info.plist
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── ViewController.swift
├── Demo22-UITableView
├── Demo22-UITableView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo22-UITableView
│ ├── DetailsViewController.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo25-UISearchBar
├── Demo25-UISearchBar.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo25-UISearchBar
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo4-UITextField
├── Demo4-UITextField.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo4-UITextField
│ ├── Info.plist
│ └── Assets.xcassets
│ └── AppIcon.appiconset
│ └── Contents.json
├── Demo13-UIDatePicker
├── Demo13-UIDatePicker.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo13-UIDatePicker
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── ViewController.swift
│ └── Info.plist
├── Demo14-UIPickerView
├── Demo14-UIPickerView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo14-UIPickerView
│ ├── Info.plist
│ └── Assets.xcassets
│ └── AppIcon.appiconset
│ └── Contents.json
├── Demo28-UITapGesture
├── Demo28-UITapGesture.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo28-UITapGesture
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── ViewController.swift
│ └── Info.plist
├── Demo32-UIPanGesture
├── Demo32-UIPanGesture.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo32-UIPanGesture
│ ├── Info.plist
│ └── Assets.xcassets
│ └── AppIcon.appiconset
│ └── Contents.json
├── Demo29-UIPinchGesture
├── Demo29-UIPinchGesture.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo29-UIPinchGesture
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── ViewController.swift
│ └── Info.plist
├── Demo31-UISwipeGesture
├── Demo31-UISwipeGesture.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo31-UISwipeGesture
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo35-UIPageControl
├── Demo35-UIPageControl.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo35-UIPageControl
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo9-UIProgressView
├── Demo9-UIProgressView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo9-UIProgressView
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo16-UIContainerView
├── Demo16-UIContainerView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo16-UIContainerView
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── ViewController.swift
│ └── Info.plist
├── Demo20-UINavigationBar
├── Demo20-UINavigationBar.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo20-UINavigationBar
│ ├── HelpViewController.swift
│ ├── SettingsViewController.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo36-IndexedTableView
├── Demo36-IndexedTableView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo36-IndexedTableView
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo37-GroupedTableView
├── Demo37-GroupedTableView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo37-GroupedTableView
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo18-UIAlertController
├── Demo18-UIAlertController.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo18-UIAlertController
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo30-UIRotationGesture
├── Demo30-UIRotationGesture.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo30-UIRotationGesture
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── ViewController.swift
│ └── Info.plist
├── Demo34-UILongPressGesture
├── Demo34-UILongPressGesture.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo34-UILongPressGesture
│ ├── MyCustomView.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo33-UIScreenEdgePanGesture
├── Demo33-UIScreenEdgePanGesture.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo33-UIScreenEdgePanGesture
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ └── Info.plist
├── Demo8-UIActivityIndicatorView
├── Demo8-UIActivityIndicatorView.xcodeproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
└── Demo8-UIActivityIndicatorView
│ ├── Info.plist
│ └── Assets.xcassets
│ └── AppIcon.appiconset
│ └── Contents.json
├── .gitignore
└── LICENSE
/Screenshots/demo1-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo1-1.png
--------------------------------------------------------------------------------
/Screenshots/demo1-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo1-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo1-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo1-2.png
--------------------------------------------------------------------------------
/Screenshots/demo1-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo1-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo2-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo2-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo2-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo2-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo3-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo3-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo3-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo3-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo4-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo4-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo4-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo4-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo5-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo5-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo5-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo5-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo6-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo6-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo6-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo6-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo7-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo7-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo7-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo7-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo8-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo8-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo8-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo8-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo9-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo9-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo9-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo9-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo10-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo10-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo10-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo10-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo11-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo11-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo11-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo11-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo11-3t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo11-3t.png
--------------------------------------------------------------------------------
/Screenshots/demo11-4t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo11-4t.png
--------------------------------------------------------------------------------
/Screenshots/demo12-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo12-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo12-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo12-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo13-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo13-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo13-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo13-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo14-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo14-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo14-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo14-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo15-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo15-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo15-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo15-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo16-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo16-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo16-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo16-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo16-3t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo16-3t.png
--------------------------------------------------------------------------------
/Screenshots/demo16-4t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo16-4t.png
--------------------------------------------------------------------------------
/Screenshots/demo17-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo17-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo17-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo17-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo18-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo18-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo18-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo18-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo19-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo19-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo19-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo19-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo20-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo20-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo20-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo20-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo21-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo21-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo21-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo21-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo21-3t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo21-3t.png
--------------------------------------------------------------------------------
/Screenshots/demo21-4t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo21-4t.png
--------------------------------------------------------------------------------
/Screenshots/demo22-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo22-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo22-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo22-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo23-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo23-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo23-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo23-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo23-3t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo23-3t.png
--------------------------------------------------------------------------------
/Screenshots/demo23-4t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo23-4t.png
--------------------------------------------------------------------------------
/Screenshots/demo24-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo24-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo24-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo24-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo24-3t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo24-3t.png
--------------------------------------------------------------------------------
/Screenshots/demo24-4t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo24-4t.png
--------------------------------------------------------------------------------
/Screenshots/demo25-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo25-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo25-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo25-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo26-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo26-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo26-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo26-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo27-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo27-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo27-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo27-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo28-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo28-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo28-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo28-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo29-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo29-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo29-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo29-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo30-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo30-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo30-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo30-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo31-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo31-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo31-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo31-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo31-3t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo31-3t.png
--------------------------------------------------------------------------------
/Screenshots/demo31-4t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo31-4t.png
--------------------------------------------------------------------------------
/Screenshots/demo32-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo32-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo32-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo32-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo33-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo33-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo33-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo33-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo34-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo34-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo34-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo34-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo35-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo35-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo35-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo35-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo36-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo36-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo36-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo36-2t.png
--------------------------------------------------------------------------------
/Screenshots/demo37-1t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo37-1t.png
--------------------------------------------------------------------------------
/Screenshots/demo37-2t.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Screenshots/demo37-2t.png
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo12-UIScrollView/Demo12-UIScrollView/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Home.imageset/Home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Home.imageset/Home.png
--------------------------------------------------------------------------------
/Demo12-UIScrollView/Demo12-UIScrollView/Assets.xcassets/bg.imageset/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo12-UIScrollView/Demo12-UIScrollView/Assets.xcassets/bg.imageset/bg.jpg
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/About.imageset/About.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/About.imageset/About.png
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Home.imageset/Home@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Home.imageset/Home@2x.png
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Home.imageset/Home@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Home.imageset/Home@3x.png
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio1.imageset/Audio1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio1.imageset/Audio1.png
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio2.imageset/Audio2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio2.imageset/Audio2.png
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Left.imageset/Left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Left.imageset/Left.png
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/bg-1.imageset/bg-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/bg-1.imageset/bg-1.jpg
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/bg-2.imageset/bg-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/bg-2.imageset/bg-2.jpg
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/About.imageset/About@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/About.imageset/About@2x.png
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/About.imageset/About@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/About.imageset/About@3x.png
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contact.imageset/Contact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contact.imageset/Contact.png
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio1.imageset/Audio1@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio1.imageset/Audio1@2x.png
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio1.imageset/Audio1@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio1.imageset/Audio1@3x.png
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio2.imageset/Audio2@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio2.imageset/Audio2@2x.png
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio2.imageset/Audio2@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio2.imageset/Audio2@3x.png
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Left.imageset/Left@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Left.imageset/Left@2x.png
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Left.imageset/Left@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Left.imageset/Left@3x.png
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Right.imageset/Right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Right.imageset/Right.png
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contact.imageset/Contact@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contact.imageset/Contact@2x.png
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contact.imageset/Contact@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contact.imageset/Contact@3x.png
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Right.imageset/Right@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Right.imageset/Right@2x.png
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Right.imageset/Right@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Right.imageset/Right@3x.png
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/1.imageset/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/1.imageset/1.jpg
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/2.imageset/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/2.imageset/2.jpg
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/3.imageset/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/3.imageset/3.jpg
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/4.imageset/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/4.imageset/4.jpg
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/5.imageset/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/5.imageset/5.jpg
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/6.imageset/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/6.imageset/6.jpg
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Male.imageset/Male.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Male.imageset/Male.png
--------------------------------------------------------------------------------
/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView/Assets.xcassets/bg-2.imageset/bg-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView/Assets.xcassets/bg-2.imageset/bg-2.jpg
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Male.imageset/Male@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Male.imageset/Male@2x.png
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Male.imageset/Male@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Male.imageset/Male@3x.png
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-1.imageset/bg-1.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-1.imageset/bg-1.jpeg
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-2.imageset/bg-2.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-2.imageset/bg-2.jpeg
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-3.imageset/bg-3.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-3.imageset/bg-3.jpeg
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-4.imageset/bg-4.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-4.imageset/bg-4.jpeg
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-5.imageset/bg-5.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-5.imageset/bg-5.jpeg
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Female.imageset/Female.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Female.imageset/Female.png
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Female.imageset/Female@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Female.imageset/Female@2x.png
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Female.imageset/Female@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Female.imageset/Female@3x.png
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-1.imageset/bg-1.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-1.imageset/bg-1.jpeg
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-2.imageset/bg-2.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-2.imageset/bg-2.jpeg
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-3.imageset/bg-3.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-3.imageset/bg-3.jpeg
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-4.imageset/bg-4.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-4.imageset/bg-4.jpeg
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-5.imageset/bg-5.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PrashantMangukiya/SwiftUIDemo/HEAD/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-5.imageset/bg-5.jpeg
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo15-UIView/Demo15-UIView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo2-UIButton/Demo2-UIButton.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo7-UISwitch/Demo7-UISwitch.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo10-UIStepper/Demo10-UIStepper.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo19-UIWebView/Demo19-UIWebView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo24-UIToolbar/Demo24-UIToolbar.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo5-UITextView/Demo5-UITextView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo22-UITableView/Demo22-UITableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo25-UISearchBar/Demo25-UISearchBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo4-UITextField/Demo4-UITextField.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo12-UIScrollView/Demo12-UIScrollView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo13-UIDatePicker/Demo13-UIDatePicker.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo14-UIPickerView/Demo14-UIPickerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo28-UITapGesture/Demo28-UITapGesture.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo32-UIPanGesture/Demo32-UIPanGesture.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo29-UIPinchGesture/Demo29-UIPinchGesture.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo31-UISwipeGesture/Demo31-UISwipeGesture.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo35-UIPageControl/Demo35-UIPageControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo9-UIProgressView/Demo9-UIProgressView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo16-UIContainerView/Demo16-UIContainerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo20-UINavigationBar/Demo20-UINavigationBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo36-IndexedTableView/Demo36-IndexedTableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo37-GroupedTableView/Demo37-GroupedTableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo18-UIAlertController/Demo18-UIAlertController.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo30-UIRotationGesture/Demo30-UIRotationGesture.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo34-UILongPressGesture/Demo34-UILongPressGesture.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo33-UIScreenEdgePanGesture/Demo33-UIScreenEdgePanGesture.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo8-UIActivityIndicatorView/Demo8-UIActivityIndicatorView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/bg-1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-1.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/bg-2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-2.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo12-UIScrollView/Demo12-UIScrollView/Assets.xcassets/bg.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "1.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "2.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/3.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "3.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/4.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "4.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/5.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "5.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.xcassets/6.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "6.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView/Assets.xcassets/bg-2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-2.jpg",
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 | }
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-1.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-2.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-3.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-3.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-4.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-4.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Assets.xcassets/bg-5.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-5.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-1.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-2.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-3.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-3.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-4.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-4.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.xcassets/bg-5.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "bg-5.jpeg",
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 | }
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Home.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Home.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Home@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Home@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Left.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Left.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Left@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Left@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/About.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "About.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "About@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "About@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Audio1.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Audio1@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Audio1@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.xcassets/Audio2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Audio2.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Audio2@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Audio2@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.xcassets/Right.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Right.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Right@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Right@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.xcassets/Contact.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Contact.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Contact@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Contact@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Male.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Male.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Male@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Male@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.xcassets/Female.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Female.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Female@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Female@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo17-UIVisualEffectView
4 | //
5 | // Created by Prashant on 02/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 | // Do any additional setup after loading the view, typically from a nib.
16 | }
17 |
18 | override func didReceiveMemoryWarning() {
19 | super.didReceiveMemoryWarning()
20 | // Dispose of any resources that can be recreated.
21 | }
22 |
23 |
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabel/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo1-UILabel
4 | //
5 | // Created by Prashant on 24/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 | // Do any additional setup after loading the view, typically from a nib.
16 |
17 | print("Test")
18 | }
19 |
20 | override func didReceiveMemoryWarning() {
21 | super.didReceiveMemoryWarning()
22 | // Dispose of any resources that can be recreated.
23 | }
24 |
25 |
26 | }
27 |
28 |
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/PhotoCollectionViewCell.swift:
--------------------------------------------------------------------------------
1 | //
2 | // PhotoCollectionViewCell.swift
3 | // Demo23-UICollectionView
4 | //
5 | // Created by Prashant on 08/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class PhotoCollectionViewCell: UICollectionViewCell {
12 |
13 | // outlet - image view
14 | @IBOutlet var photoImageView: UIImageView!
15 |
16 | // set corner radious for image view
17 | func setCornerRadious(_ radious: Int) {
18 |
19 | self.photoImageView.clipsToBounds = true
20 |
21 | self.photoImageView.layer.cornerRadius = CGFloat(radious)
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | build/
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | *.xccheckout
14 | *.moved-aside
15 | DerivedData
16 | *.hmap
17 | *.ipa
18 | *.xcuserstate
19 |
20 | # CocoaPods
21 | #
22 | # We recommend against adding the Pods directory to your .gitignore. However
23 | # you should judge for yourself, the pros and cons are mentioned at:
24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
25 | #
26 | # Pods/
27 |
28 | # Carthage
29 | #
30 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
31 | # Carthage/Checkouts
32 |
33 | Carthage/Build
34 |
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabelTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabelUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/HomeViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // HomeViewController.swift
3 | // Demo21-UITabBar
4 | //
5 | // Created by Prashant on 06/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class HomeViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | // Dispose of any resources that can be recreated.
22 | }
23 |
24 |
25 | /*
26 | // MARK: - Navigation
27 |
28 | // In a storyboard-based application, you will often want to do a little preparation before navigation
29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
30 | // Get the new view controller using segue.destinationViewController.
31 | // Pass the selected object to the new view controller.
32 | }
33 | */
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/MapViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // MapViewController.swift
3 | // Demo21-UITabBar
4 | //
5 | // Created by Prashant on 06/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class MapViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | // Dispose of any resources that can be recreated.
22 | }
23 |
24 |
25 | /*
26 | // MARK: - Navigation
27 |
28 | // In a storyboard-based application, you will often want to do a little preparation before navigation
29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
30 | // Get the new view controller using segue.destinationViewController.
31 | // Pass the selected object to the new view controller.
32 | }
33 | */
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/AboutViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AboutViewController.swift
3 | // Demo21-UITabBar
4 | //
5 | // Created by Prashant on 06/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class AboutViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | // Dispose of any resources that can be recreated.
22 | }
23 |
24 |
25 | /*
26 | // MARK: - Navigation
27 |
28 | // In a storyboard-based application, you will often want to do a little preparation before navigation
29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
30 | // Get the new view controller using segue.destinationViewController.
31 | // Pass the selected object to the new view controller.
32 | }
33 | */
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/ContactViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ContactViewController.swift
3 | // Demo21-UITabBar
4 | //
5 | // Created by Prashant on 06/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ContactViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | // Dispose of any resources that can be recreated.
22 | }
23 |
24 |
25 | /*
26 | // MARK: - Navigation
27 |
28 | // In a storyboard-based application, you will often want to do a little preparation before navigation
29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
30 | // Get the new view controller using segue.destinationViewController.
31 | // Pass the selected object to the new view controller.
32 | }
33 | */
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/Demo20-UINavigationBar/Demo20-UINavigationBar/HelpViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // HelpViewController.swift
3 | // Demo20-UINavigationBar
4 | //
5 | // Created by Prashant on 05/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class HelpViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | // Dispose of any resources that can be recreated.
22 | }
23 |
24 |
25 | /*
26 | // MARK: - Navigation
27 |
28 | // In a storyboard-based application, you will often want to do a little preparation before navigation
29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
30 | // Get the new view controller using segue.destinationViewController.
31 | // Pass the selected object to the new view controller.
32 | }
33 | */
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/Demo20-UINavigationBar/Demo20-UINavigationBar/SettingsViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SettingsViewController.swift
3 | // Demo20-UINavigationBar
4 | //
5 | // Created by Prashant on 05/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class SettingsViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | // Do any additional setup after loading the view.
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | // Dispose of any resources that can be recreated.
22 | }
23 |
24 |
25 | /*
26 | // MARK: - Navigation
27 |
28 | // In a storyboard-based application, you will often want to do a little preparation before navigation
29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
30 | // Get the new view controller using segue.destinationViewController.
31 | // Pass the selected object to the new view controller.
32 | }
33 | */
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/Demo34-UILongPressGesture/Demo34-UILongPressGesture/MyCustomView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // MyCustomView.swift
3 | // Demo34-UILongPressGesture
4 | //
5 | // Created by Prashant on 16/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class MyCustomView: UIView {
12 |
13 | override init(frame: CGRect) {
14 | super.init(frame: frame)
15 |
16 | // set corner radious and border thickness
17 | self.layer.cornerRadius = self.layer.frame.width/2
18 | self.layer.borderWidth = 2.0
19 |
20 |
21 | // set view background color randomly
22 | let myRed = CGFloat( (arc4random_uniform(255) + 100 ) / 255 )
23 | let myGreen = CGFloat( (arc4random_uniform(255) + 100 ) / 255 )
24 | let myBlue = CGFloat( (arc4random_uniform(255) + 100 ) / 255 )
25 | self.backgroundColor = UIColor(red: myRed, green: myGreen, blue: myBlue, alpha: 1.0)
26 | }
27 |
28 | required init?(coder aDecoder: NSCoder) {
29 | fatalError("init(coder:) has not been implemented")
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 PrashantKumar Mangukiya
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabelTests/Demo1_UILabelTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Demo1_UILabelTests.swift
3 | // Demo1-UILabelTests
4 | //
5 | // Created by Prashant on 24/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import XCTest
10 | @testable import Demo1_UILabel
11 |
12 | class Demo1_UILabelTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | // Use XCTAssert and related functions to verify your tests produce the correct results.
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measure {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/Demo2-UIButton/Demo2-UIButton/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo2-UIButton
4 | //
5 | // Created by Prashant on 25/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | // number of click
14 | var clickCount: Int = 0
15 |
16 | // outlet - clickCount label
17 | @IBOutlet var clickCountLabel: UILabel!
18 |
19 | // outlet - button
20 | @IBOutlet var buttonClickMe: UIButton!
21 |
22 | // action - button
23 | @IBAction func buttonClickMeAction(_ sender: UIButton) {
24 | self.clickCount = self.clickCount + 1
25 | self.clickCountLabel.text = "\(self.clickCount)"
26 | }
27 |
28 |
29 |
30 | override func viewDidLoad() {
31 | super.viewDidLoad()
32 | // Do any additional setup after loading the view, typically from a nib.
33 |
34 | // set click count 0 at start
35 | self.clickCount = 0
36 |
37 | // set value for click count
38 | self.clickCountLabel.text = "\(self.clickCount)"
39 | }
40 |
41 | override func didReceiveMemoryWarning() {
42 | super.didReceiveMemoryWarning()
43 | // Dispose of any resources that can be recreated.
44 | }
45 |
46 | }
47 |
--------------------------------------------------------------------------------
/Demo22-UITableView/Demo22-UITableView/DetailsViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // DetailsViewController.swift
3 | // Demo22-UITableView
4 | //
5 | // Created by Prashant on 07/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class DetailsViewController: UIViewController {
12 |
13 |
14 | var selectedItemName = "--"
15 |
16 | // outlet - item name label
17 | @IBOutlet var itemNameLabel: UILabel!
18 |
19 |
20 | // MARK: - View functions
21 |
22 | override func viewDidLoad() {
23 | super.viewDidLoad()
24 | // Do any additional setup after loading the view.
25 |
26 | self.itemNameLabel.text = self.selectedItemName
27 | }
28 |
29 | override func didReceiveMemoryWarning() {
30 | super.didReceiveMemoryWarning()
31 | // Dispose of any resources that can be recreated.
32 | }
33 |
34 |
35 | /*
36 | // MARK: - Navigation
37 |
38 | // In a storyboard-based application, you will often want to do a little preparation before navigation
39 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
40 | // Get the new view controller using segue.destinationViewController.
41 | // Pass the selected object to the new view controller.
42 | }
43 | */
44 |
45 | }
46 |
--------------------------------------------------------------------------------
/Demo15-UIView/Demo15-UIView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo10-UIStepper/Demo10-UIStepper/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo24-UIToolbar/Demo24-UIToolbar/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo5-UITextView/Demo5-UITextView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo4-UITextField/Demo4-UITextField/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo14-UIPickerView/Demo14-UIPickerView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo32-UIPanGesture/Demo32-UIPanGesture/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo10-UIStepper/Demo10-UIStepper/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo10-UIStepper
4 | //
5 | // Created by Prashant on 28/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 |
12 | class ViewController: UIViewController {
13 |
14 |
15 | // outlet - counter label
16 | @IBOutlet var counterLabel: UILabel!
17 |
18 | // outlet & action - stepper1
19 | @IBOutlet var stepper1: UIStepper!
20 | @IBAction func stepper1Action(_ sender: UIStepper) {
21 | self.counterLabel.text = "\(Int(sender.value))"
22 | }
23 |
24 |
25 | // outlet - message label
26 | @IBOutlet var messageLabel: UILabel!
27 |
28 | // outlet & action - stepper2
29 | @IBOutlet var stepper2: UIStepper!
30 | @IBAction func stepper2Action(_ sender: UIStepper) {
31 | self.messageLabel.font = UIFont(name: self.messageLabel.font.fontName, size: CGFloat(self.stepper2.value))
32 | }
33 |
34 |
35 |
36 | // MARK: - View functions
37 |
38 | override func viewDidLoad() {
39 | super.viewDidLoad()
40 | // Do any additional setup after loading the view, typically from a nib.
41 | }
42 |
43 | override func didReceiveMemoryWarning() {
44 | super.didReceiveMemoryWarning()
45 | // Dispose of any resources that can be recreated.
46 | }
47 |
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabel/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo15-UIView/Demo15-UIView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo2-UIButton/Demo2-UIButton/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo21-UITabBar/Demo21-UITabBar/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo7-UISwitch/Demo7-UISwitch/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo10-UIStepper/Demo10-UIStepper/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo19-UIWebView/Demo19-UIWebView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo24-UIToolbar/Demo24-UIToolbar/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo4-UITextField/Demo4-UITextField/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo5-UITextView/Demo5-UITextView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo8-UIActivityIndicatorView/Demo8-UIActivityIndicatorView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo13-UIDatePicker/Demo13-UIDatePicker/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo14-UIPickerView/Demo14-UIPickerView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo22-UITableView/Demo22-UITableView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo25-UISearchBar/Demo25-UISearchBar/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo28-UITapGesture/Demo28-UITapGesture/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo32-UIPanGesture/Demo32-UIPanGesture/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo35-UIPageControl/Demo35-UIPageControl/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo9-UIProgressView/Demo9-UIProgressView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo16-UIContainerView/Demo16-UIContainerView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo20-UINavigationBar/Demo20-UINavigationBar/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo29-UIPinchGesture/Demo29-UIPinchGesture/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo31-UISwipeGesture/Demo31-UISwipeGesture/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabelUITests/Demo1_UILabelUITests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Demo1_UILabelUITests.swift
3 | // Demo1-UILabelUITests
4 | //
5 | // Created by Prashant on 24/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import XCTest
10 |
11 | class Demo1_UILabelUITests: XCTestCase {
12 |
13 | override func setUp() {
14 | super.setUp()
15 |
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 |
18 | // In UI tests it is usually best to stop immediately when a failure occurs.
19 | continueAfterFailure = false
20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
21 | XCUIApplication().launch()
22 |
23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
24 | }
25 |
26 | override func tearDown() {
27 | // Put teardown code here. This method is called after the invocation of each test method in the class.
28 | super.tearDown()
29 | }
30 |
31 | func testExample() {
32 | // Use recording to get started writing UI tests.
33 | // Use XCTAssert and related functions to verify your tests produce the correct results.
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/Demo17-UIVisualEffectView/Demo17-UIVisualEffectView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo18-UIAlertController/Demo18-UIAlertController/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo30-UIRotationGesture/Demo30-UIRotationGesture/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo34-UILongPressGesture/Demo34-UILongPressGesture/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo36-IndexedTableView/Demo36-IndexedTableView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo37-GroupedTableView/Demo37-GroupedTableView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo33-UIScreenEdgePanGesture/Demo33-UIScreenEdgePanGesture/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo8-UIActivityIndicatorView/Demo8-UIActivityIndicatorView/Assets.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" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Demo5-UITextView/Demo5-UITextView/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo5-UITextView
4 | //
5 | // Created by Prashant on 27/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController, UITextViewDelegate {
12 |
13 |
14 | // outlet - text view
15 | @IBOutlet var myTextView: UITextView!
16 |
17 | //action - done button
18 | @IBAction func doneButtonAction(_ sender: UIButton) {
19 | self.myTextView.resignFirstResponder()
20 | }
21 |
22 |
23 |
24 | // MARK: - view function
25 |
26 | override func viewDidLoad() {
27 | super.viewDidLoad()
28 | // Do any additional setup after loading the view, typically from a nib.
29 |
30 | // set delegate for text view
31 | self.myTextView.delegate = self
32 |
33 | // remove top offset within textView
34 | self.automaticallyAdjustsScrollViewInsets = false
35 | }
36 |
37 | override func didReceiveMemoryWarning() {
38 | super.didReceiveMemoryWarning()
39 | // Dispose of any resources that can be recreated.
40 | }
41 |
42 |
43 |
44 | // close keyboard when touch the view
45 | override func touchesBegan(_ touches: Set, with event: UIEvent?) {
46 |
47 | // end editing mode for view
48 | self.view.endEditing(true)
49 | }
50 |
51 |
52 | }
53 |
54 |
--------------------------------------------------------------------------------
/Demo13-UIDatePicker/Demo13-UIDatePicker/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo13-UIDatePicker
4 | //
5 | // Created by Prashant on 29/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 |
14 | // date formatter
15 | var dateFormatter: DateFormatter!
16 |
17 | // outlet - date label
18 | @IBOutlet var dateLabel: UILabel!
19 |
20 |
21 | // outlet & action - date picker
22 | @IBOutlet var datePicker: UIDatePicker!
23 | @IBAction func datePickerAction(_ sender: UIDatePicker) {
24 | // assign date to label when date picker value changed
25 | self.dateLabel.text = self.dateFormatter.string(from: sender.date)
26 | }
27 |
28 |
29 |
30 | // MARK: - View functions
31 |
32 | override func viewDidLoad() {
33 | super.viewDidLoad()
34 | // Do any additional setup after loading the view, typically from a nib.
35 |
36 | // set date formater for short date/time
37 | self.dateFormatter = DateFormatter()
38 | self.dateFormatter.dateStyle = DateFormatter.Style.long
39 | self.dateFormatter.timeStyle = DateFormatter.Style.short
40 |
41 | // assign date picker date value to label
42 | self.dateLabel.text = self.dateFormatter.string(from: self.datePicker.date)
43 | }
44 |
45 | override func didReceiveMemoryWarning() {
46 | super.didReceiveMemoryWarning()
47 | // Dispose of any resources that can be recreated.
48 | }
49 |
50 |
51 | }
52 |
53 |
--------------------------------------------------------------------------------
/Demo30-UIRotationGesture/Demo30-UIRotationGesture/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo30-UIRotationGesture
4 | //
5 | // Created by Prashant on 13/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 |
12 | class ViewController: UIViewController, UIGestureRecognizerDelegate {
13 |
14 | // outlet - sample view
15 | @IBOutlet var sampleView: UIView!
16 |
17 | // create rotation gesture recognizer
18 | let rotateGesture = UIRotationGestureRecognizer()
19 |
20 |
21 |
22 | // MARK: - View functions
23 |
24 | override func viewDidLoad() {
25 | super.viewDidLoad()
26 | // Do any additional setup after loading the view, typically from a nib.
27 |
28 | // create rotation gesture recognizer
29 | self.rotateGesture.delegate = self
30 |
31 | // add rotate gesture target
32 | self.rotateGesture.addTarget(self, action: #selector(ViewController.rotateView(_:)))
33 |
34 | // add rotate gesture within view
35 | self.view.addGestureRecognizer(rotateGesture)
36 | }
37 |
38 | override func didReceiveMemoryWarning() {
39 | super.didReceiveMemoryWarning()
40 | // Dispose of any resources that can be recreated.
41 | }
42 |
43 |
44 |
45 | // MARK: - Utility functions
46 |
47 | func rotateView(_ gesture: UIRotationGestureRecognizer) {
48 |
49 | self.sampleView.transform = self.sampleView.transform.rotated(by: gesture.rotation)
50 |
51 | gesture.rotation = 0
52 | }
53 |
54 |
55 | }
56 |
57 |
--------------------------------------------------------------------------------
/Demo28-UITapGesture/Demo28-UITapGesture/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo28-UITapGesture
4 | //
5 | // Created by Prashant on 11/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController, UIGestureRecognizerDelegate {
12 |
13 | // Initiate tap geture recognizer object
14 | let tapGesture : UITapGestureRecognizer = UITapGestureRecognizer()
15 |
16 | // outlet - tap count label
17 | @IBOutlet var tapCountLabel: UILabel!
18 |
19 |
20 | // set tap count default value
21 | var tapCount: Int = 0
22 |
23 |
24 | // MARK: - View functions
25 | override func viewDidLoad() {
26 | super.viewDidLoad()
27 | // Do any additional setup after loading the view, typically from a nib.
28 |
29 | // set tap gesture recognizer delegte
30 | self.tapGesture.delegate = self
31 |
32 | // set tap gesture target
33 | self.tapGesture.addTarget(self, action: #selector(ViewController.increaseCount))
34 |
35 | // add tap gesture recognizer into view
36 | self.view.addGestureRecognizer(self.tapGesture)
37 | }
38 |
39 | override func didReceiveMemoryWarning() {
40 | super.didReceiveMemoryWarning()
41 | // Dispose of any resources that can be recreated.
42 | }
43 |
44 |
45 | // MARK: - Utility functions
46 |
47 | // function - increase count when screen tapped.
48 | func increaseCount(){
49 | self.tapCount = self.tapCount + 1
50 | self.tapCountLabel.text = "\(self.tapCount)"
51 | }
52 |
53 |
54 | }
55 |
56 |
--------------------------------------------------------------------------------
/Demo1-UILabel/Demo1-UILabel/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo2-UIButton/Demo2-UIButton/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo7-UISwitch/Demo7-UISwitch/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo16-UIContainerView/Demo16-UIContainerView/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo16-UIContainerView
4 | //
5 | // Created by Prashant on 01/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 |
14 | // action - segment control
15 | @IBAction func segmentControlAction(_ sender: UISegmentedControl) {
16 |
17 | // Show/Hide container view based on segment control
18 | if sender.selectedSegmentIndex == 0 {
19 | self.containerView1.isHidden = false
20 | self.containerView2.isHidden = true
21 |
22 | }else if sender.selectedSegmentIndex == 1 {
23 | self.containerView1.isHidden = true
24 | self.containerView2.isHidden = false
25 | }
26 | }
27 |
28 |
29 | // outlet - containerView1. containerView2
30 | @IBOutlet var containerView1: UIView!
31 | @IBOutlet var containerView2: UIView!
32 |
33 |
34 |
35 | // MARK: - View functions
36 |
37 | override func viewDidLoad() {
38 | super.viewDidLoad()
39 | // Do any additional setup after loading the view, typically from a nib.
40 |
41 | // show first container at load time
42 | self.containerView1.isHidden = false
43 |
44 | // hide second container at load time
45 | self.containerView2.isHidden = true
46 |
47 | }
48 |
49 | override func didReceiveMemoryWarning() {
50 | super.didReceiveMemoryWarning()
51 | // Dispose of any resources that can be recreated.
52 | }
53 |
54 |
55 | }
56 |
57 |
--------------------------------------------------------------------------------
/Demo29-UIPinchGesture/Demo29-UIPinchGesture/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo29-UIPinchGesture
4 | //
5 | // Created by Prashant on 12/10/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController, UIGestureRecognizerDelegate {
12 |
13 |
14 | // blue color square view
15 | @IBOutlet var squareView: UIView!
16 |
17 | // pinch gesture object
18 | var pinchGesture = UIPinchGestureRecognizer()
19 |
20 |
21 |
22 | // MARK: - View functions
23 |
24 | override func viewDidLoad() {
25 | super.viewDidLoad()
26 | // Do any additional setup after loading the view, typically from a nib.
27 |
28 | // set pinch gesture delegate
29 | self.pinchGesture.delegate = self
30 |
31 | // set pinch gesture target
32 | self.pinchGesture = UIPinchGestureRecognizer(target: self, action: #selector(ViewController.pinchRecognized(_:)))
33 |
34 | // add pinch gesture recognizer to view
35 | self.view.addGestureRecognizer(self.pinchGesture)
36 | }
37 |
38 | override func didReceiveMemoryWarning() {
39 | super.didReceiveMemoryWarning()
40 | // Dispose of any resources that can be recreated.
41 | }
42 |
43 |
44 |
45 | // MARK: - Utility functions
46 |
47 | func pinchRecognized(_ pinch: UIPinchGestureRecognizer) {
48 |
49 | // change view scale based on pinch
50 | self.squareView.transform = self.squareView.transform.scaledBy(x: pinch.scale, y: pinch.scale)
51 | pinch.scale = 1.0
52 | }
53 |
54 | }
55 |
56 |
--------------------------------------------------------------------------------
/Demo11-UIImageView/Demo11-UIImageView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeRight
37 | UIInterfaceOrientationLandscapeLeft
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationLandscapeRight
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationPortraitUpsideDown
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo12-UIScrollView/Demo12-UIScrollView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo13-UIDatePicker/Demo13-UIDatePicker/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo22-UITableView/Demo22-UITableView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo25-UISearchBar/Demo25-UISearchBar/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo28-UITapGesture/Demo28-UITapGesture/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo35-UIPageControl/Demo35-UIPageControl/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo9-UIProgressView/Demo9-UIProgressView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo16-UIContainerView/Demo16-UIContainerView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo20-UINavigationBar/Demo20-UINavigationBar/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo29-UIPinchGesture/Demo29-UIPinchGesture/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo31-UISwipeGesture/Demo31-UISwipeGesture/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo18-UIAlertController/Demo18-UIAlertController/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo23-UICollectionView/Demo23-UICollectionView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo3-UISegmentedControl/Demo3-UISegmentedControl/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo30-UIRotationGesture/Demo30-UIRotationGesture/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo34-UILongPressGesture/Demo34-UILongPressGesture/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo36-IndexedTableView/Demo36-IndexedTableView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo37-GroupedTableView/Demo37-GroupedTableView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo27-UIStackViewVertical/Demo27-UIStackViewVertical/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo26-UIStackViewHorizontal/Demo26-UIStackViewHorizontal/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo33-UIScreenEdgePanGesture/Demo33-UIScreenEdgePanGesture/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Demo15-UIView/Demo15-UIView/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo15-UIView
4 | //
5 | // Created by Prashant on 30/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 |
14 | // outlet - view
15 | @IBOutlet var myView: UIView!
16 |
17 |
18 | // outlet - corder radious and border label
19 | @IBOutlet var corderRadiousLabel: UILabel!
20 | @IBOutlet var borderLabel: UILabel!
21 |
22 |
23 | // action - corder radious slider value changed
24 | @IBAction func cornerSliderAction(_ sender: UISlider) {
25 |
26 | // set corner radious from slider value
27 | self.myView.layer.cornerRadius = CGFloat(Int(sender.value))
28 |
29 | // set corner radious label
30 | self.corderRadiousLabel.text = "\(Int(sender.value))"
31 | }
32 |
33 |
34 | // action - border slider value changed
35 | @IBAction func borderSliderAction(_ sender: UISlider) {
36 |
37 | // set border width from slider value
38 | self.myView.layer.borderWidth = CGFloat(Int(sender.value))
39 |
40 | // set border label
41 | self.borderLabel.text = "\(Int(sender.value))"
42 | }
43 |
44 |
45 |
46 |
47 | // MARK: - View functions
48 |
49 | override func viewDidLoad() {
50 | super.viewDidLoad()
51 | // Do any additional setup after loading the view, typically from a nib.
52 | }
53 |
54 | override func didReceiveMemoryWarning() {
55 | super.didReceiveMemoryWarning()
56 | // Dispose of any resources that can be recreated.
57 | }
58 |
59 |
60 | }
61 |
62 |
--------------------------------------------------------------------------------
/Demo6-UISlider/Demo6-UISlider/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo6-UISlider
4 | //
5 | // Created by Prashant on 27/09/15.
6 | // Copyright © 2015 PrashantKumar Mangukiya. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 |
14 | // outlet & action - slider1
15 | @IBOutlet var mySlider1: UISlider!
16 | @IBAction func mySlider1Action(_ sender: UISlider) {
17 | self.myLabel1.text = "\(Int(sender.value))"
18 | }
19 |
20 | // outlet - label1
21 | @IBOutlet var myLabel1: UILabel!
22 |
23 |
24 | // outlet & action - slider2
25 | @IBOutlet var mySlider2: UISlider!
26 | @IBAction func mySlider2Action(_ sender: UISlider) {
27 | let currentValue = CGFloat(sender.value)
28 | self.myLabel2.font = UIFont(name: self.myLabel2.font.fontName, size: currentValue)
29 | }
30 |
31 | // outlet - label2
32 | @IBOutlet var myLabel2: UILabel!
33 |
34 |
35 |
36 | // MARK: - View functions
37 |
38 | override func viewDidLoad() {
39 | super.viewDidLoad()
40 | // Do any additional setup after loading the view, typically from a nib.
41 |
42 | // set value for label1
43 | self.myLabel1.text = "\(Int(mySlider1.value))"
44 |
45 | // set font size for label2
46 | let currentValue = CGFloat(self.mySlider2.value)
47 | self.myLabel2.font = UIFont(name: self.myLabel2.font.fontName, size: currentValue)
48 | }
49 |
50 | override func didReceiveMemoryWarning() {
51 | super.didReceiveMemoryWarning()
52 | // Dispose of any resources that can be recreated.
53 | }
54 |
55 |
56 | }
57 |
58 |
--------------------------------------------------------------------------------