├── .gitignore ├── Project01_SimpleClock ├── 1.gif ├── SimpleClock.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── SimpleClock │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── File.swift │ ├── Info.plist │ └── ViewController.swift ├── Project02_CustomFont ├── 2.gif ├── CustomFont.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── CustomFont │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── MFJinHei_Noncommercial-Regular.ttf │ ├── MFTongXin_Noncommercial-Regular.ttf │ ├── MFZhiHei_Noncommercial-Regular.ttf │ └── ViewController.swift ├── Project03_PlayLocalVideo ├── 3.gif ├── PlayLocalVideo.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── PlayLocalVideo │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── playBtn.imageset │ │ ├── Contents.json │ │ ├── playBtn.png │ │ ├── playBtn@2x.png │ │ └── playBtn@3x.png │ ├── videoScreenshot01.imageset │ │ ├── Contents.json │ │ ├── videoScreenshot01.png │ │ ├── videoScreenshot01@2x.png │ │ └── videoScreenshot01@3x.png │ ├── videoScreenshot02.imageset │ │ ├── Contents.json │ │ ├── videoScreenshot02.png │ │ ├── videoScreenshot02@2x.png │ │ └── videoScreenshot02@3x.png │ ├── videoScreenshot03.imageset │ │ ├── Contents.json │ │ ├── videoScreenshot03.png │ │ ├── videoScreenshot03@2x.png │ │ └── videoScreenshot03@3x.png │ ├── videoScreenshot04.imageset │ │ ├── Contents.json │ │ ├── videoScreenshot04.png │ │ ├── videoScreenshot04@2x.png │ │ └── videoScreenshot04@3x.png │ ├── videoScreenshot05.imageset │ │ ├── Contents.json │ │ ├── videoScreenshot05.png │ │ ├── videoScreenshot05@2x.png │ │ └── videoScreenshot05@3x.png │ └── videoScreenshot06.imageset │ │ ├── Contents.json │ │ ├── videoScreenshot06.png │ │ ├── videoScreenshot06@2x.png │ │ └── videoScreenshot06@3x.png │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── VideoCell.swift │ ├── ViewController.swift │ └── emoji zone.mp4 ├── Project04_WelcomView ├── 4.gif ├── WelcomView.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── WelcomView │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── first.imageset │ │ ├── Contents.json │ │ └── first.jpg │ ├── second.imageset │ │ ├── Contents.json │ │ └── second.jpg │ └── three.imageset │ │ ├── Contents.json │ │ └── three.jpg │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project05_PictureBrowse ├── 5.gif ├── PictureBrowse.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── PictureBrowse │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── blue.imageset │ │ ├── Contents.json │ │ └── blue.png │ ├── bodyline.imageset │ │ ├── Contents.json │ │ └── bodyline.png │ ├── darkvarder.imageset │ │ ├── Contents.json │ │ └── darkvarder.png │ ├── dudu.imageset │ │ ├── Contents.json │ │ └── dudu.jpg │ ├── hello.imageset │ │ ├── Contents.json │ │ └── hello.jpg │ ├── hhhhh.imageset │ │ ├── Contents.json │ │ └── hhhhh.jpg │ ├── run.imageset │ │ ├── Contents.json │ │ └── IMG_1517.PNG │ └── wave.imageset │ │ ├── Contents.json │ │ └── wave.jpg │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CollectionCell.swift │ ├── CollectionModel.swift │ ├── Info.plist │ └── ViewController.swift ├── Project06_CurrentLocation ├── CurrentLocation.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── CurrentLocation │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── Find my location.imageset │ │ ├── Contents.json │ │ ├── Find my location.png │ │ ├── Find my location@2x.png │ │ └── Find my location@3x.png │ └── bg.imageset │ │ ├── 1-Eb_0OvtcxJXHZ7-IOoBsaQ.png │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project07_SystemRefreshControl ├── 7.gif ├── SystemRefreshControl.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── SystemRefreshControl │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project08_GradientColor ├── 8.gif ├── GradientColor.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── GradientColor │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project09_ImageScroller ├── 9.gif ├── ImageScroller.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── ImageScroller │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ └── steve.imageset │ │ ├── Contents.json │ │ ├── Steve.png │ │ ├── Steve@2x.png │ │ └── Steve@3x.png │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project10_VideoBackground ├── 10.gif ├── VideoBackground.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── VideoBackground │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── BtnExtensions.swift │ ├── Info.plist │ ├── ViewController.swift │ └── moments.mp4 ├── Project11_ColorProgress ├── 11.gif ├── ColorProgress.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── ColorProgress │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── ColorProgress.swift │ ├── Info.plist │ └── ViewController.swift ├── Project12_TableHeaderView ├── 12.gif ├── TableHeaderView.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── TableHeaderView │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project13_AnimateTableView ├── 13.gif ├── AnimateTableView.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── AnimateTableView │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CustomTableViewCell.swift │ ├── Info.plist │ └── ViewController.swift ├── Project14_WaveView ├── 14.gif ├── WaveView.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── WaveView │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── ViewController.swift │ └── WaveView.swift ├── Project15_ShapeLayerAnimation ├── 15.gif ├── ShapeLayerAnimation.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── ShapeLayerAnimation │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── DrawRectView.swift │ ├── Info.plist │ ├── ShapeLayerAnimation.swift │ └── ViewController.swift ├── Project16_PickerView ├── 16.gif ├── PickerView.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── PickerView │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project17_AnimatedSplash ├── 17.gif ├── AnimatedSplash.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── AnimatedSplash │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── screen.imageset │ │ ├── Contents.json │ │ └── twitterscreen.png │ └── twitter.imageset │ │ ├── Contents.json │ │ └── twitter logo mask.png │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project18_ChildVCTransition ├── 18.gif ├── ChildVCTransition.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── ChildVCTransition │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── ChildBVC.swift │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── ChildAVC.swift │ ├── Info.plist │ └── RootVC.swift ├── Project19_CustomPushTransition ├── 19.gif ├── CustomPushTransition.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── CustomPushTransition │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── 4.imageset │ │ ├── 4.JPG │ │ └── Contents.json │ ├── 8.imageset │ │ ├── 8.JPG │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── PopAnimation.swift │ ├── PushAnimation.swift │ ├── PushVC.swift │ └── ViewController.swift ├── Project20_MusicPlayer ├── MusicPlayer.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── MusicPlayer │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── ViewController.swift │ ├── 成都.m4r │ └── 童话镇.m4r ├── Project21_TumblrMenu ├── 21.gif ├── TumblrMenu.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── TumblrMenu │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── 8.imageset │ │ ├── 8.JPG │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Audio.imageset │ │ ├── Audio@2x.png │ │ └── Contents.json │ ├── Chat.imageset │ │ ├── Chat@2x.png │ │ └── Contents.json │ ├── Contents.json │ ├── Link.imageset │ │ ├── Contents.json │ │ └── Link@2x.png │ ├── Photo.imageset │ │ ├── Contents.json │ │ └── Photo@2x.png │ ├── Quote.imageset │ │ ├── Contents.json │ │ └── Quote@2x.png │ └── Text.imageset │ │ ├── Contents.json │ │ └── Text@2x.png │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Extension.swift │ ├── Info.plist │ ├── MenuTransitionManger.swift │ ├── MenuViewController.swift │ └── ViewController.swift ├── Project22_LoginView ├── 22.gif ├── LoginView.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── LoginView │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Extension.swift │ ├── Info.plist │ └── ViewController.swift ├── Project23_URLImage ├── 23.gif ├── URLImage.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── URLImage │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project24_CollectionViewAnimation ├── 24.gif ├── CollectionViewAnimation.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── CollectionViewAnimation │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── 1.imageset │ │ ├── Contents.json │ │ └── tumblr_nk8k92X6N21sjh145o1_1280.jpg │ ├── 2.imageset │ │ ├── Contents.json │ │ └── tumblr_n9hyj3WPl21st5lhmo1_1280.jpg │ ├── 3.imageset │ │ ├── Contents.json │ │ └── tumblr_muqax2L0Ad1qkegsbo1_500.jpg │ ├── 4.imageset │ │ ├── Contents.json │ │ └── qSrhpUW.jpg │ ├── 5.imageset │ │ ├── Contents.json │ │ └── r0q8bh2.jpg │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Back-icon.imageset │ │ ├── Back-icon.pdf │ │ └── Contents.json │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CustomCell.swift │ ├── Info.plist │ └── ViewController.swift ├── Project25_SwipeableCell ├── 25.gif ├── SwipeableCell.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── SwipeableCell │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── 1.imageset │ │ ├── Contents.json │ │ └── car.png │ ├── 2.imageset │ │ ├── Contents.json │ │ └── patternnl-1.png │ ├── 3.imageset │ │ ├── Contents.json │ │ └── sets-rep-ebd2.png │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CustomCell.swift │ ├── Info.plist │ └── ViewController.swift ├── Project26_SortableCollectionView ├── 26.gif ├── SortableCollectionView.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── SortableCollectionView │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── SortableCollectionView.swift │ └── ViewController.swift ├── Project27_CustomCollectionLayout ├── 27.gif ├── CustomCollectionLayout.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── CustomCollectionLayout │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CirCleLayout.swift │ ├── Info.plist │ ├── LineLayout.swift │ ├── ShowViewController.swift │ ├── ViewController.swift │ └── WaterFallLayout.swift ├── Project28_MosaicLayout ├── 28.gif ├── MosaicLayout.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── MosaicLayout.xcworkspace │ └── contents.xcworkspacedata ├── MosaicLayout │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── back.imageset │ │ │ ├── Contents.json │ │ │ └── back.png │ │ ├── birds.imageset │ │ │ ├── Contents.json │ │ │ └── birds.png │ │ ├── sunset.imageset │ │ │ ├── Contents.json │ │ │ └── sunset.png │ │ └── waves.imageset │ │ │ ├── Contents.json │ │ │ └── waves.png │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ ├── CustomCollectionCell.swift │ ├── CustomHeaderView.swift │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── FMMosaicLayout │ ├── LICENSE │ ├── Pod │ │ └── Classes │ │ │ ├── FMMosaicLayout.h │ │ │ └── FMMosaicLayout.m │ └── README.md │ ├── Manifest.lock │ ├── Pods.xcodeproj │ └── project.pbxproj │ └── Target Support Files │ ├── FMMosaicLayout │ ├── FMMosaicLayout-dummy.m │ ├── FMMosaicLayout-prefix.pch │ ├── FMMosaicLayout-umbrella.h │ ├── FMMosaicLayout.modulemap │ ├── FMMosaicLayout.xcconfig │ └── Info.plist │ └── Pods-MosaicLayout │ ├── Info.plist │ ├── Pods-MosaicLayout-acknowledgements.markdown │ ├── Pods-MosaicLayout-acknowledgements.plist │ ├── Pods-MosaicLayout-dummy.m │ ├── Pods-MosaicLayout-frameworks.sh │ ├── Pods-MosaicLayout-resources.sh │ ├── Pods-MosaicLayout-umbrella.h │ ├── Pods-MosaicLayout.debug.xcconfig │ ├── Pods-MosaicLayout.modulemap │ └── Pods-MosaicLayout.release.xcconfig ├── Project29_BasicAnimation ├── 29.gif ├── BasicAnimation.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── BasicAnimation │ ├── AnimationViewController.swift │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project30_SQLite ├── 30.gif ├── Podfile ├── Podfile.lock ├── Pods │ ├── FMDB │ │ ├── LICENSE.txt │ │ ├── README.markdown │ │ └── src │ │ │ └── fmdb │ │ │ ├── FMDB.h │ │ │ ├── FMDatabase.h │ │ │ ├── FMDatabase.m │ │ │ ├── FMDatabaseAdditions.h │ │ │ ├── FMDatabaseAdditions.m │ │ │ ├── FMDatabasePool.h │ │ │ ├── FMDatabasePool.m │ │ │ ├── FMDatabaseQueue.h │ │ │ ├── FMDatabaseQueue.m │ │ │ ├── FMResultSet.h │ │ │ └── FMResultSet.m │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── FMDB │ │ ├── FMDB-dummy.m │ │ ├── FMDB-prefix.pch │ │ ├── FMDB-umbrella.h │ │ ├── FMDB.modulemap │ │ ├── FMDB.xcconfig │ │ └── Info.plist │ │ └── Pods-SQLite │ │ ├── Info.plist │ │ ├── Pods-SQLite-acknowledgements.markdown │ │ ├── Pods-SQLite-acknowledgements.plist │ │ ├── Pods-SQLite-dummy.m │ │ ├── Pods-SQLite-frameworks.sh │ │ ├── Pods-SQLite-resources.sh │ │ ├── Pods-SQLite-umbrella.h │ │ ├── Pods-SQLite.debug.xcconfig │ │ ├── Pods-SQLite.modulemap │ │ └── Pods-SQLite.release.xcconfig ├── SQLite.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── SQLite.xcworkspace │ └── contents.xcworkspacedata └── SQLite │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CustomDB.db │ ├── Info.plist │ ├── ViewController.swift │ └── YHDBManager.swift ├── Project31_TabbarController ├── 31.gif ├── Podfile ├── Podfile.lock ├── Pods │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ └── Pods-TabbarController │ │ ├── Info.plist │ │ ├── Pods-TabbarController-acknowledgements.markdown │ │ ├── Pods-TabbarController-acknowledgements.plist │ │ ├── Pods-TabbarController-dummy.m │ │ ├── Pods-TabbarController-frameworks.sh │ │ ├── Pods-TabbarController-resources.sh │ │ ├── Pods-TabbarController-umbrella.h │ │ ├── Pods-TabbarController.debug.xcconfig │ │ ├── Pods-TabbarController.modulemap │ │ └── Pods-TabbarController.release.xcconfig ├── TabbarController.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── TabbarController.xcworkspace │ └── contents.xcworkspacedata └── TabbarController │ ├── AVC.swift │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── Explore.imageset │ │ ├── Contents.json │ │ ├── Explore.png │ │ ├── Explore@2x.png │ │ └── Explore@3x.png │ ├── Game.imageset │ │ ├── Contents.json │ │ └── Game.pdf │ ├── Home.imageset │ │ ├── Contents.json │ │ └── Home.pdf │ ├── Preview1.imageset │ │ ├── Contents.json │ │ ├── Preview.png │ │ ├── Preview@2x.png │ │ └── Preview@3x.png │ └── Setting.imageset │ │ ├── Contents.json │ │ └── Setting.pdf │ ├── BVC.swift │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CVC.swift │ ├── CustomTabbarController.swift │ └── Info.plist ├── Project32_Regex ├── 32.gif ├── Regex.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Regex │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── ShowVC.swift │ ├── ViewController.swift │ └── location.html ├── Project33_SearchVC ├── 33.gif ├── SearchVC.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── SearchVC │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── Province.plist │ ├── SearchResultTVC.swift │ ├── ShowVC.swift │ └── ViewController.swift ├── Project34_QRCode ├── 34.gif ├── QRCode.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── QRCode │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── line.imageset │ │ ├── Contents.json │ │ └── qrcode_scan_light_green@2x.png │ └── pic.imageset │ │ ├── Contents.json │ │ └── pic.png │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── ImageVC.swift │ ├── Info.plist │ ├── ScanVC.swift │ └── ViewController.swift ├── Project35_MultilevelMenu ├── 35.gif ├── MultilevelMenu.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── MultilevelMenu │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── Down.imageset │ │ ├── Contents.json │ │ ├── 向下@2x.png │ │ └── 向下@3x.png │ └── Right.imageset │ │ ├── Contents.json │ │ ├── 向右@2x.png │ │ └── 向右@3x.png │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── CustomHeaderView.swift │ ├── Info.plist │ ├── Province.plist │ └── ViewController.swift ├── Project36_SpeechRecognition ├── 36.gif ├── SpeechRecognition.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── SpeechRecognition │ ├── AppDelegate.swift │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Project37_NetPictures ├── 37.gif ├── NetPictures.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── NetPictures.xcworkspace │ └── contents.xcworkspacedata ├── NetPictures │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ └── placeholder.imageset │ │ │ ├── Contents.json │ │ │ └── 屏幕快照 2017-01-05 下午3.55.10.png │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ ├── CustomCell.swift │ ├── Info.plist │ ├── ToolFile.swift │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── AFNetworking │ ├── AFNetworking │ │ ├── AFHTTPSessionManager.h │ │ ├── AFHTTPSessionManager.m │ │ ├── AFNetworkReachabilityManager.h │ │ ├── AFNetworkReachabilityManager.m │ │ ├── AFNetworking.h │ │ ├── AFSecurityPolicy.h │ │ ├── AFSecurityPolicy.m │ │ ├── AFURLRequestSerialization.h │ │ ├── AFURLRequestSerialization.m │ │ ├── AFURLResponseSerialization.h │ │ ├── AFURLResponseSerialization.m │ │ ├── AFURLSessionManager.h │ │ └── AFURLSessionManager.m │ ├── LICENSE │ ├── README.md │ └── UIKit+AFNetworking │ │ ├── AFAutoPurgingImageCache.h │ │ ├── AFAutoPurgingImageCache.m │ │ ├── AFImageDownloader.h │ │ ├── AFImageDownloader.m │ │ ├── AFNetworkActivityIndicatorManager.h │ │ ├── AFNetworkActivityIndicatorManager.m │ │ ├── UIActivityIndicatorView+AFNetworking.h │ │ ├── UIActivityIndicatorView+AFNetworking.m │ │ ├── UIButton+AFNetworking.h │ │ ├── UIButton+AFNetworking.m │ │ ├── UIImage+AFNetworking.h │ │ ├── UIImageView+AFNetworking.h │ │ ├── UIImageView+AFNetworking.m │ │ ├── UIKit+AFNetworking.h │ │ ├── UIProgressView+AFNetworking.h │ │ ├── UIProgressView+AFNetworking.m │ │ ├── UIRefreshControl+AFNetworking.h │ │ ├── UIRefreshControl+AFNetworking.m │ │ ├── UIWebView+AFNetworking.h │ │ └── UIWebView+AFNetworking.m │ ├── MBProgressHUD │ ├── LICENSE │ ├── MBProgressHUD.h │ ├── MBProgressHUD.m │ └── README.mdown │ ├── MJRefresh │ ├── LICENSE │ ├── MJRefresh │ │ ├── Base │ │ │ ├── MJRefreshAutoFooter.h │ │ │ ├── MJRefreshAutoFooter.m │ │ │ ├── MJRefreshBackFooter.h │ │ │ ├── MJRefreshBackFooter.m │ │ │ ├── MJRefreshComponent.h │ │ │ ├── MJRefreshComponent.m │ │ │ ├── MJRefreshFooter.h │ │ │ ├── MJRefreshFooter.m │ │ │ ├── MJRefreshHeader.h │ │ │ └── MJRefreshHeader.m │ │ ├── Custom │ │ │ ├── Footer │ │ │ │ ├── Auto │ │ │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ │ │ ├── MJRefreshAutoGifFooter.m │ │ │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ │ │ ├── MJRefreshAutoNormalFooter.m │ │ │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ │ │ └── MJRefreshAutoStateFooter.m │ │ │ │ └── Back │ │ │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ │ │ ├── MJRefreshBackGifFooter.m │ │ │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ │ │ ├── MJRefreshBackNormalFooter.m │ │ │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ │ │ └── MJRefreshBackStateFooter.m │ │ │ └── Header │ │ │ │ ├── MJRefreshGifHeader.h │ │ │ │ ├── MJRefreshGifHeader.m │ │ │ │ ├── MJRefreshNormalHeader.h │ │ │ │ ├── MJRefreshNormalHeader.m │ │ │ │ ├── MJRefreshStateHeader.h │ │ │ │ └── MJRefreshStateHeader.m │ │ ├── MJRefresh.bundle │ │ │ ├── arrow@2x.png │ │ │ ├── en.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── zh-Hans.lproj │ │ │ │ └── Localizable.strings │ │ │ └── zh-Hant.lproj │ │ │ │ └── Localizable.strings │ │ ├── MJRefresh.h │ │ ├── MJRefreshConst.h │ │ ├── MJRefreshConst.m │ │ ├── NSBundle+MJRefresh.h │ │ ├── NSBundle+MJRefresh.m │ │ ├── UIScrollView+MJExtension.h │ │ ├── UIScrollView+MJExtension.m │ │ ├── UIScrollView+MJRefresh.h │ │ ├── UIScrollView+MJRefresh.m │ │ ├── UIView+MJExtension.h │ │ └── UIView+MJExtension.m │ └── README.md │ ├── Manifest.lock │ ├── Pods.xcodeproj │ └── project.pbxproj │ └── Target Support Files │ ├── AFNetworking │ ├── AFNetworking-dummy.m │ ├── AFNetworking-prefix.pch │ ├── AFNetworking-umbrella.h │ ├── AFNetworking.modulemap │ ├── AFNetworking.xcconfig │ └── Info.plist │ ├── MBProgressHUD │ ├── Info.plist │ ├── MBProgressHUD-dummy.m │ ├── MBProgressHUD-prefix.pch │ ├── MBProgressHUD-umbrella.h │ ├── MBProgressHUD.modulemap │ └── MBProgressHUD.xcconfig │ ├── MJRefresh │ ├── Info.plist │ ├── MJRefresh-dummy.m │ ├── MJRefresh-prefix.pch │ ├── MJRefresh-umbrella.h │ ├── MJRefresh.modulemap │ └── MJRefresh.xcconfig │ └── Pods-NetPictures │ ├── Info.plist │ ├── Pods-NetPictures-acknowledgements.markdown │ ├── Pods-NetPictures-acknowledgements.plist │ ├── Pods-NetPictures-dummy.m │ ├── Pods-NetPictures-frameworks.sh │ ├── Pods-NetPictures-resources.sh │ ├── Pods-NetPictures-umbrella.h │ ├── Pods-NetPictures.debug.xcconfig │ ├── Pods-NetPictures.modulemap │ └── Pods-NetPictures.release.xcconfig ├── Project38_NightMode ├── 38.gif ├── NightMode.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── NightMode │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── Home.imageset │ │ ├── Contents.json │ │ └── Home.pdf │ ├── Light.imageset │ │ ├── Contents.json │ │ └── 屏幕快照 2017-01-06 下午3.29.14.png │ ├── Night.imageset │ │ ├── Contents.json │ │ └── 屏幕快照 2017-01-06 下午3.28.55.png │ └── Setting.imageset │ │ ├── Contents.json │ │ └── Setting.pdf │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── NightManager.swift │ ├── SetVC.swift │ └── ViewController.swift ├── Project39_CookBook ├── 39.gif ├── CookBook.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── CookBook.xcworkspace │ └── contents.xcworkspacedata ├── CookBook │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── back.imageset │ │ │ ├── Contents.json │ │ │ └── back@2x.png │ │ ├── bgimg.imageset │ │ │ ├── Contents.json │ │ │ └── bgimg.png │ │ ├── default.imageset │ │ │ ├── Contents.json │ │ │ └── default.png │ │ ├── f.imageset │ │ │ ├── Contents.json │ │ │ └── f.jpeg │ │ ├── menu.imageset │ │ │ ├── Contents.json │ │ │ └── menu@2x.png │ │ └── menu_bg.imageset │ │ │ ├── Contents.json │ │ │ └── menu_bg.png │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── MainVC.swift │ ├── NetManager.swift │ ├── ShowVC.swift │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Alamofire │ ├── LICENSE │ ├── README.md │ └── Source │ │ ├── AFError.swift │ │ ├── Alamofire.swift │ │ ├── DispatchQueue+Alamofire.swift │ │ ├── MultipartFormData.swift │ │ ├── NetworkReachabilityManager.swift │ │ ├── Notifications.swift │ │ ├── ParameterEncoding.swift │ │ ├── Request.swift │ │ ├── Response.swift │ │ ├── ResponseSerialization.swift │ │ ├── Result.swift │ │ ├── ServerTrustPolicy.swift │ │ ├── SessionDelegate.swift │ │ ├── SessionManager.swift │ │ ├── TaskDelegate.swift │ │ ├── Timeline.swift │ │ └── Validation.swift │ ├── Manifest.lock │ ├── PKHUD │ ├── LICENSE │ ├── PKHUD │ │ ├── FrameView.swift │ │ ├── HUD.swift │ │ ├── Images.xcassets │ │ │ ├── Contents.json │ │ │ ├── checkmark.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── checkmark.pdf │ │ │ ├── cross.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── cross.pdf │ │ │ ├── progress_activity.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── progress.pdf │ │ │ └── progress_circular.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── progress_circular.pdf │ │ ├── PKHUD.h │ │ ├── PKHUD.swift │ │ ├── PKHUDAnimating.swift │ │ ├── PKHUDAnimation.swift │ │ ├── PKHUDAssets.swift │ │ ├── PKHUDErrorView.swift │ │ ├── PKHUDProgressView.swift │ │ ├── PKHUDRotatingImageView.swift │ │ ├── PKHUDSquareBaseView.swift │ │ ├── PKHUDSuccessView.swift │ │ ├── PKHUDSystemActivityIndicatorView.swift │ │ ├── PKHUDTextView.swift │ │ ├── PKHUDWideBaseView.swift │ │ ├── Window.swift │ │ └── WindowRootViewController.swift │ └── README.md │ ├── Pods.xcodeproj │ └── project.pbxproj │ ├── SideMenu │ ├── LICENSE │ ├── Pod │ │ └── Classes │ │ │ ├── SideMenuManager.swift │ │ │ ├── SideMenuTransition.swift │ │ │ ├── UISideMenuNavigationController.swift │ │ │ └── UITableViewVibrantCell.swift │ └── README.md │ └── Target Support Files │ ├── Alamofire │ ├── Alamofire-dummy.m │ ├── Alamofire-prefix.pch │ ├── Alamofire-umbrella.h │ ├── Alamofire.modulemap │ ├── Alamofire.xcconfig │ └── Info.plist │ ├── PKHUD │ ├── Info.plist │ ├── PKHUD-dummy.m │ ├── PKHUD-prefix.pch │ ├── PKHUD-umbrella.h │ ├── PKHUD.modulemap │ └── PKHUD.xcconfig │ ├── Pods-CookBook │ ├── Info.plist │ ├── Pods-CookBook-acknowledgements.markdown │ ├── Pods-CookBook-acknowledgements.plist │ ├── Pods-CookBook-dummy.m │ ├── Pods-CookBook-frameworks.sh │ ├── Pods-CookBook-resources.sh │ ├── Pods-CookBook-umbrella.h │ ├── Pods-CookBook.debug.xcconfig │ ├── Pods-CookBook.modulemap │ └── Pods-CookBook.release.xcconfig │ └── SideMenu │ ├── Info.plist │ ├── SideMenu-dummy.m │ ├── SideMenu-prefix.pch │ ├── SideMenu-umbrella.h │ ├── SideMenu.modulemap │ └── SideMenu.xcconfig └── README.md /Project01_SimpleClock/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project01_SimpleClock/1.gif -------------------------------------------------------------------------------- /Project01_SimpleClock/SimpleClock.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project01_SimpleClock/SimpleClock/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project01_SimpleClock/SimpleClock/File.swift: -------------------------------------------------------------------------------- 1 | // 2 | // File.swift 3 | // SimpleClock 4 | // 5 | // Created by baiwei-mac on 16/11/30. 6 | // Copyright © 2016年 YuHua. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | import UIKit 12 | 13 | let YHScreenRect : CGRect = UIScreen.main.bounds 14 | let YHScreenWidth : CGFloat = UIScreen.main.bounds.width 15 | let YHScreenHeight : CGFloat = UIScreen.main.bounds.height 16 | -------------------------------------------------------------------------------- /Project02_CustomFont/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project02_CustomFont/2.gif -------------------------------------------------------------------------------- /Project02_CustomFont/CustomFont.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project02_CustomFont/CustomFont/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project02_CustomFont/CustomFont/MFJinHei_Noncommercial-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project02_CustomFont/CustomFont/MFJinHei_Noncommercial-Regular.ttf -------------------------------------------------------------------------------- /Project02_CustomFont/CustomFont/MFTongXin_Noncommercial-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project02_CustomFont/CustomFont/MFTongXin_Noncommercial-Regular.ttf -------------------------------------------------------------------------------- /Project02_CustomFont/CustomFont/MFZhiHei_Noncommercial-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project02_CustomFont/CustomFont/MFZhiHei_Noncommercial-Regular.ttf -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/3.gif -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/playBtn.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "playBtn.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "playBtn@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "playBtn@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/playBtn.imageset/playBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/playBtn.imageset/playBtn.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/playBtn.imageset/playBtn@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/playBtn.imageset/playBtn@2x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/playBtn.imageset/playBtn@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/playBtn.imageset/playBtn@3x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot01.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "videoScreenshot01.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "videoScreenshot01@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "videoScreenshot01@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot01.imageset/videoScreenshot01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot01.imageset/videoScreenshot01.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot01.imageset/videoScreenshot01@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot01.imageset/videoScreenshot01@2x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot01.imageset/videoScreenshot01@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot01.imageset/videoScreenshot01@3x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot02.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "videoScreenshot02.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "videoScreenshot02@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "videoScreenshot02@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot02.imageset/videoScreenshot02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot02.imageset/videoScreenshot02.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot02.imageset/videoScreenshot02@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot02.imageset/videoScreenshot02@2x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot02.imageset/videoScreenshot02@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot02.imageset/videoScreenshot02@3x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot03.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "videoScreenshot03.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "videoScreenshot03@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "videoScreenshot03@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot03.imageset/videoScreenshot03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot03.imageset/videoScreenshot03.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot03.imageset/videoScreenshot03@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot03.imageset/videoScreenshot03@2x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot03.imageset/videoScreenshot03@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot03.imageset/videoScreenshot03@3x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot04.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "videoScreenshot04.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "videoScreenshot04@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "videoScreenshot04@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot04.imageset/videoScreenshot04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot04.imageset/videoScreenshot04.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot04.imageset/videoScreenshot04@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot04.imageset/videoScreenshot04@2x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot04.imageset/videoScreenshot04@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot04.imageset/videoScreenshot04@3x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot05.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "videoScreenshot05.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "videoScreenshot05@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "videoScreenshot05@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot05.imageset/videoScreenshot05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot05.imageset/videoScreenshot05.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot05.imageset/videoScreenshot05@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot05.imageset/videoScreenshot05@2x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot05.imageset/videoScreenshot05@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot05.imageset/videoScreenshot05@3x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot06.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "videoScreenshot06.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "videoScreenshot06@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "videoScreenshot06@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot06.imageset/videoScreenshot06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot06.imageset/videoScreenshot06.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot06.imageset/videoScreenshot06@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot06.imageset/videoScreenshot06@2x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot06.imageset/videoScreenshot06@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/Assets.xcassets/videoScreenshot06.imageset/videoScreenshot06@3x.png -------------------------------------------------------------------------------- /Project03_PlayLocalVideo/PlayLocalVideo/emoji zone.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project03_PlayLocalVideo/PlayLocalVideo/emoji zone.mp4 -------------------------------------------------------------------------------- /Project04_WelcomView/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project04_WelcomView/4.gif -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/first.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "first.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/first.imageset/first.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project04_WelcomView/WelcomView/Assets.xcassets/first.imageset/first.jpg -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/second.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "second.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/second.imageset/second.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project04_WelcomView/WelcomView/Assets.xcassets/second.imageset/second.jpg -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/three.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "three.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project04_WelcomView/WelcomView/Assets.xcassets/three.imageset/three.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project04_WelcomView/WelcomView/Assets.xcassets/three.imageset/three.jpg -------------------------------------------------------------------------------- /Project05_PictureBrowse/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/5.gif -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/blue.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "blue.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/blue.imageset/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/blue.imageset/blue.png -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/bodyline.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "bodyline.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/bodyline.imageset/bodyline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/bodyline.imageset/bodyline.png -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/darkvarder.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "darkvarder.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/darkvarder.imageset/darkvarder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/darkvarder.imageset/darkvarder.png -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/dudu.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "dudu.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/dudu.imageset/dudu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/dudu.imageset/dudu.jpg -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/hello.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "hello.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/hello.imageset/hello.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/hello.imageset/hello.jpg -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/hhhhh.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "hhhhh.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/hhhhh.imageset/hhhhh.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/hhhhh.imageset/hhhhh.jpg -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/run.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "IMG_1517.PNG", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/run.imageset/IMG_1517.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/run.imageset/IMG_1517.PNG -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/wave.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "wave.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project05_PictureBrowse/PictureBrowse/Assets.xcassets/wave.imageset/wave.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project05_PictureBrowse/PictureBrowse/Assets.xcassets/wave.imageset/wave.jpg -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Find my location.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Find my location.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Find my location@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Find my location@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Find my location.imageset/Find my location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Find my location.imageset/Find my location.png -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Find my location.imageset/Find my location@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Find my location.imageset/Find my location@2x.png -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Find my location.imageset/Find my location@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project06_CurrentLocation/CurrentLocation/Assets.xcassets/Find my location.imageset/Find my location@3x.png -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation/Assets.xcassets/bg.imageset/1-Eb_0OvtcxJXHZ7-IOoBsaQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project06_CurrentLocation/CurrentLocation/Assets.xcassets/bg.imageset/1-Eb_0OvtcxJXHZ7-IOoBsaQ.png -------------------------------------------------------------------------------- /Project06_CurrentLocation/CurrentLocation/Assets.xcassets/bg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "1-Eb_0OvtcxJXHZ7-IOoBsaQ.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project07_SystemRefreshControl/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project07_SystemRefreshControl/7.gif -------------------------------------------------------------------------------- /Project07_SystemRefreshControl/SystemRefreshControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project07_SystemRefreshControl/SystemRefreshControl/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project08_GradientColor/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project08_GradientColor/8.gif -------------------------------------------------------------------------------- /Project08_GradientColor/GradientColor.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project08_GradientColor/GradientColor/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project09_ImageScroller/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project09_ImageScroller/9.gif -------------------------------------------------------------------------------- /Project09_ImageScroller/ImageScroller.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project09_ImageScroller/ImageScroller/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project09_ImageScroller/ImageScroller/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project09_ImageScroller/ImageScroller/Assets.xcassets/steve.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Steve.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Steve@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Steve@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project09_ImageScroller/ImageScroller/Assets.xcassets/steve.imageset/Steve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project09_ImageScroller/ImageScroller/Assets.xcassets/steve.imageset/Steve.png -------------------------------------------------------------------------------- /Project09_ImageScroller/ImageScroller/Assets.xcassets/steve.imageset/Steve@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project09_ImageScroller/ImageScroller/Assets.xcassets/steve.imageset/Steve@2x.png -------------------------------------------------------------------------------- /Project09_ImageScroller/ImageScroller/Assets.xcassets/steve.imageset/Steve@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project09_ImageScroller/ImageScroller/Assets.xcassets/steve.imageset/Steve@3x.png -------------------------------------------------------------------------------- /Project10_VideoBackground/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project10_VideoBackground/10.gif -------------------------------------------------------------------------------- /Project10_VideoBackground/VideoBackground.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project10_VideoBackground/VideoBackground/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project10_VideoBackground/VideoBackground/BtnExtensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BtnExtensions.swift 3 | // VideoBackground 4 | // 5 | // Created by baiwei-mac on 16/12/8. 6 | // Copyright © 2016年 YuHua. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | extension UIButton { 13 | func customBtn(customTitle title: String) { 14 | setTitle(title, for: .normal) 15 | setTitleColor(.white, for: .normal) 16 | layer.cornerRadius = 5.0 17 | layer.borderColor = UIColor.white.cgColor 18 | layer.borderWidth = 1.0 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Project10_VideoBackground/VideoBackground/moments.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project10_VideoBackground/VideoBackground/moments.mp4 -------------------------------------------------------------------------------- /Project11_ColorProgress/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project11_ColorProgress/11.gif -------------------------------------------------------------------------------- /Project11_ColorProgress/ColorProgress.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project11_ColorProgress/ColorProgress/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project12_TableHeaderView/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project12_TableHeaderView/12.gif -------------------------------------------------------------------------------- /Project12_TableHeaderView/TableHeaderView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project13_AnimateTableView/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project13_AnimateTableView/13.gif -------------------------------------------------------------------------------- /Project13_AnimateTableView/AnimateTableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project13_AnimateTableView/AnimateTableView/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project14_WaveView/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project14_WaveView/14.gif -------------------------------------------------------------------------------- /Project14_WaveView/WaveView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project14_WaveView/WaveView/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project15_ShapeLayerAnimation/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project15_ShapeLayerAnimation/15.gif -------------------------------------------------------------------------------- /Project15_ShapeLayerAnimation/ShapeLayerAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project15_ShapeLayerAnimation/ShapeLayerAnimation/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project16_PickerView/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project16_PickerView/16.gif -------------------------------------------------------------------------------- /Project16_PickerView/PickerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project16_PickerView/PickerView/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project17_AnimatedSplash/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project17_AnimatedSplash/17.gif -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/screen.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "twitterscreen.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/screen.imageset/twitterscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/screen.imageset/twitterscreen.png -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/twitter.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "twitter logo mask.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/twitter.imageset/twitter logo mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project17_AnimatedSplash/AnimatedSplash/Assets.xcassets/twitter.imageset/twitter logo mask.png -------------------------------------------------------------------------------- /Project17_AnimatedSplash/AnimatedSplash/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AnimatedSplash 4 | // 5 | // Created by baiwei-mac on 16/12/14. 6 | // Copyright © 2016年 YuHua. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | 12 | let YHRect = UIScreen.main.bounds 13 | let YHHeight = YHRect.size.height 14 | let YHWidth = YHRect.size.width 15 | 16 | 17 | class ViewController: UIViewController { 18 | 19 | override func viewDidLoad() { 20 | super.viewDidLoad() 21 | 22 | let imageView = UIImageView(frame: YHRect) 23 | imageView.image = UIImage(named: "screen") 24 | 25 | view.addSubview(imageView) 26 | } 27 | 28 | override var prefersStatusBarHidden: Bool { 29 | return true 30 | } 31 | 32 | override func didReceiveMemoryWarning() { 33 | super.didReceiveMemoryWarning() 34 | } 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /Project18_ChildVCTransition/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project18_ChildVCTransition/18.gif -------------------------------------------------------------------------------- /Project18_ChildVCTransition/ChildVCTransition.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project18_ChildVCTransition/ChildVCTransition/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project19_CustomPushTransition/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project19_CustomPushTransition/19.gif -------------------------------------------------------------------------------- /Project19_CustomPushTransition/CustomPushTransition.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project19_CustomPushTransition/CustomPushTransition/Assets.xcassets/4.imageset/4.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project19_CustomPushTransition/CustomPushTransition/Assets.xcassets/4.imageset/4.JPG -------------------------------------------------------------------------------- /Project19_CustomPushTransition/CustomPushTransition/Assets.xcassets/4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "4.JPG", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project19_CustomPushTransition/CustomPushTransition/Assets.xcassets/8.imageset/8.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project19_CustomPushTransition/CustomPushTransition/Assets.xcassets/8.imageset/8.JPG -------------------------------------------------------------------------------- /Project19_CustomPushTransition/CustomPushTransition/Assets.xcassets/8.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "8.JPG", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project19_CustomPushTransition/CustomPushTransition/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project20_MusicPlayer/MusicPlayer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project20_MusicPlayer/MusicPlayer/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project20_MusicPlayer/MusicPlayer/成都.m4r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project20_MusicPlayer/MusicPlayer/成都.m4r -------------------------------------------------------------------------------- /Project20_MusicPlayer/MusicPlayer/童话镇.m4r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project20_MusicPlayer/MusicPlayer/童话镇.m4r -------------------------------------------------------------------------------- /Project21_TumblrMenu/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/21.gif -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/8.imageset/8.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/TumblrMenu/Assets.xcassets/8.imageset/8.JPG -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/8.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "8.JPG", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Audio.imageset/Audio@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Audio.imageset/Audio@2x.png -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Audio.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Audio@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Chat.imageset/Chat@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Chat.imageset/Chat@2x.png -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Chat.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Chat@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Link.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Link@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Link.imageset/Link@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Link.imageset/Link@2x.png -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Photo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Photo@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Photo.imageset/Photo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Photo.imageset/Photo@2x.png -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Quote.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Quote@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Quote.imageset/Quote@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Quote.imageset/Quote@2x.png -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Text.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Text@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Text.imageset/Text@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project21_TumblrMenu/TumblrMenu/Assets.xcassets/Text.imageset/Text@2x.png -------------------------------------------------------------------------------- /Project22_LoginView/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project22_LoginView/22.gif -------------------------------------------------------------------------------- /Project22_LoginView/LoginView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project22_LoginView/LoginView/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project23_URLImage/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project23_URLImage/23.gif -------------------------------------------------------------------------------- /Project23_URLImage/URLImage.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project23_URLImage/URLImage/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project24_CollectionViewAnimation/24.gif -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tumblr_nk8k92X6N21sjh145o1_1280.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/1.imageset/tumblr_nk8k92X6N21sjh145o1_1280.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/1.imageset/tumblr_nk8k92X6N21sjh145o1_1280.jpg -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tumblr_n9hyj3WPl21st5lhmo1_1280.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/2.imageset/tumblr_n9hyj3WPl21st5lhmo1_1280.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/2.imageset/tumblr_n9hyj3WPl21st5lhmo1_1280.jpg -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tumblr_muqax2L0Ad1qkegsbo1_500.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/3.imageset/tumblr_muqax2L0Ad1qkegsbo1_500.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/3.imageset/tumblr_muqax2L0Ad1qkegsbo1_500.jpg -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "qSrhpUW.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/4.imageset/qSrhpUW.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/4.imageset/qSrhpUW.jpg -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/5.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "r0q8bh2.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/5.imageset/r0q8bh2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/5.imageset/r0q8bh2.jpg -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/Back-icon.imageset/Back-icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/Back-icon.imageset/Back-icon.pdf -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/Back-icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Back-icon.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Project24_CollectionViewAnimation/CollectionViewAnimation/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project25_SwipeableCell/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project25_SwipeableCell/25.gif -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "car.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/1.imageset/car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project25_SwipeableCell/SwipeableCell/Assets.xcassets/1.imageset/car.png -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "patternnl-1.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/2.imageset/patternnl-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project25_SwipeableCell/SwipeableCell/Assets.xcassets/2.imageset/patternnl-1.png -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "sets-rep-ebd2.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/3.imageset/sets-rep-ebd2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project25_SwipeableCell/SwipeableCell/Assets.xcassets/3.imageset/sets-rep-ebd2.png -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project25_SwipeableCell/SwipeableCell/CustomCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CustomCell.swift 3 | // SwipeableCell 4 | // 5 | // Created by baiwei-mac on 16/12/20. 6 | // Copyright © 2016年 YuHua. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class CustomCell: UITableViewCell { 12 | 13 | override func awakeFromNib() { 14 | super.awakeFromNib() 15 | // Initialization code 16 | } 17 | 18 | override func setSelected(_ selected: Bool, animated: Bool) { 19 | super.setSelected(selected, animated: animated) 20 | 21 | // Configure the view for the selected state 22 | } 23 | 24 | 25 | func buildInterface(model: CellModel) { 26 | imageView?.image = UIImage(named: model.imageName) 27 | textLabel?.text = model.title 28 | textLabel?.textAlignment = .center 29 | } 30 | 31 | } 32 | 33 | 34 | struct CellModel { 35 | let imageName: String 36 | var title: String 37 | } 38 | 39 | -------------------------------------------------------------------------------- /Project26_SortableCollectionView/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project26_SortableCollectionView/26.gif -------------------------------------------------------------------------------- /Project26_SortableCollectionView/SortableCollectionView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project27_CustomCollectionLayout/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project27_CustomCollectionLayout/27.gif -------------------------------------------------------------------------------- /Project27_CustomCollectionLayout/CustomCollectionLayout.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project28_MosaicLayout/28.gif -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/back.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "back.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/back.imageset/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project28_MosaicLayout/MosaicLayout/Assets.xcassets/back.imageset/back.png -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/birds.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "birds.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/birds.imageset/birds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project28_MosaicLayout/MosaicLayout/Assets.xcassets/birds.imageset/birds.png -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/sunset.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "sunset.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/sunset.imageset/sunset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project28_MosaicLayout/MosaicLayout/Assets.xcassets/sunset.imageset/sunset.png -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/waves.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "waves.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/Assets.xcassets/waves.imageset/waves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project28_MosaicLayout/MosaicLayout/Assets.xcassets/waves.imageset/waves.png -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/CustomCollectionCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CustomCollectionCell.swift 3 | // MosaicLayout 4 | // 5 | // Created by baiwei-mac on 16/12/26. 6 | // Copyright © 2016年 YuHua. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class CustomCollectionCell: UICollectionViewCell { 12 | 13 | let title = UILabel() 14 | let imageView = UIImageView() 15 | 16 | 17 | override init(frame: CGRect) { 18 | 19 | super.init(frame: frame) 20 | title.textColor = .white 21 | title.font = UIFont.systemFont(ofSize: 12) 22 | addSubview(imageView) 23 | addSubview(title) 24 | } 25 | 26 | required init?(coder aDecoder: NSCoder) { 27 | fatalError("init(coder:) has not been implemented") 28 | } 29 | 30 | override func layoutSubviews() { 31 | super.layoutSubviews() 32 | imageView.frame = bounds 33 | title.frame = CGRect(x: frame.width-40, y: frame.height-20, width: 40, height: 20) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/MosaicLayout/CustomHeaderView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CustomHeaderView.swift 3 | // MosaicLayout 4 | // 5 | // Created by baiwei-mac on 16/12/26. 6 | // Copyright © 2016年 YuHua. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class CustomHeaderView: UICollectionReusableView { 12 | 13 | let title = UILabel() 14 | 15 | 16 | override init(frame: CGRect) { 17 | super.init(frame: frame) 18 | title.frame = bounds 19 | title.font = UIFont.systemFont(ofSize: 20) 20 | title.textColor = .orange 21 | title.textAlignment = .center 22 | addSubview(title) 23 | } 24 | 25 | required init?(coder aDecoder: NSCoder) { 26 | fatalError("init(coder:) has not been implemented") 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'MosaicLayout' do 5 | # Comment this line if you're not using Swift and don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for MosaicLayout 9 | 10 | pod "FMMosaicLayout" 11 | 12 | end 13 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FMMosaicLayout (0.1.4) 3 | 4 | DEPENDENCIES: 5 | - FMMosaicLayout 6 | 7 | SPEC CHECKSUMS: 8 | FMMosaicLayout: c0febf6876c987c425d7e2176d034fa7a2c98cb5 9 | 10 | PODFILE CHECKSUM: 0355f2bbede8f313d153acca9db094035ba63af2 11 | 12 | COCOAPODS: 1.0.1 13 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FMMosaicLayout (0.1.4) 3 | 4 | DEPENDENCIES: 5 | - FMMosaicLayout 6 | 7 | SPEC CHECKSUMS: 8 | FMMosaicLayout: c0febf6876c987c425d7e2176d034fa7a2c98cb5 9 | 10 | PODFILE CHECKSUM: 0355f2bbede8f313d153acca9db094035ba63af2 11 | 12 | COCOAPODS: 1.0.1 13 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/FMMosaicLayout/FMMosaicLayout-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FMMosaicLayout : NSObject 3 | @end 4 | @implementation PodsDummy_FMMosaicLayout 5 | @end 6 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/FMMosaicLayout/FMMosaicLayout-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/FMMosaicLayout/FMMosaicLayout-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "FMMosaicLayout.h" 4 | 5 | FOUNDATION_EXPORT double FMMosaicLayoutVersionNumber; 6 | FOUNDATION_EXPORT const unsigned char FMMosaicLayoutVersionString[]; 7 | 8 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/FMMosaicLayout/FMMosaicLayout.modulemap: -------------------------------------------------------------------------------- 1 | framework module FMMosaicLayout { 2 | umbrella header "FMMosaicLayout-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/FMMosaicLayout/FMMosaicLayout.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FMMosaicLayout 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/FMMosaicLayout/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 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/Pods-MosaicLayout/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/Pods-MosaicLayout/Pods-MosaicLayout-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MosaicLayout : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MosaicLayout 5 | @end 6 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/Pods-MosaicLayout/Pods-MosaicLayout-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_MosaicLayoutVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_MosaicLayoutVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/Pods-MosaicLayout/Pods-MosaicLayout.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMMosaicLayout" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FMMosaicLayout/FMMosaicLayout.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "FMMosaicLayout" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/Pods-MosaicLayout/Pods-MosaicLayout.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_MosaicLayout { 2 | umbrella header "Pods-MosaicLayout-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project28_MosaicLayout/Pods/Target Support Files/Pods-MosaicLayout/Pods-MosaicLayout.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMMosaicLayout" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FMMosaicLayout/FMMosaicLayout.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "FMMosaicLayout" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Project29_BasicAnimation/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project29_BasicAnimation/29.gif -------------------------------------------------------------------------------- /Project29_BasicAnimation/BasicAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project29_BasicAnimation/BasicAnimation/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project30_SQLite/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project30_SQLite/30.gif -------------------------------------------------------------------------------- /Project30_SQLite/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'SQLite' do 5 | # Comment this line if you're not using Swift and don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for SQLite 9 | pod 'FMDB' 10 | 11 | end 12 | -------------------------------------------------------------------------------- /Project30_SQLite/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FMDB (2.6.2): 3 | - FMDB/standard (= 2.6.2) 4 | - FMDB/standard (2.6.2) 5 | 6 | DEPENDENCIES: 7 | - FMDB 8 | 9 | SPEC CHECKSUMS: 10 | FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a 11 | 12 | PODFILE CHECKSUM: f546eda22b90cc47fe96c8f31c03191185a2f9fc 13 | 14 | COCOAPODS: 1.0.1 15 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/FMDB/src/fmdb/FMDB.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | FOUNDATION_EXPORT double FMDBVersionNumber; 4 | FOUNDATION_EXPORT const unsigned char FMDBVersionString[]; 5 | 6 | #import "FMDatabase.h" 7 | #import "FMResultSet.h" 8 | #import "FMDatabaseAdditions.h" 9 | #import "FMDatabaseQueue.h" 10 | #import "FMDatabasePool.h" 11 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FMDB (2.6.2): 3 | - FMDB/standard (= 2.6.2) 4 | - FMDB/standard (2.6.2) 5 | 6 | DEPENDENCIES: 7 | - FMDB 8 | 9 | SPEC CHECKSUMS: 10 | FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a 11 | 12 | PODFILE CHECKSUM: f546eda22b90cc47fe96c8f31c03191185a2f9fc 13 | 14 | COCOAPODS: 1.0.1 15 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/FMDB/FMDB-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FMDB : NSObject 3 | @end 4 | @implementation PodsDummy_FMDB 5 | @end 6 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/FMDB/FMDB-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/FMDB/FMDB-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "FMDatabase.h" 4 | #import "FMDatabaseAdditions.h" 5 | #import "FMDatabasePool.h" 6 | #import "FMDatabaseQueue.h" 7 | #import "FMDB.h" 8 | #import "FMResultSet.h" 9 | 10 | FOUNDATION_EXPORT double FMDBVersionNumber; 11 | FOUNDATION_EXPORT const unsigned char FMDBVersionString[]; 12 | 13 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/FMDB/FMDB.modulemap: -------------------------------------------------------------------------------- 1 | framework module FMDB { 2 | umbrella header "FMDB-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/FMDB/FMDB.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FMDB 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -l"sqlite3" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/FMDB/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 | FMWK 17 | CFBundleShortVersionString 18 | 2.6.2 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/Pods-SQLite/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/Pods-SQLite/Pods-SQLite-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SQLite : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SQLite 5 | @end 6 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/Pods-SQLite/Pods-SQLite-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_SQLiteVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_SQLiteVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/Pods-SQLite/Pods-SQLite.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FMDB/FMDB.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "FMDB" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/Pods-SQLite/Pods-SQLite.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SQLite { 2 | umbrella header "Pods-SQLite-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project30_SQLite/Pods/Target Support Files/Pods-SQLite/Pods-SQLite.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FMDB/FMDB.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "FMDB" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Project30_SQLite/SQLite.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project30_SQLite/SQLite.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Project30_SQLite/SQLite/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project30_SQLite/SQLite/CustomDB.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project30_SQLite/SQLite/CustomDB.db -------------------------------------------------------------------------------- /Project31_TabbarController/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/31.gif -------------------------------------------------------------------------------- /Project31_TabbarController/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'TabbarController' do 5 | # Comment this line if you're not using Swift and don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for TabbarController 9 | 10 | end 11 | -------------------------------------------------------------------------------- /Project31_TabbarController/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODFILE CHECKSUM: 53c9b3d6b863724d035d27079aba9b2cadc92d7f 2 | 3 | COCOAPODS: 1.0.1 4 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODFILE CHECKSUM: 53c9b3d6b863724d035d27079aba9b2cadc92d7f 2 | 3 | COCOAPODS: 1.0.1 4 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/Pods-TabbarController-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/Pods-TabbarController-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/Pods-TabbarController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TabbarController : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TabbarController 5 | @end 6 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/Pods-TabbarController-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_TabbarControllerVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_TabbarControllerVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/Pods-TabbarController.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | PODS_BUILD_DIR = $BUILD_DIR 4 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 5 | PODS_ROOT = ${SRCROOT}/Pods 6 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/Pods-TabbarController.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_TabbarController { 2 | umbrella header "Pods-TabbarController-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project31_TabbarController/Pods/Target Support Files/Pods-TabbarController/Pods-TabbarController.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | PODS_BUILD_DIR = $BUILD_DIR 4 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 5 | PODS_ROOT = ${SRCROOT}/Pods 6 | -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Explore.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Explore.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Explore@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Explore@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Explore.imageset/Explore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Explore.imageset/Explore.png -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Explore.imageset/Explore@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Explore.imageset/Explore@2x.png -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Explore.imageset/Explore@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Explore.imageset/Explore@3x.png -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Game.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Game.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Game.imageset/Game.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Game.imageset/Game.pdf -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Home.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Home.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Home.imageset/Home.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Home.imageset/Home.pdf -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Preview1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Preview.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Preview@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Preview@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Preview1.imageset/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Preview1.imageset/Preview.png -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Preview1.imageset/Preview@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Preview1.imageset/Preview@2x.png -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Preview1.imageset/Preview@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Preview1.imageset/Preview@3x.png -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Setting.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Setting.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Project31_TabbarController/TabbarController/Assets.xcassets/Setting.imageset/Setting.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project31_TabbarController/TabbarController/Assets.xcassets/Setting.imageset/Setting.pdf -------------------------------------------------------------------------------- /Project32_Regex/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project32_Regex/32.gif -------------------------------------------------------------------------------- /Project32_Regex/Regex.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project32_Regex/Regex/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project33_SearchVC/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project33_SearchVC/33.gif -------------------------------------------------------------------------------- /Project33_SearchVC/SearchVC.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project33_SearchVC/SearchVC/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project34_QRCode/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project34_QRCode/34.gif -------------------------------------------------------------------------------- /Project34_QRCode/QRCode.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project34_QRCode/QRCode/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project34_QRCode/QRCode/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project34_QRCode/QRCode/Assets.xcassets/line.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "qrcode_scan_light_green@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project34_QRCode/QRCode/Assets.xcassets/line.imageset/qrcode_scan_light_green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project34_QRCode/QRCode/Assets.xcassets/line.imageset/qrcode_scan_light_green@2x.png -------------------------------------------------------------------------------- /Project34_QRCode/QRCode/Assets.xcassets/pic.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "pic.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project34_QRCode/QRCode/Assets.xcassets/pic.imageset/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project34_QRCode/QRCode/Assets.xcassets/pic.imageset/pic.png -------------------------------------------------------------------------------- /Project35_MultilevelMenu/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project35_MultilevelMenu/35.gif -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Down.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "向下@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "向下@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Down.imageset/向下@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Down.imageset/向下@2x.png -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Down.imageset/向下@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Down.imageset/向下@3x.png -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Right.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "向右@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "向右@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Right.imageset/向右@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Right.imageset/向右@2x.png -------------------------------------------------------------------------------- /Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Right.imageset/向右@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project35_MultilevelMenu/MultilevelMenu/Assets.xcassets/Right.imageset/向右@3x.png -------------------------------------------------------------------------------- /Project36_SpeechRecognition/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project36_SpeechRecognition/36.gif -------------------------------------------------------------------------------- /Project36_SpeechRecognition/SpeechRecognition.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project36_SpeechRecognition/SpeechRecognition/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Project37_NetPictures/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project37_NetPictures/37.gif -------------------------------------------------------------------------------- /Project37_NetPictures/NetPictures.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project37_NetPictures/NetPictures.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Project37_NetPictures/NetPictures/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project37_NetPictures/NetPictures/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project37_NetPictures/NetPictures/Assets.xcassets/placeholder.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "屏幕快照 2017-01-05 下午3.55.10.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project37_NetPictures/NetPictures/Assets.xcassets/placeholder.imageset/屏幕快照 2017-01-05 下午3.55.10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project37_NetPictures/NetPictures/Assets.xcassets/placeholder.imageset/屏幕快照 2017-01-05 下午3.55.10.png -------------------------------------------------------------------------------- /Project37_NetPictures/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'NetPictures' do 5 | # Comment this line if you're not using Swift and don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for NetPictures 9 | 10 | pod 'AFNetworking’ 11 | pod 'MBProgressHUD' 12 | pod 'MJRefresh' 13 | 14 | end 15 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshAutoFooter : MJRefreshFooter 12 | /** 是否自动刷新(默认为YES) */ 13 | @property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh; 14 | 15 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 16 | @property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated("请使用triggerAutomaticallyRefreshPercent属性"); 17 | 18 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 19 | @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; 20 | @end 21 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshBackFooter : MJRefreshFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoNormalFooter : MJRefreshAutoStateFooter 12 | /** 菊花的样式 */ 13 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 14 | @end 15 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoFooter.h" 10 | 11 | @interface MJRefreshAutoStateFooter : MJRefreshAutoFooter 12 | /** 文字距离圈圈、箭头的距离 */ 13 | @property (assign, nonatomic) CGFloat labelLeftInset; 14 | /** 显示刷新状态的label */ 15 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 16 | 17 | /** 设置state状态下的文字 */ 18 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 19 | 20 | /** 隐藏刷新状态的文字 */ 21 | @property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; 22 | @end 23 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackGifFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackNormalFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackFooter.h" 10 | 11 | @interface MJRefreshBackStateFooter : MJRefreshBackFooter 12 | /** 文字距离圈圈、箭头的距离 */ 13 | @property (assign, nonatomic) CGFloat labelLeftInset; 14 | /** 显示刷新状态的label */ 15 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 16 | /** 设置state状态下的文字 */ 17 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 18 | 19 | /** 获取state状态下的title */ 20 | - (NSString *)titleForState:(MJRefreshState)state; 21 | @end 22 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshGifHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshGifHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshNormalHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshNormalHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshStateHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshHeader.h" 10 | 11 | @interface MJRefreshStateHeader : MJRefreshHeader 12 | #pragma mark - 刷新时间相关 13 | /** 利用这个block来决定显示的更新时间文字 */ 14 | @property (copy, nonatomic) NSString *(^lastUpdatedTimeText)(NSDate *lastUpdatedTime); 15 | /** 显示上一次刷新时间的label */ 16 | @property (weak, nonatomic, readonly) UILabel *lastUpdatedTimeLabel; 17 | 18 | #pragma mark - 状态相关 19 | /** 文字距离圈圈、箭头的距离 */ 20 | @property (assign, nonatomic) CGFloat labelLeftInset; 21 | /** 显示刷新状态的label */ 22 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 23 | /** 设置state状态下的文字 */ 24 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 25 | @end 26 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/zh-Hans.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/zh-Hans.lproj/Localizable.strings -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/zh-Hant.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | "MJRefreshHeaderIdleText" = "下拉可以刷新"; 2 | "MJRefreshHeaderPullingText" = "鬆開立即刷新"; 3 | "MJRefreshHeaderRefreshingText" = "正在刷新數據中..."; 4 | 5 | "MJRefreshAutoFooterIdleText" = "點擊或上拉加載更多"; 6 | "MJRefreshAutoFooterRefreshingText" = "正在加載更多的數據..."; 7 | "MJRefreshAutoFooterNoMoreDataText" = "已經全部加載完畢"; 8 | 9 | "MJRefreshBackFooterIdleText" = "上拉可以加載更多"; 10 | "MJRefreshBackFooterPullingText" = "鬆開立即加載更多"; 11 | "MJRefreshBackFooterRefreshingText" = "正在加載更多的數據..."; 12 | "MJRefreshBackFooterNoMoreDataText" = "已經全部加載完畢"; 13 | 14 | "MJRefreshHeaderLastTimeText" = "最後更新:"; 15 | "MJRefreshHeaderDateTodayText" = "今天"; 16 | "MJRefreshHeaderNoneLastDateText" = "無記錄"; 17 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | 4 | #import "UIScrollView+MJRefresh.h" 5 | #import "UIScrollView+MJExtension.h" 6 | #import "UIView+MJExtension.h" 7 | 8 | #import "MJRefreshNormalHeader.h" 9 | #import "MJRefreshGifHeader.h" 10 | 11 | #import "MJRefreshBackNormalFooter.h" 12 | #import "MJRefreshBackGifFooter.h" 13 | #import "MJRefreshAutoNormalFooter.h" 14 | #import "MJRefreshAutoGifFooter.h" -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/NSBundle+MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+MJRefresh.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 16/6/13. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSBundle (MJRefresh) 12 | + (instancetype)mj_refreshBundle; 13 | + (UIImage *)mj_arrowImage; 14 | + (NSString *)mj_localizedStringForKey:(NSString *)key value:(NSString *)value; 15 | + (NSString *)mj_localizedStringForKey:(NSString *)key; 16 | @end 17 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIScrollView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_insetT; 14 | @property (assign, nonatomic) CGFloat mj_insetB; 15 | @property (assign, nonatomic) CGFloat mj_insetL; 16 | @property (assign, nonatomic) CGFloat mj_insetR; 17 | 18 | @property (assign, nonatomic) CGFloat mj_offsetX; 19 | @property (assign, nonatomic) CGFloat mj_offsetY; 20 | 21 | @property (assign, nonatomic) CGFloat mj_contentW; 22 | @property (assign, nonatomic) CGFloat mj_contentH; 23 | @end 24 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/MJRefresh/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_x; 14 | @property (assign, nonatomic) CGFloat mj_y; 15 | @property (assign, nonatomic) CGFloat mj_w; 16 | @property (assign, nonatomic) CGFloat mj_h; 17 | @property (assign, nonatomic) CGSize mj_size; 18 | @property (assign, nonatomic) CGPoint mj_origin; 19 | @end 20 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/AFNetworking/AFNetworking-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking 5 | @end 6 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/AFNetworking/AFNetworking-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #ifndef TARGET_OS_IOS 6 | #define TARGET_OS_IOS TARGET_OS_IPHONE 7 | #endif 8 | 9 | #ifndef TARGET_OS_WATCH 10 | #define TARGET_OS_WATCH 0 11 | #endif 12 | 13 | #ifndef TARGET_OS_TV 14 | #define TARGET_OS_TV 0 15 | #endif 16 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/AFNetworking/AFNetworking-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AFNetworking.h" 4 | #import "AFHTTPSessionManager.h" 5 | #import "AFURLSessionManager.h" 6 | #import "AFNetworkReachabilityManager.h" 7 | #import "AFSecurityPolicy.h" 8 | #import "AFURLRequestSerialization.h" 9 | #import "AFURLResponseSerialization.h" 10 | #import "AFAutoPurgingImageCache.h" 11 | #import "AFImageDownloader.h" 12 | #import "AFNetworkActivityIndicatorManager.h" 13 | #import "UIActivityIndicatorView+AFNetworking.h" 14 | #import "UIButton+AFNetworking.h" 15 | #import "UIImage+AFNetworking.h" 16 | #import "UIImageView+AFNetworking.h" 17 | #import "UIKit+AFNetworking.h" 18 | #import "UIProgressView+AFNetworking.h" 19 | #import "UIRefreshControl+AFNetworking.h" 20 | #import "UIWebView+AFNetworking.h" 21 | 22 | FOUNDATION_EXPORT double AFNetworkingVersionNumber; 23 | FOUNDATION_EXPORT const unsigned char AFNetworkingVersionString[]; 24 | 25 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/AFNetworking/AFNetworking.modulemap: -------------------------------------------------------------------------------- 1 | framework module AFNetworking { 2 | umbrella header "AFNetworking-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/AFNetworking/AFNetworking.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AFNetworking 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/AFNetworking/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 | FMWK 17 | CFBundleShortVersionString 18 | 3.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MBProgressHUD/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MBProgressHUD : NSObject 3 | @end 4 | @implementation PodsDummy_MBProgressHUD 5 | @end 6 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "MBProgressHUD.h" 4 | 5 | FOUNDATION_EXPORT double MBProgressHUDVersionNumber; 6 | FOUNDATION_EXPORT const unsigned char MBProgressHUDVersionString[]; 7 | 8 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.modulemap: -------------------------------------------------------------------------------- 1 | framework module MBProgressHUD { 2 | umbrella header "MBProgressHUD-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "QuartzCore" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MJRefresh/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 | FMWK 17 | CFBundleShortVersionString 18 | 3.1.12 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MJRefresh/MJRefresh-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MJRefresh : NSObject 3 | @end 4 | @implementation PodsDummy_MJRefresh 5 | @end 6 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MJRefresh/MJRefresh-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MJRefresh/MJRefresh-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "MJRefreshAutoFooter.h" 4 | #import "MJRefreshBackFooter.h" 5 | #import "MJRefreshComponent.h" 6 | #import "MJRefreshFooter.h" 7 | #import "MJRefreshHeader.h" 8 | #import "MJRefreshAutoGifFooter.h" 9 | #import "MJRefreshAutoNormalFooter.h" 10 | #import "MJRefreshAutoStateFooter.h" 11 | #import "MJRefreshBackGifFooter.h" 12 | #import "MJRefreshBackNormalFooter.h" 13 | #import "MJRefreshBackStateFooter.h" 14 | #import "MJRefreshGifHeader.h" 15 | #import "MJRefreshNormalHeader.h" 16 | #import "MJRefreshStateHeader.h" 17 | #import "MJRefresh.h" 18 | #import "MJRefreshConst.h" 19 | #import "NSBundle+MJRefresh.h" 20 | #import "UIScrollView+MJExtension.h" 21 | #import "UIScrollView+MJRefresh.h" 22 | #import "UIView+MJExtension.h" 23 | 24 | FOUNDATION_EXPORT double MJRefreshVersionNumber; 25 | FOUNDATION_EXPORT const unsigned char MJRefreshVersionString[]; 26 | 27 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MJRefresh/MJRefresh.modulemap: -------------------------------------------------------------------------------- 1 | framework module MJRefresh { 2 | umbrella header "MJRefresh-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/MJRefresh/MJRefresh.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/MJRefresh 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/Pods-NetPictures/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/Pods-NetPictures/Pods-NetPictures-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_NetPictures : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_NetPictures 5 | @end 6 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/Pods-NetPictures/Pods-NetPictures-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_NetPicturesVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_NetPicturesVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/Pods-NetPictures/Pods-NetPictures.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking" "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD" "$PODS_CONFIGURATION_BUILD_DIR/MJRefresh" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking/AFNetworking.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD/MBProgressHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MJRefresh/MJRefresh.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "MBProgressHUD" -framework "MJRefresh" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/Pods-NetPictures/Pods-NetPictures.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_NetPictures { 2 | umbrella header "Pods-NetPictures-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project37_NetPictures/Pods/Target Support Files/Pods-NetPictures/Pods-NetPictures.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking" "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD" "$PODS_CONFIGURATION_BUILD_DIR/MJRefresh" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking/AFNetworking.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD/MBProgressHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MJRefresh/MJRefresh.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "MBProgressHUD" -framework "MJRefresh" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Project38_NightMode/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project38_NightMode/38.gif -------------------------------------------------------------------------------- /Project38_NightMode/NightMode.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Home.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Home.pdf", 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 | } -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Home.imageset/Home.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project38_NightMode/NightMode/Assets.xcassets/Home.imageset/Home.pdf -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Light.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "屏幕快照 2017-01-06 下午3.29.14.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Light.imageset/屏幕快照 2017-01-06 下午3.29.14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project38_NightMode/NightMode/Assets.xcassets/Light.imageset/屏幕快照 2017-01-06 下午3.29.14.png -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Night.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "屏幕快照 2017-01-06 下午3.28.55.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Night.imageset/屏幕快照 2017-01-06 下午3.28.55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project38_NightMode/NightMode/Assets.xcassets/Night.imageset/屏幕快照 2017-01-06 下午3.28.55.png -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Setting.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Setting.pdf", 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 | } -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/Assets.xcassets/Setting.imageset/Setting.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project38_NightMode/NightMode/Assets.xcassets/Setting.imageset/Setting.pdf -------------------------------------------------------------------------------- /Project38_NightMode/NightMode/SetVC.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SetVC.swift 3 | // NightMode 4 | // 5 | // Created by baiwei-mac on 17/1/6. 6 | // Copyright © 2017年 YuHua. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class SetVC: CustomSupVC { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | setViewColor() 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | } 22 | 23 | override func setViewColor() { 24 | view.backgroundColor = NightManager.sharedInstance.color(color: "white") 25 | tabBarController?.tabBar.tintColor = NightManager.sharedInstance.color(color: "blue") 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Project39_CookBook/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/39.gif -------------------------------------------------------------------------------- /Project39_CookBook/CookBook.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Project39_CookBook/CookBook.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/back.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "back@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/back.imageset/back@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/CookBook/Assets.xcassets/back.imageset/back@2x.png -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/bgimg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "bgimg.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/bgimg.imageset/bgimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/CookBook/Assets.xcassets/bgimg.imageset/bgimg.png -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/default.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "default.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/default.imageset/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/CookBook/Assets.xcassets/default.imageset/default.png -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/f.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "f.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 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/f.imageset/f.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/CookBook/Assets.xcassets/f.imageset/f.jpeg -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/menu.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "menu@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/menu.imageset/menu@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/CookBook/Assets.xcassets/menu.imageset/menu@2x.png -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/menu_bg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "menu_bg.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Project39_CookBook/CookBook/Assets.xcassets/menu_bg.imageset/menu_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/CookBook/Assets.xcassets/menu_bg.imageset/menu_bg.png -------------------------------------------------------------------------------- /Project39_CookBook/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'CookBook' do 5 | # Comment this line if you're not using Swift and don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for CookBook 9 | pod 'SideMenu' 10 | pod 'Alamofire', '~> 4.3' 11 | pod 'PKHUD', '~> 4.0' 12 | end 13 | -------------------------------------------------------------------------------- /Project39_CookBook/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Alamofire (4.3.0) 3 | - PKHUD (4.1.0) 4 | - SideMenu (2.1.5) 5 | 6 | DEPENDENCIES: 7 | - Alamofire (~> 4.3) 8 | - PKHUD (~> 4.0) 9 | - SideMenu 10 | 11 | SPEC CHECKSUMS: 12 | Alamofire: 856a113053a7bc9cbe5d6367a555d773fc5cfef7 13 | PKHUD: a0ecdee9f67d9b462c0c5e4ba38400292ea6ae6e 14 | SideMenu: bcd2d7b7d4395af088e213cebd11c3ac7d958f5a 15 | 16 | PODFILE CHECKSUM: 5a5fb951c50f1de2bf723a17317be3ae3a6da5f6 17 | 18 | COCOAPODS: 1.0.1 19 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Alamofire (4.3.0) 3 | - PKHUD (4.1.0) 4 | - SideMenu (2.1.5) 5 | 6 | DEPENDENCIES: 7 | - Alamofire (~> 4.3) 8 | - PKHUD (~> 4.0) 9 | - SideMenu 10 | 11 | SPEC CHECKSUMS: 12 | Alamofire: 856a113053a7bc9cbe5d6367a555d773fc5cfef7 13 | PKHUD: a0ecdee9f67d9b462c0c5e4ba38400292ea6ae6e 14 | SideMenu: bcd2d7b7d4395af088e213cebd11c3ac7d958f5a 15 | 16 | PODFILE CHECKSUM: 5a5fb951c50f1de2bf723a17317be3ae3a6da5f6 17 | 18 | COCOAPODS: 1.0.1 19 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/checkmark.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "checkmark.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/checkmark.imageset/checkmark.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/checkmark.imageset/checkmark.pdf -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/cross.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "cross.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/cross.imageset/cross.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/cross.imageset/cross.pdf -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/progress_activity.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "progress.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/progress_activity.imageset/progress.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/progress_activity.imageset/progress.pdf -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/progress_circular.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "progress_circular.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | }, 12 | "properties" : { 13 | "template-rendering-intent" : "original" 14 | } 15 | } -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/progress_circular.imageset/progress_circular.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flywo/SwiftPractice/901bfec0fb6f242d2bf0d46560b90f84f20dcdc6/Project39_CookBook/Pods/PKHUD/PKHUD/Images.xcassets/progress_circular.imageset/progress_circular.pdf -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/PKHUD.h: -------------------------------------------------------------------------------- 1 | // 2 | // PKHUD.h 3 | // PKHUD 4 | // 5 | // Created by Philip Kluz on 6/17/14. 6 | // Copyright (c) 2016 NSExceptional. All rights reserved. 7 | // Licensed under the MIT license. 8 | // 9 | 10 | @import UIKit; 11 | 12 | //! Project version number for PKHUD. 13 | FOUNDATION_EXPORT double PKHUDVersionNumber; 14 | 15 | //! Project version string for PKHUD. 16 | FOUNDATION_EXPORT const unsigned char PKHUDVersionString[]; 17 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/PKHUDAnimating.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PKHUDAnimatingContentView.swift 3 | // PKHUD 4 | // 5 | // Created by Philip Kluz on 9/27/15. 6 | // Copyright (c) 2016 NSExceptional. All rights reserved. 7 | // Licensed under the MIT license. 8 | // 9 | 10 | import UIKit 11 | 12 | @objc protocol PKHUDAnimating { 13 | 14 | func startAnimation() 15 | @objc optional func stopAnimation() 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/PKHUDProgressView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PKHUDProgressVIew.swift 3 | // PKHUD 4 | // 5 | // Created by Philip Kluz on 6/12/15. 6 | // Copyright (c) 2016 NSExceptional. All rights reserved. 7 | // Licensed under the MIT license. 8 | // 9 | 10 | import UIKit 11 | import QuartzCore 12 | 13 | /// PKHUDProgressView provides an indeterminate progress view. 14 | open class PKHUDProgressView: PKHUDSquareBaseView, PKHUDAnimating { 15 | 16 | public init(title: String? = nil, subtitle: String? = nil) { 17 | super.init(image: PKHUDAssets.progressActivityImage, title: title, subtitle: subtitle) 18 | } 19 | 20 | public required init?(coder aDecoder: NSCoder) { 21 | super.init(coder: aDecoder) 22 | } 23 | 24 | func startAnimation() { 25 | imageView.layer.add(PKHUDAnimation.discreteRotation, forKey: "progressAnimation") 26 | } 27 | 28 | func stopAnimation() { 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/PKHUDRotatingImageView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PKHUDRotatingImageView.swift 3 | // PKHUD 4 | // 5 | // Created by Mark Koh on 1/14/16. 6 | // Copyright © 2016 NSExceptional. All rights reserved. 7 | // Licensed under the MIT license. 8 | // 9 | 10 | import UIKit 11 | import QuartzCore 12 | 13 | /// PKHUDRotatingImageView provides a content view that rotates the supplies image automatically. 14 | open class PKHUDRotatingImageView: PKHUDSquareBaseView, PKHUDAnimating { 15 | 16 | func startAnimation() { 17 | imageView.layer.add(PKHUDAnimation.continuousRotation, forKey: "progressAnimation") 18 | } 19 | 20 | func stopAnimation() { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/PKHUD/PKHUD/PKHUDWideBaseView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PKHUDWideBaseView.swift 3 | // PKHUD 4 | // 5 | // Created by Philip Kluz on 6/12/15. 6 | // Copyright (c) 2016 NSExceptional. All rights reserved. 7 | // Licensed under the MIT license. 8 | // 9 | 10 | import UIKit 11 | 12 | /// PKHUDWideBaseView provides a wide base view, which you can subclass and add additional views to. 13 | open class PKHUDWideBaseView: UIView { 14 | 15 | static let defaultWideBaseViewFrame = CGRect(origin: CGPoint.zero, size: CGSize(width: 265.0, height: 90.0)) 16 | 17 | public init() { 18 | super.init(frame: PKHUDWideBaseView.defaultWideBaseViewFrame) 19 | } 20 | 21 | public override init(frame: CGRect) { 22 | super.init(frame: frame) 23 | } 24 | 25 | public required init?(coder aDecoder: NSCoder) { 26 | super.init(coder: aDecoder) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Alamofire/Alamofire-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Alamofire : NSObject 3 | @end 4 | @implementation PodsDummy_Alamofire 5 | @end 6 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Alamofire/Alamofire-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double AlamofireVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char AlamofireVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Alamofire/Alamofire.modulemap: -------------------------------------------------------------------------------- 1 | framework module Alamofire { 2 | umbrella header "Alamofire-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Alamofire/Alamofire.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Alamofire 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Alamofire/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 | FMWK 17 | CFBundleShortVersionString 18 | 4.3.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/PKHUD/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 | FMWK 17 | CFBundleShortVersionString 18 | 4.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/PKHUD/PKHUD-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_PKHUD : NSObject 3 | @end 4 | @implementation PodsDummy_PKHUD 5 | @end 6 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/PKHUD/PKHUD-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/PKHUD/PKHUD-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "PKHUD.h" 4 | 5 | FOUNDATION_EXPORT double PKHUDVersionNumber; 6 | FOUNDATION_EXPORT const unsigned char PKHUDVersionString[]; 7 | 8 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/PKHUD/PKHUD.modulemap: -------------------------------------------------------------------------------- 1 | framework module PKHUD { 2 | umbrella header "PKHUD-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/PKHUD/PKHUD.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/PKHUD 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Pods-CookBook/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Pods-CookBook/Pods-CookBook-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_CookBook : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_CookBook 5 | @end 6 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Pods-CookBook/Pods-CookBook-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_CookBookVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_CookBookVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Pods-CookBook/Pods-CookBook.debug.xcconfig: -------------------------------------------------------------------------------- 1 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire" "$PODS_CONFIGURATION_BUILD_DIR/PKHUD" "$PODS_CONFIGURATION_BUILD_DIR/SideMenu" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PKHUD/PKHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SideMenu/SideMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PKHUD" -framework "SideMenu" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Pods-CookBook/Pods-CookBook.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_CookBook { 2 | umbrella header "Pods-CookBook-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/Pods-CookBook/Pods-CookBook.release.xcconfig: -------------------------------------------------------------------------------- 1 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire" "$PODS_CONFIGURATION_BUILD_DIR/PKHUD" "$PODS_CONFIGURATION_BUILD_DIR/SideMenu" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PKHUD/PKHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SideMenu/SideMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PKHUD" -framework "SideMenu" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/SideMenu/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 | FMWK 17 | CFBundleShortVersionString 18 | 2.1.5 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/SideMenu/SideMenu-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SideMenu : NSObject 3 | @end 4 | @implementation PodsDummy_SideMenu 5 | @end 6 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/SideMenu/SideMenu-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/SideMenu/SideMenu-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double SideMenuVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char SideMenuVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/SideMenu/SideMenu.modulemap: -------------------------------------------------------------------------------- 1 | framework module SideMenu { 2 | umbrella header "SideMenu-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Project39_CookBook/Pods/Target Support Files/SideMenu/SideMenu.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SideMenu 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | --------------------------------------------------------------------------------