├── .github └── FUNDING.yml ├── .gitignore ├── LICENSE ├── README.md ├── README_resources ├── animator1.gif ├── animator2.gif ├── coredata.jpg ├── digit.gif ├── filter1.jpg ├── filter2.jpg ├── fonts.jpg ├── haptic.jpg ├── imagerecog.gif ├── livephoto.jpg ├── loop_normal.gif ├── loop_short.gif ├── notif1.jpg ├── notif2.jpg ├── peekpop.gif ├── proactive1.jpg ├── proactive2.jpg ├── speechrecognition.jpg ├── stickers.jpg └── tab.jpg ├── SamplerStickerPack ├── Info.plist └── Stickers.xcassets │ ├── Contents.json │ ├── Sticker Pack.stickerpack │ ├── Contents.json │ ├── iOS 10 Sampler Icon.sticker │ │ ├── Contents.json │ │ └── Icon-App-60x60@3x.png │ ├── iOS 7 Sampler Icon.sticker │ │ ├── Contents.json │ │ └── Icon-60@3x.png │ ├── iOS 8 Sampler Icon.sticker │ │ ├── Contents.json │ │ └── icon@3x.png │ ├── iOS 9 Sampler Icon.sticker │ │ ├── Contents.json │ │ └── Icon-60@3x.png │ ├── m10.sticker │ │ ├── Contents.json │ │ └── m10@2x.png │ ├── m13.sticker │ │ ├── Contents.json │ │ └── m13@2x.png │ ├── m14.sticker │ │ ├── Contents.json │ │ └── m14@2x.png │ ├── m15.sticker │ │ ├── Contents.json │ │ └── m15@2x.png │ ├── m16.sticker │ │ ├── Contents.json │ │ └── m16@2x.png │ ├── m18.sticker │ │ ├── Contents.json │ │ └── m18@2x.png │ ├── m2.sticker │ │ ├── Contents.json │ │ └── m2@2x.png │ ├── m20.sticker │ │ ├── Contents.json │ │ └── m20@2x.png │ ├── m21.sticker │ │ ├── Contents.json │ │ └── m21@2x.png │ ├── m22.sticker │ │ ├── Contents.json │ │ └── m22@2x.png │ ├── m23.sticker │ │ ├── Contents.json │ │ └── m23@2x.png │ ├── m24.sticker │ │ ├── Contents.json │ │ └── m24@2x.png │ ├── m28.sticker │ │ ├── Contents.json │ │ └── m28@2x.png │ ├── m30.sticker │ │ ├── Contents.json │ │ └── m30@2x.png │ ├── m31.sticker │ │ ├── Contents.json │ │ └── m31@2x.png │ ├── m32.sticker │ │ ├── Contents.json │ │ └── m32@2x.png │ ├── m36.sticker │ │ ├── Contents.json │ │ └── m36@2x.png │ ├── m4.sticker │ │ ├── Contents.json │ │ └── m4@2x.png │ ├── m40.sticker │ │ ├── Contents.json │ │ └── m40@2x.png │ ├── m5.sticker │ │ ├── Contents.json │ │ └── m5@2x.png │ ├── m6.sticker │ │ ├── Contents.json │ │ └── m6@2x.png │ └── m7.sticker │ │ ├── Contents.json │ │ └── m7@2x.png │ └── iMessage App Icon.stickersiconset │ ├── 10-iTunesArtwork@2x_r1_c1.png │ ├── Contents.json │ ├── icon-messages-app-27x20@2x.png │ ├── icon-messages-app-27x20@3x.png │ ├── icon-messages-app-iPadAir-67x50@2x.png │ ├── icon-messages-app-iPadAir-74x55@2x.png │ ├── icon-messages-app-iPhone-60x45@2x.png │ ├── icon-messages-app-iPhone-60x45@3x.png │ ├── icon-messages-transcript-32x24@2x.png │ └── icon-messages-transcript-32x24@3x.png ├── iOS-10-Sampler.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcuserdata │ └── shuichi.xcuserdatad │ └── xcschemes │ ├── iOS-10-Sampler.xcscheme │ └── xcschememanagement.plist ├── iOS-10-Sampler ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── 10-iTunesArtwork.png │ │ ├── Contents.json │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ └── Icon-App-60x60@3x.png │ ├── Contents.json │ ├── audio.imageset │ │ ├── Contents.json │ │ └── audio@2x.png │ ├── bgm.dataset │ │ ├── Contents.json │ │ └── bgm_2.aif │ └── sierra.imageset │ │ ├── Contents.json │ │ └── sierra.png ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Info.plist ├── Resources │ ├── movies │ │ ├── superquest.mp4 │ │ └── superquest_attack.mp4 │ ├── network_params │ │ ├── batch_normalized_binaries │ │ │ ├── bias_conv.dat │ │ │ ├── bias_conv_1.dat │ │ │ ├── bias_conv_2.dat │ │ │ ├── bias_conv_3.dat │ │ │ ├── bias_conv_4.dat │ │ │ ├── bias_mixed_10_conv.dat │ │ │ ├── bias_mixed_10_tower_1_conv.dat │ │ │ ├── bias_mixed_10_tower_1_conv_1.dat │ │ │ ├── bias_mixed_10_tower_1_mixed_conv.dat │ │ │ ├── bias_mixed_10_tower_1_mixed_conv_1.dat │ │ │ ├── bias_mixed_10_tower_2_conv.dat │ │ │ ├── bias_mixed_10_tower_conv.dat │ │ │ ├── bias_mixed_10_tower_mixed_conv.dat │ │ │ ├── bias_mixed_10_tower_mixed_conv_1.dat │ │ │ ├── bias_mixed_1_conv.dat │ │ │ ├── bias_mixed_1_tower_1_conv.dat │ │ │ ├── bias_mixed_1_tower_1_conv_1.dat │ │ │ ├── bias_mixed_1_tower_1_conv_2.dat │ │ │ ├── bias_mixed_1_tower_2_conv.dat │ │ │ ├── bias_mixed_1_tower_conv.dat │ │ │ ├── bias_mixed_1_tower_conv_1.dat │ │ │ ├── bias_mixed_2_conv.dat │ │ │ ├── bias_mixed_2_tower_1_conv.dat │ │ │ ├── bias_mixed_2_tower_1_conv_1.dat │ │ │ ├── bias_mixed_2_tower_1_conv_2.dat │ │ │ ├── bias_mixed_2_tower_2_conv.dat │ │ │ ├── bias_mixed_2_tower_conv.dat │ │ │ ├── bias_mixed_2_tower_conv_1.dat │ │ │ ├── bias_mixed_3_conv.dat │ │ │ ├── bias_mixed_3_tower_conv.dat │ │ │ ├── bias_mixed_3_tower_conv_1.dat │ │ │ ├── bias_mixed_3_tower_conv_2.dat │ │ │ ├── bias_mixed_4_conv.dat │ │ │ ├── bias_mixed_4_tower_1_conv.dat │ │ │ ├── bias_mixed_4_tower_1_conv_1.dat │ │ │ ├── bias_mixed_4_tower_1_conv_2.dat │ │ │ ├── bias_mixed_4_tower_1_conv_3.dat │ │ │ ├── bias_mixed_4_tower_1_conv_4.dat │ │ │ ├── bias_mixed_4_tower_2_conv.dat │ │ │ ├── bias_mixed_4_tower_conv.dat │ │ │ ├── bias_mixed_4_tower_conv_1.dat │ │ │ ├── bias_mixed_4_tower_conv_2.dat │ │ │ ├── bias_mixed_5_conv.dat │ │ │ ├── bias_mixed_5_tower_1_conv.dat │ │ │ ├── bias_mixed_5_tower_1_conv_1.dat │ │ │ ├── bias_mixed_5_tower_1_conv_2.dat │ │ │ ├── bias_mixed_5_tower_1_conv_3.dat │ │ │ ├── bias_mixed_5_tower_1_conv_4.dat │ │ │ ├── bias_mixed_5_tower_2_conv.dat │ │ │ ├── bias_mixed_5_tower_conv.dat │ │ │ ├── bias_mixed_5_tower_conv_1.dat │ │ │ ├── bias_mixed_5_tower_conv_2.dat │ │ │ ├── bias_mixed_6_conv.dat │ │ │ ├── bias_mixed_6_tower_1_conv.dat │ │ │ ├── bias_mixed_6_tower_1_conv_1.dat │ │ │ ├── bias_mixed_6_tower_1_conv_2.dat │ │ │ ├── bias_mixed_6_tower_1_conv_3.dat │ │ │ ├── bias_mixed_6_tower_1_conv_4.dat │ │ │ ├── bias_mixed_6_tower_2_conv.dat │ │ │ ├── bias_mixed_6_tower_conv.dat │ │ │ ├── bias_mixed_6_tower_conv_1.dat │ │ │ ├── bias_mixed_6_tower_conv_2.dat │ │ │ ├── bias_mixed_7_conv.dat │ │ │ ├── bias_mixed_7_tower_1_conv.dat │ │ │ ├── bias_mixed_7_tower_1_conv_1.dat │ │ │ ├── bias_mixed_7_tower_1_conv_2.dat │ │ │ ├── bias_mixed_7_tower_1_conv_3.dat │ │ │ ├── bias_mixed_7_tower_1_conv_4.dat │ │ │ ├── bias_mixed_7_tower_2_conv.dat │ │ │ ├── bias_mixed_7_tower_conv.dat │ │ │ ├── bias_mixed_7_tower_conv_1.dat │ │ │ ├── bias_mixed_7_tower_conv_2.dat │ │ │ ├── bias_mixed_8_tower_1_conv.dat │ │ │ ├── bias_mixed_8_tower_1_conv_1.dat │ │ │ ├── bias_mixed_8_tower_1_conv_2.dat │ │ │ ├── bias_mixed_8_tower_1_conv_3.dat │ │ │ ├── bias_mixed_8_tower_conv.dat │ │ │ ├── bias_mixed_8_tower_conv_1.dat │ │ │ ├── bias_mixed_9_conv.dat │ │ │ ├── bias_mixed_9_tower_1_conv.dat │ │ │ ├── bias_mixed_9_tower_1_conv_1.dat │ │ │ ├── bias_mixed_9_tower_1_mixed_conv.dat │ │ │ ├── bias_mixed_9_tower_1_mixed_conv_1.dat │ │ │ ├── bias_mixed_9_tower_2_conv.dat │ │ │ ├── bias_mixed_9_tower_conv.dat │ │ │ ├── bias_mixed_9_tower_mixed_conv.dat │ │ │ ├── bias_mixed_9_tower_mixed_conv_1.dat │ │ │ ├── bias_mixed_conv.dat │ │ │ ├── bias_mixed_tower_1_conv.dat │ │ │ ├── bias_mixed_tower_1_conv_1.dat │ │ │ ├── bias_mixed_tower_1_conv_2.dat │ │ │ ├── bias_mixed_tower_2_conv.dat │ │ │ ├── bias_mixed_tower_conv.dat │ │ │ ├── bias_mixed_tower_conv_1.dat │ │ │ ├── bias_softmax.dat │ │ │ ├── weights_conv.dat │ │ │ ├── weights_conv_1.dat │ │ │ ├── weights_conv_2.dat │ │ │ ├── weights_conv_3.dat │ │ │ ├── weights_conv_4.dat │ │ │ ├── weights_mixed_10_conv.dat │ │ │ ├── weights_mixed_10_tower_1_conv.dat │ │ │ ├── weights_mixed_10_tower_1_conv_1.dat │ │ │ ├── weights_mixed_10_tower_1_mixed_conv.dat │ │ │ ├── weights_mixed_10_tower_1_mixed_conv_1.dat │ │ │ ├── weights_mixed_10_tower_2_conv.dat │ │ │ ├── weights_mixed_10_tower_conv.dat │ │ │ ├── weights_mixed_10_tower_mixed_conv.dat │ │ │ ├── weights_mixed_10_tower_mixed_conv_1.dat │ │ │ ├── weights_mixed_1_conv.dat │ │ │ ├── weights_mixed_1_tower_1_conv.dat │ │ │ ├── weights_mixed_1_tower_1_conv_1.dat │ │ │ ├── weights_mixed_1_tower_1_conv_2.dat │ │ │ ├── weights_mixed_1_tower_2_conv.dat │ │ │ ├── weights_mixed_1_tower_conv.dat │ │ │ ├── weights_mixed_1_tower_conv_1.dat │ │ │ ├── weights_mixed_2_conv.dat │ │ │ ├── weights_mixed_2_tower_1_conv.dat │ │ │ ├── weights_mixed_2_tower_1_conv_1.dat │ │ │ ├── weights_mixed_2_tower_1_conv_2.dat │ │ │ ├── weights_mixed_2_tower_2_conv.dat │ │ │ ├── weights_mixed_2_tower_conv.dat │ │ │ ├── weights_mixed_2_tower_conv_1.dat │ │ │ ├── weights_mixed_3_conv.dat │ │ │ ├── weights_mixed_3_tower_conv.dat │ │ │ ├── weights_mixed_3_tower_conv_1.dat │ │ │ ├── weights_mixed_3_tower_conv_2.dat │ │ │ ├── weights_mixed_4_conv.dat │ │ │ ├── weights_mixed_4_tower_1_conv.dat │ │ │ ├── weights_mixed_4_tower_1_conv_1.dat │ │ │ ├── weights_mixed_4_tower_1_conv_2.dat │ │ │ ├── weights_mixed_4_tower_1_conv_3.dat │ │ │ ├── weights_mixed_4_tower_1_conv_4.dat │ │ │ ├── weights_mixed_4_tower_2_conv.dat │ │ │ ├── weights_mixed_4_tower_conv.dat │ │ │ ├── weights_mixed_4_tower_conv_1.dat │ │ │ ├── weights_mixed_4_tower_conv_2.dat │ │ │ ├── weights_mixed_5_conv.dat │ │ │ ├── weights_mixed_5_tower_1_conv.dat │ │ │ ├── weights_mixed_5_tower_1_conv_1.dat │ │ │ ├── weights_mixed_5_tower_1_conv_2.dat │ │ │ ├── weights_mixed_5_tower_1_conv_3.dat │ │ │ ├── weights_mixed_5_tower_1_conv_4.dat │ │ │ ├── weights_mixed_5_tower_2_conv.dat │ │ │ ├── weights_mixed_5_tower_conv.dat │ │ │ ├── weights_mixed_5_tower_conv_1.dat │ │ │ ├── weights_mixed_5_tower_conv_2.dat │ │ │ ├── weights_mixed_6_conv.dat │ │ │ ├── weights_mixed_6_tower_1_conv.dat │ │ │ ├── weights_mixed_6_tower_1_conv_1.dat │ │ │ ├── weights_mixed_6_tower_1_conv_2.dat │ │ │ ├── weights_mixed_6_tower_1_conv_3.dat │ │ │ ├── weights_mixed_6_tower_1_conv_4.dat │ │ │ ├── weights_mixed_6_tower_2_conv.dat │ │ │ ├── weights_mixed_6_tower_conv.dat │ │ │ ├── weights_mixed_6_tower_conv_1.dat │ │ │ ├── weights_mixed_6_tower_conv_2.dat │ │ │ ├── weights_mixed_7_conv.dat │ │ │ ├── weights_mixed_7_tower_1_conv.dat │ │ │ ├── weights_mixed_7_tower_1_conv_1.dat │ │ │ ├── weights_mixed_7_tower_1_conv_2.dat │ │ │ ├── weights_mixed_7_tower_1_conv_3.dat │ │ │ ├── weights_mixed_7_tower_1_conv_4.dat │ │ │ ├── weights_mixed_7_tower_2_conv.dat │ │ │ ├── weights_mixed_7_tower_conv.dat │ │ │ ├── weights_mixed_7_tower_conv_1.dat │ │ │ ├── weights_mixed_7_tower_conv_2.dat │ │ │ ├── weights_mixed_8_tower_1_conv.dat │ │ │ ├── weights_mixed_8_tower_1_conv_1.dat │ │ │ ├── weights_mixed_8_tower_1_conv_2.dat │ │ │ ├── weights_mixed_8_tower_1_conv_3.dat │ │ │ ├── weights_mixed_8_tower_conv.dat │ │ │ ├── weights_mixed_8_tower_conv_1.dat │ │ │ ├── weights_mixed_9_conv.dat │ │ │ ├── weights_mixed_9_tower_1_conv.dat │ │ │ ├── weights_mixed_9_tower_1_conv_1.dat │ │ │ ├── weights_mixed_9_tower_1_mixed_conv.dat │ │ │ ├── weights_mixed_9_tower_1_mixed_conv_1.dat │ │ │ ├── weights_mixed_9_tower_2_conv.dat │ │ │ ├── weights_mixed_9_tower_conv.dat │ │ │ ├── weights_mixed_9_tower_mixed_conv.dat │ │ │ ├── weights_mixed_9_tower_mixed_conv_1.dat │ │ │ ├── weights_mixed_conv.dat │ │ │ ├── weights_mixed_tower_1_conv.dat │ │ │ ├── weights_mixed_tower_1_conv_1.dat │ │ │ ├── weights_mixed_tower_1_conv_2.dat │ │ │ ├── weights_mixed_tower_2_conv.dat │ │ │ ├── weights_mixed_tower_conv.dat │ │ │ ├── weights_mixed_tower_conv_1.dat │ │ │ └── weights_softmax.dat │ │ └── deep_weights │ │ │ ├── bias_conv1.dat │ │ │ ├── bias_conv2.dat │ │ │ ├── bias_fc1.dat │ │ │ ├── bias_fc2.dat │ │ │ ├── weights_conv1.dat │ │ │ ├── weights_conv2.dat │ │ │ ├── weights_fc1.dat │ │ │ └── weights_fc2.dat │ ├── plists │ │ └── iOS10AddedFonts.plist │ └── sounds │ │ └── superquest_levelup.m4a ├── RootViewCell.swift ├── RootViewController.swift ├── SampleDataSource.swift ├── Samples │ ├── AttributedSpeech.storyboard │ ├── AttributedSpeechViewController.swift │ ├── AudioFadeInOut.storyboard │ ├── AudioFadeInOutViewController.swift │ ├── CIFilterExtension.swift │ ├── Fonts.storyboard │ ├── FontsViewController.swift │ ├── Haptic.storyboard │ ├── HapticViewController.swift │ ├── ImageFilters.storyboard │ ├── ImageFiltersViewController.swift │ ├── Inception3Net+result.swift │ ├── Inception3Net.swift │ ├── LivePhotoCapture.storyboard │ ├── LivePhotoCaptureDelegate.swift │ ├── LivePhotoCaptureSessionManager.swift │ ├── LivePhotoCaptureViewController.swift │ ├── Looper.storyboard │ ├── Looper.swift │ ├── LooperViewController.swift │ ├── MNISTDeepCNN.swift │ ├── Message+CoreDataClass.swift │ ├── Message+CoreDataProperties.swift │ ├── MetalCNNBasic.storyboard │ ├── MetalCNNBasicApple │ │ ├── DrawView.swift │ │ ├── SlimMPSCNN.swift │ │ ├── SlimMPSCNNConvolution.h │ │ ├── SlimMPSCNNConvolution.m │ │ ├── SlimMPSCNNFullyConnected.h │ │ └── SlimMPSCNNFullyConnected.m │ ├── MetalCNNBasicViewController.swift │ ├── MetalImageRecognition.storyboard │ ├── MetalImageRecognitionViewController.swift │ ├── PersistentContainer.storyboard │ ├── PersistentContainerViewController.swift │ ├── PreviewInteraction.storyboard │ ├── PreviewInteractionPopViewController.swift │ ├── PreviewInteractionViewController.swift │ ├── PreviewView.swift │ ├── Proactive.storyboard │ ├── ProactiveViewController.swift │ ├── PropertyAnimator.storyboard │ ├── PropertyAnimatorEffect.storyboard │ ├── PropertyAnimatorEffectViewController.swift │ ├── PropertyAnimatorViewController.swift │ ├── SpeechRecognition.storyboard │ ├── SpeechRecognitionViewController.swift │ ├── StickerPack.storyboard │ ├── StickerPackViewController.swift │ ├── TabBadge.storyboard │ ├── TabBadgeViewController.swift │ ├── UserNotification.storyboard │ ├── UserNotificationViewController.swift │ └── iOS10Sampler.xcdatamodeld │ │ ├── .xccurrentversion │ │ └── iOS10Sampler.xcdatamodel │ │ └── contents ├── UIViewController+alert.swift └── iOS10Sampler-Bridging-Header.h ├── iOS-10-SamplerTests ├── Info.plist └── iOS_10_SamplerTests.swift ├── iOS-10-SamplerUITests ├── Info.plist └── iOS_10_SamplerUITests.swift └── libs └── VideoCapture ├── AVCaptureDevice+Extension.swift ├── VideoCameraType.swift └── VideoCapture.swift /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [shu223] 4 | custom: ['https://paypal.me/shu223', 'https://note.com/shu223/m/me1aa6761ab16'] 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | iOS-10-Sampler/Resources/network_params/logos 6 | 7 | ## Build generated 8 | build/ 9 | DerivedData/ 10 | 11 | ## Various settings 12 | *.pbxuser 13 | !default.pbxuser 14 | *.mode1v3 15 | !default.mode1v3 16 | *.mode2v3 17 | !default.mode2v3 18 | *.perspectivev3 19 | !default.perspectivev3 20 | xcuserdata/ 21 | 22 | ## Other 23 | *.moved-aside 24 | *.xcuserstate 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | *.dSYM.zip 30 | *.dSYM 31 | 32 | ## Playgrounds 33 | timeline.xctimeline 34 | playground.xcworkspace 35 | 36 | # Swift Package Manager 37 | # 38 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 39 | # Packages/ 40 | .build/ 41 | 42 | # CocoaPods 43 | # 44 | # We recommend against adding the Pods directory to your .gitignore. However 45 | # you should judge for yourself, the pros and cons are mentioned at: 46 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 47 | # 48 | # Pods/ 49 | 50 | # Carthage 51 | # 52 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 53 | # Carthage/Checkouts 54 | 55 | Carthage/Build 56 | 57 | # fastlane 58 | # 59 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 60 | # screenshots whenever they are needed. 61 | # For more information about the recommended setup visit: 62 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 63 | 64 | fastlane/report.xml 65 | fastlane/Preview.html 66 | fastlane/screenshots 67 | fastlane/test_output -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 shu223 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README_resources/animator1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/animator1.gif -------------------------------------------------------------------------------- /README_resources/animator2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/animator2.gif -------------------------------------------------------------------------------- /README_resources/coredata.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/coredata.jpg -------------------------------------------------------------------------------- /README_resources/digit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/digit.gif -------------------------------------------------------------------------------- /README_resources/filter1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/filter1.jpg -------------------------------------------------------------------------------- /README_resources/filter2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/filter2.jpg -------------------------------------------------------------------------------- /README_resources/fonts.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/fonts.jpg -------------------------------------------------------------------------------- /README_resources/haptic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/haptic.jpg -------------------------------------------------------------------------------- /README_resources/imagerecog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/imagerecog.gif -------------------------------------------------------------------------------- /README_resources/livephoto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/livephoto.jpg -------------------------------------------------------------------------------- /README_resources/loop_normal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/loop_normal.gif -------------------------------------------------------------------------------- /README_resources/loop_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/loop_short.gif -------------------------------------------------------------------------------- /README_resources/notif1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/notif1.jpg -------------------------------------------------------------------------------- /README_resources/notif2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/notif2.jpg -------------------------------------------------------------------------------- /README_resources/peekpop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/peekpop.gif -------------------------------------------------------------------------------- /README_resources/proactive1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/proactive1.jpg -------------------------------------------------------------------------------- /README_resources/proactive2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/proactive2.jpg -------------------------------------------------------------------------------- /README_resources/speechrecognition.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/speechrecognition.jpg -------------------------------------------------------------------------------- /README_resources/stickers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/stickers.jpg -------------------------------------------------------------------------------- /README_resources/tab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/README_resources/tab.jpg -------------------------------------------------------------------------------- /SamplerStickerPack/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Sampler Stickers 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | XPC! 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | NSExtension 24 | 25 | NSExtensionPointIdentifier 26 | com.apple.message-payload-provider 27 | NSExtensionPrincipalClass 28 | StickerBrowserViewController 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "stickers" : [ 3 | { 4 | "filename" : "iOS 10 Sampler Icon.sticker" 5 | }, 6 | { 7 | "filename" : "iOS 9 Sampler Icon.sticker" 8 | }, 9 | { 10 | "filename" : "iOS 8 Sampler Icon.sticker" 11 | }, 12 | { 13 | "filename" : "iOS 7 Sampler Icon.sticker" 14 | }, 15 | { 16 | "filename" : "m2.sticker" 17 | }, 18 | { 19 | "filename" : "m4.sticker" 20 | }, 21 | { 22 | "filename" : "m5.sticker" 23 | }, 24 | { 25 | "filename" : "m6.sticker" 26 | }, 27 | { 28 | "filename" : "m7.sticker" 29 | }, 30 | { 31 | "filename" : "m10.sticker" 32 | }, 33 | { 34 | "filename" : "m13.sticker" 35 | }, 36 | { 37 | "filename" : "m14.sticker" 38 | }, 39 | { 40 | "filename" : "m15.sticker" 41 | }, 42 | { 43 | "filename" : "m16.sticker" 44 | }, 45 | { 46 | "filename" : "m18.sticker" 47 | }, 48 | { 49 | "filename" : "m20.sticker" 50 | }, 51 | { 52 | "filename" : "m21.sticker" 53 | }, 54 | { 55 | "filename" : "m22.sticker" 56 | }, 57 | { 58 | "filename" : "m23.sticker" 59 | }, 60 | { 61 | "filename" : "m24.sticker" 62 | }, 63 | { 64 | "filename" : "m28.sticker" 65 | }, 66 | { 67 | "filename" : "m30.sticker" 68 | }, 69 | { 70 | "filename" : "m31.sticker" 71 | }, 72 | { 73 | "filename" : "m32.sticker" 74 | }, 75 | { 76 | "filename" : "m36.sticker" 77 | }, 78 | { 79 | "filename" : "m40.sticker" 80 | } 81 | ], 82 | "info" : { 83 | "version" : 1, 84 | "author" : "xcode" 85 | }, 86 | "properties" : { 87 | "grid-size" : "regular" 88 | } 89 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 10 Sampler Icon.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "Icon-App-60x60@3x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 10 Sampler Icon.sticker/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 10 Sampler Icon.sticker/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 7 Sampler Icon.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "Icon-60@3x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 7 Sampler Icon.sticker/Icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 7 Sampler Icon.sticker/Icon-60@3x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 8 Sampler Icon.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "icon@3x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 8 Sampler Icon.sticker/icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 8 Sampler Icon.sticker/icon@3x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 9 Sampler Icon.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "Icon-60@3x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 9 Sampler Icon.sticker/Icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/iOS 9 Sampler Icon.sticker/Icon-60@3x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m10.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m10@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m10.sticker/m10@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m10.sticker/m10@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m13.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m13@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m13.sticker/m13@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m13.sticker/m13@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m14.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m14@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m14.sticker/m14@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m14.sticker/m14@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m15.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m15@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m15.sticker/m15@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m15.sticker/m15@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m16.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m16@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m16.sticker/m16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m16.sticker/m16@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m18.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m18@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m18.sticker/m18@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m18.sticker/m18@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m2.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m2@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m2.sticker/m2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m2.sticker/m2@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m20.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m20@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m20.sticker/m20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m20.sticker/m20@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m21.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m21@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m21.sticker/m21@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m21.sticker/m21@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m22.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m22@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m22.sticker/m22@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m22.sticker/m22@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m23.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m23@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m23.sticker/m23@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m23.sticker/m23@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m24.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m24@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m24.sticker/m24@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m24.sticker/m24@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m28.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m28@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m28.sticker/m28@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m28.sticker/m28@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m30.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m30@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m30.sticker/m30@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m30.sticker/m30@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m31.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m31@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m31.sticker/m31@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m31.sticker/m31@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m32.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m32@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m32.sticker/m32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m32.sticker/m32@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m36.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m36@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m36.sticker/m36@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m36.sticker/m36@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m4.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m4@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m4.sticker/m4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m4.sticker/m4@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m40.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m40@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m40.sticker/m40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m40.sticker/m40@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m5.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m5@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m5.sticker/m5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m5.sticker/m5@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m6.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m6@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m6.sticker/m6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m6.sticker/m6@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m7.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "m7@2x.png" 8 | } 9 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m7.sticker/m7@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/Sticker Pack.stickerpack/m7.sticker/m7@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/10-iTunesArtwork@2x_r1_c1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/10-iTunesArtwork@2x_r1_c1.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "60x45", 5 | "idiom" : "iphone", 6 | "filename" : "icon-messages-app-iPhone-60x45@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "60x45", 11 | "idiom" : "iphone", 12 | "filename" : "icon-messages-app-iPhone-60x45@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "67x50", 17 | "idiom" : "ipad", 18 | "filename" : "icon-messages-app-iPadAir-67x50@2x.png", 19 | "scale" : "2x" 20 | }, 21 | { 22 | "size" : "74x55", 23 | "idiom" : "ipad", 24 | "filename" : "icon-messages-app-iPadAir-74x55@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "27x20", 29 | "idiom" : "universal", 30 | "filename" : "icon-messages-app-27x20@2x.png", 31 | "scale" : "2x", 32 | "platform" : "ios" 33 | }, 34 | { 35 | "size" : "27x20", 36 | "idiom" : "universal", 37 | "filename" : "icon-messages-app-27x20@3x.png", 38 | "scale" : "3x", 39 | "platform" : "ios" 40 | }, 41 | { 42 | "size" : "32x24", 43 | "idiom" : "universal", 44 | "filename" : "icon-messages-transcript-32x24@2x.png", 45 | "scale" : "2x", 46 | "platform" : "ios" 47 | }, 48 | { 49 | "size" : "32x24", 50 | "idiom" : "universal", 51 | "filename" : "icon-messages-transcript-32x24@3x.png", 52 | "scale" : "3x", 53 | "platform" : "ios" 54 | }, 55 | { 56 | "size" : "1024x768", 57 | "idiom" : "ios-marketing", 58 | "filename" : "10-iTunesArtwork@2x_r1_c1.png", 59 | "scale" : "1x", 60 | "platform" : "ios" 61 | } 62 | ], 63 | "info" : { 64 | "version" : 1, 65 | "author" : "xcode" 66 | } 67 | } -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-27x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-27x20@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-27x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-27x20@3x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPadAir-67x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPadAir-67x50@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPadAir-74x55@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPadAir-74x55@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPhone-60x45@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPhone-60x45@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPhone-60x45@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-app-iPhone-60x45@3x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-transcript-32x24@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-transcript-32x24@2x.png -------------------------------------------------------------------------------- /SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-transcript-32x24@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/SamplerStickerPack/Stickers.xcassets/iMessage App Icon.stickersiconset/icon-messages-transcript-32x24@3x.png -------------------------------------------------------------------------------- /iOS-10-Sampler.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS-10-Sampler.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /iOS-10-Sampler.xcodeproj/xcuserdata/shuichi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | SamplerStickerPack.xcscheme 8 | 9 | orderHint 10 | 1 11 | 12 | iOS-10-Sampler.xcscheme 13 | 14 | orderHint 15 | 0 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 8A1CC38B1D7AC22E00562709 21 | 22 | primary 23 | 24 | 25 | 8AB430541D7A6B4900A3BD98 26 | 27 | primary 28 | 29 | 30 | 8AB430681D7A6B4A00A3BD98 31 | 32 | primary 33 | 34 | 35 | 8AB430731D7A6B4A00A3BD98 36 | 37 | primary 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /iOS-10-Sampler/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/10-iTunesArtwork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/10-iTunesArtwork.png -------------------------------------------------------------------------------- /iOS-10-Sampler/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 | "size" : "29x29", 15 | "idiom" : "iphone", 16 | "filename" : "Icon-App-29x29@2x.png", 17 | "scale" : "2x" 18 | }, 19 | { 20 | "size" : "29x29", 21 | "idiom" : "iphone", 22 | "filename" : "Icon-App-29x29@3x.png", 23 | "scale" : "3x" 24 | }, 25 | { 26 | "size" : "40x40", 27 | "idiom" : "iphone", 28 | "filename" : "Icon-App-40x40@2x.png", 29 | "scale" : "2x" 30 | }, 31 | { 32 | "size" : "40x40", 33 | "idiom" : "iphone", 34 | "filename" : "Icon-App-40x40@3x.png", 35 | "scale" : "3x" 36 | }, 37 | { 38 | "size" : "60x60", 39 | "idiom" : "iphone", 40 | "filename" : "Icon-App-60x60@2x.png", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "size" : "60x60", 45 | "idiom" : "iphone", 46 | "filename" : "Icon-App-60x60@3x.png", 47 | "scale" : "3x" 48 | }, 49 | { 50 | "size" : "1024x1024", 51 | "idiom" : "ios-marketing", 52 | "filename" : "10-iTunesArtwork.png", 53 | "scale" : "1x" 54 | } 55 | ], 56 | "info" : { 57 | "version" : 1, 58 | "author" : "xcode" 59 | } 60 | } -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOS-10-Sampler/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 | } -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/audio.imageset/audio@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/audio.imageset/audio@2x.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/bgm.dataset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "data" : [ 7 | { 8 | "idiom" : "universal", 9 | "filename" : "bgm_2.aif" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/bgm.dataset/bgm_2.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/bgm.dataset/bgm_2.aif -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/sierra.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "sierra.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOS-10-Sampler/Assets.xcassets/sierra.imageset/sierra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Assets.xcassets/sierra.imageset/sierra.png -------------------------------------------------------------------------------- /iOS-10-Sampler/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | iOS 10 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSCameraUsageDescription 26 | to take photos and video 27 | NSMicrophoneUsageDescription 28 | Your microphone will be used to record your speech when you press the "Start Recording" button. 29 | NSPhotoLibraryUsageDescription 30 | to save photos and videos to your Photo Library 31 | NSSpeechRecognitionUsageDescription 32 | Speech recognition will be used to determine which words you speak into this device's microphone. 33 | UILaunchStoryboardName 34 | LaunchScreen 35 | UIMainStoryboardFile 36 | Main 37 | NSLocationWhenInUseUsageDescription 38 | Proactive sample needs your location to create a map item 39 | NSUserActvityTypes 40 | 41 | com.shu223.iOS-10-Sampler.proactive 42 | 43 | UIRequiredDeviceCapabilities 44 | 45 | armv7 46 | 47 | UISupportedInterfaceOrientations 48 | 49 | UIInterfaceOrientationPortrait 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/movies/superquest.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/movies/superquest.mp4 -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/movies/superquest_attack.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/movies/superquest_attack.mp4 -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_1_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_10_tower_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_1_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_2_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_3_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_4_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_5_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_6_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_7_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_8_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_1_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_9_tower_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_mixed_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_softmax.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/bias_softmax.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_1_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_10_tower_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_1_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_2_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_3_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_4_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_5_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_6_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_1_conv_4.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_7_tower_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv_3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_1_conv_3.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_8_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_1_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_mixed_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_9_tower_mixed_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_1_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_1_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_1_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_1_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_1_conv_2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_1_conv_2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_2_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_2_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_conv.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_conv.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_conv_1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_mixed_tower_conv_1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_softmax.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/batch_normalized_binaries/weights_softmax.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/bias_conv1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/bias_conv1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/bias_conv2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/bias_conv2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/bias_fc1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/bias_fc1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/bias_fc2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/bias_fc2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/weights_conv1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/weights_conv1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/weights_conv2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/weights_conv2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/weights_fc1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/weights_fc1.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/network_params/deep_weights/weights_fc2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/network_params/deep_weights/weights_fc2.dat -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/plists/iOS10AddedFonts.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Futura-Bold 6 | AmericanTypewriter-Semibold 7 | MyanmarSangamMN-Bold 8 | MyanmarSangamMN 9 | 10 | 11 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Resources/sounds/superquest_levelup.m4a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shu223/iOS-10-Sampler/1524f3c2f71dac72269a1fdbf45bc8d4ddde6169/iOS-10-Sampler/Resources/sounds/superquest_levelup.m4a -------------------------------------------------------------------------------- /iOS-10-Sampler/RootViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RootViewCell.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class RootViewCell: UITableViewCell { 12 | 13 | @IBOutlet private weak var titleLabel: UILabel! 14 | @IBOutlet private weak var detailLabel: UILabel! 15 | 16 | override func awakeFromNib() { 17 | super.awakeFromNib() 18 | } 19 | 20 | override func setSelected(_ selected: Bool, animated: Bool) { 21 | super.setSelected(selected, animated: animated) 22 | } 23 | 24 | func showSample(_ sample: Sample) { 25 | titleLabel.text = sample.title 26 | detailLabel.text = sample.detail 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /iOS-10-Sampler/RootViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class RootViewController: UITableViewController { 12 | 13 | private let dataSource = SampleDataSource() 14 | 15 | override func viewDidLoad() { 16 | super.viewDidLoad() 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | } 22 | 23 | 24 | // MARK: UITableViewDataSource 25 | 26 | override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 27 | return dataSource.samples.count 28 | } 29 | 30 | override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 31 | guard let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) as? RootViewCell else {fatalError()} 32 | 33 | let sample = dataSource.samples[(indexPath as NSIndexPath).row] 34 | cell.showSample(sample) 35 | 36 | return cell 37 | } 38 | 39 | // MARK: UITableViewDelegate 40 | 41 | override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { 42 | return UITableView.automaticDimension 43 | } 44 | 45 | override func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat { 46 | return UITableView.automaticDimension 47 | } 48 | 49 | override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { 50 | let sample = dataSource.samples[(indexPath as NSIndexPath).row] 51 | 52 | navigationController?.pushViewController(sample.controller(), animated: true) 53 | 54 | tableView.deselectRow(at: indexPath, animated: true) 55 | } 56 | 57 | } 58 | 59 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/AttributedSpeechViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AttributedSpeechViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AVFoundation 11 | 12 | class AttributedSpeechViewController: UIViewController { 13 | 14 | @IBOutlet private weak var label: UILabel! 15 | 16 | private let speech = AVSpeechSynthesizer() 17 | private let baseStr = "Tsutsumi" 18 | private var attributedStr: NSMutableAttributedString! 19 | private var utterance: AVSpeechUtterance! 20 | 21 | override func viewDidLoad() { 22 | super.viewDidLoad() 23 | 24 | attributedStr = NSMutableAttributedString(string: baseStr) 25 | let rangeAll = NSMakeRange(0, baseStr.count) 26 | attributedStr.addAttribute(NSAttributedString.Key(rawValue: AVSpeechSynthesisIPANotationAttribute), value: "tən.tən.mi", range: rangeAll) 27 | updateUtterance(attributed: false) 28 | } 29 | 30 | override func didReceiveMemoryWarning() { 31 | super.didReceiveMemoryWarning() 32 | } 33 | 34 | private func updateUtterance(attributed: Bool) { 35 | if attributed { 36 | utterance = AVSpeechUtterance(attributedString: attributedStr) 37 | label.text = baseStr + " (attributed)" 38 | } else { 39 | utterance = AVSpeechUtterance(string: baseStr) 40 | label.text = baseStr 41 | } 42 | } 43 | 44 | // ========================================================================= 45 | // MARK: - Actions 46 | 47 | @IBAction func speechBtnTapped(sender: UIButton) { 48 | if speech.isSpeaking { 49 | print("already speaking...") 50 | return 51 | } 52 | speech.speak(utterance) 53 | } 54 | 55 | @IBAction func switchChanged(sender: UISwitch) { 56 | updateUtterance(attributed: sender.isOn) 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/AudioFadeInOut.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/AudioFadeInOutViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AudioFadeInOutViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AVFoundation 11 | 12 | class AudioFadeInOutViewController: UIViewController { 13 | 14 | var player: AVAudioPlayer! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | guard let asset = NSDataAsset(name: "bgm") else {fatalError()} 20 | do { 21 | player = try AVAudioPlayer(data: asset.data) 22 | } 23 | catch { 24 | fatalError() 25 | } 26 | player.numberOfLoops = -1 27 | player.volume = 0 28 | 29 | print(player.format) // New 30 | 31 | player.play() 32 | } 33 | 34 | override func didReceiveMemoryWarning() { 35 | super.didReceiveMemoryWarning() 36 | } 37 | 38 | @IBAction func playSwitchChanged(sender: UISwitch) { 39 | if sender.isOn { 40 | // Fade In 41 | player.setVolume(1, fadeDuration: 3) 42 | } else { 43 | // Fade Out 44 | player.setVolume(0, fadeDuration: 3) 45 | } 46 | 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/CIFilterExtension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CIFilterExtension.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import CoreImage 11 | 12 | extension CIFilter { 13 | func categories() -> [String] { 14 | guard let categories = attributes[kCIAttributeFilterCategories] as? [String] else {fatalError()} 15 | return categories 16 | } 17 | 18 | func available_iOS() -> Int { 19 | guard let versionStr = attributes[kCIAttributeFilterAvailable_iOS] as? String else {return 0} 20 | guard let versionInt = Int(versionStr) else {return 0} 21 | return versionInt 22 | } 23 | 24 | static func names(available_iOS: Int, category: String?, exceptCategories: [String]? = nil) -> [String] { 25 | let names = CIFilter.filterNames(inCategory: category).filter { (name) -> Bool in 26 | guard let filter = CIFilter(name: name) else {fatalError()} 27 | 28 | if let exceptCategories = exceptCategories { 29 | for aCategory in filter.categories() where exceptCategories.contains(aCategory) == true { 30 | return false 31 | } 32 | } 33 | 34 | if filter.available_iOS() == available_iOS { 35 | return true 36 | } else { 37 | return false 38 | } 39 | } 40 | return names 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/Fonts.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/FontsViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FontsViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/10/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class FontsViewController: UITableViewController { 12 | 13 | private var fontNames: [String] = [] 14 | 15 | override func viewDidLoad() { 16 | super.viewDidLoad() 17 | 18 | guard let path = Bundle.main.path(forResource: "iOS10AddedFonts", ofType: "plist") else {fatalError()} 19 | guard let names = NSArray(contentsOfFile: path) as? [String] else {fatalError()} 20 | fontNames = names 21 | } 22 | 23 | override func didReceiveMemoryWarning() { 24 | super.didReceiveMemoryWarning() 25 | } 26 | 27 | // ========================================================================= 28 | // MARK: - UITableViewDataSource 29 | 30 | override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 31 | return fontNames.count 32 | } 33 | 34 | override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 35 | let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) 36 | 37 | let fontName = fontNames[indexPath.row] 38 | 39 | cell.textLabel?.text = fontName 40 | cell.textLabel?.font = UIFont(name: fontName, size: cell.textLabel!.font.pointSize) 41 | 42 | return cell 43 | } 44 | 45 | // ========================================================================= 46 | // MARK: - UITableViewDelegate 47 | 48 | override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { 49 | tableView.deselectRow(at: indexPath, animated: true) 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/HapticViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HapticViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 2017/01/03. 6 | // Copyright © 2017 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class HapticViewController: UIViewController { 12 | 13 | private var impactFeedbacker: UIImpactFeedbackGenerator! 14 | private let notificationFeedbacker = UINotificationFeedbackGenerator() 15 | private let selectionFeedbacker = UISelectionFeedbackGenerator() 16 | 17 | override func viewDidLoad() { 18 | super.viewDidLoad() 19 | notificationFeedbacker.prepare() 20 | selectionFeedbacker.prepare() 21 | } 22 | 23 | override func didReceiveMemoryWarning() { 24 | super.didReceiveMemoryWarning() 25 | } 26 | 27 | @IBAction func impactBtnTapped(_ sender: UIButton) { 28 | guard let style = UIImpactFeedbackGenerator.FeedbackStyle(rawValue: sender.tag) else {fatalError()} 29 | impactFeedbacker = UIImpactFeedbackGenerator(style: style) 30 | impactFeedbacker.prepare() 31 | impactFeedbacker.impactOccurred() 32 | } 33 | 34 | @IBAction func notificationBtnTapped(_ sender: UIButton) { 35 | guard let type = UINotificationFeedbackGenerator.FeedbackType(rawValue: sender.tag) else {fatalError()} 36 | notificationFeedbacker.notificationOccurred(type) 37 | } 38 | 39 | @IBAction func sliderChanged(_ sender: UISlider) { 40 | selectionFeedbacker.selectionChanged() 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/Inception3Net+result.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Inception3Net+label.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/13/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import MetalKit 11 | import Accelerate 12 | 13 | extension Inception3Net { 14 | 15 | /** 16 | This function reads the output probabilities from sftImage to CPU, sorts them and gets the label of top 5 probabilities 17 | 18 | - Returns: 19 | A string with top-5 valid labels ready to be put in predictLabel 20 | */ 21 | func getResults() -> [(String, Float)] { 22 | 23 | // gather measurements of MPSImage to use to get out probabilities 24 | let width = sftImage.width 25 | let height = sftImage.height 26 | let numSlices = (sftImage.featureChannels + 3)/4; 27 | let count = sftImage.texture.width*sftImage.texture.height*sftImage.featureChannels 28 | let channelsPerSlice = 4 // textures are in RGBA format 29 | 30 | var output = [UInt16](repeating: 3 , count: count) 31 | var outputF = [Float](repeating: 0.6 , count: count) 32 | 33 | // get probabilities of each label in UIn16 array we use this to contain float16s 34 | for i in 0...size*width*channelsPerSlice, 37 | bytesPerImage: 0, 38 | from: MTLRegion(origin: MTLOrigin(x: 0, y: 0, z: 0), 39 | size: MTLSize(width: width, height: height, depth: 1)), 40 | mipmapLevel: 0, 41 | slice: i) 42 | } 43 | 44 | // use VImage to convert Float16 to Float32 so we can use them 45 | var fullResultVImagebuf = vImage_Buffer(data: &outputF, height: 1, width: UInt(count), rowBytes: count*4) 46 | var halfResultVImagebuf = vImage_Buffer(data: &output, height: 1, width: UInt(count), rowBytes: count*2) 47 | 48 | if(vImageConvert_Planar16FtoPlanarF(&halfResultVImagebuf, &fullResultVImagebuf, 0) != kvImageNoError){ 49 | print("Error in vImage") 50 | } 51 | 52 | // copy output probabilities into an array of touples of (probability, index) 53 | var indexedProbabilities = [(Float, Int)]() 54 | for i in 0.. Bool in 60 | return a.prob > b.prob 61 | } 62 | 63 | // get top 5 valid guesses and add them to return string with top 5 guesses 64 | var results: [(String, Float)] = [] 65 | var j = 0 66 | var i = 0 67 | while( j < 5){ 68 | let (prob, index) = indexedProbabilities[i] 69 | // labels at 0 and 1001 to 1008 are invalid (no labels were provided for these indices) so we ignore these 70 | if((index < 1001) && (index > 0)){ 71 | results.append((labels[index], prob)) 72 | j = j + 1 73 | } 74 | i = i + 1 75 | } 76 | return results 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/Looper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Looper.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/13/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import AVFoundation 10 | 11 | class Looper: NSObject { 12 | 13 | private var playerItem: AVPlayerItem! 14 | private let player = AVQueuePlayer() 15 | private let playerLayer = AVPlayerLayer() 16 | private var playerLooper: AVPlayerLooper! 17 | 18 | required init(videoURL: URL) { 19 | super.init() 20 | 21 | playerLayer.player = player 22 | playerItem = AVPlayerItem(url: videoURL) 23 | } 24 | 25 | func start(in parentLayer: CALayer) { 26 | start(in: parentLayer, startRate: 0, endRate: 1) 27 | } 28 | 29 | @discardableResult func start(in parentLayer: CALayer, startRate: Double, endRate: Double) -> Bool { 30 | guard startRate >= 0.0 && endRate >= 0.0 && 31 | startRate <= 1.0 && endRate <= 1.0 && 32 | startRate < endRate else { 33 | return false 34 | } 35 | let duration = playerItem.asset.duration 36 | let start = CMTime(seconds: duration.seconds * startRate, preferredTimescale: duration.timescale) 37 | let end = CMTime(seconds: duration.seconds * endRate, preferredTimescale: duration.timescale) 38 | let timeRange = CMTimeRange(start: start, end: end) 39 | playerLooper = AVPlayerLooper(player: player, templateItem: playerItem, timeRange: timeRange) 40 | 41 | // Getting the natural size of the video 42 | // http://stackoverflow.com/questions/14466842/ios-6-avplayeritem-presentationsize-returning-zero-naturalsize-method-deprec 43 | let videoTracks = playerItem.asset.tracks(withMediaType: .video) 44 | guard let videoSize = videoTracks.first?.naturalSize else {fatalError()} 45 | 46 | parentLayer.addSublayer(playerLayer) 47 | playerLayer.frame.size = videoSize 48 | playerLayer.position = CGPoint(x: parentLayer.frame.midX, y: parentLayer.frame.midY) 49 | player.play() 50 | 51 | return true 52 | } 53 | 54 | func stop() { 55 | player.pause() 56 | 57 | if let playerLooper = playerLooper { 58 | playerLooper.disableLooping() 59 | } 60 | playerLooper = nil 61 | 62 | playerLayer.removeFromSuperlayer() 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/LooperViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LooperViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/13/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class LooperViewController: UIViewController { 12 | 13 | private var looper: Looper! 14 | 15 | @IBOutlet private weak var minSlider: UISlider! 16 | @IBOutlet private weak var maxSlider: UISlider! 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | 21 | guard let videoPath = Bundle.main.path(forResource: "superquest_attack", ofType: "mp4") else {fatalError()} 22 | let videoUrl = URL(fileURLWithPath: videoPath) 23 | looper = Looper(videoURL: videoUrl) 24 | } 25 | 26 | override func viewWillAppear(_ animated: Bool) { 27 | super.viewWillAppear(animated) 28 | looper.start(in: view.layer) 29 | } 30 | 31 | override func viewWillDisappear(_ animated: Bool) { 32 | super.viewWillDisappear(animated) 33 | looper.stop() 34 | } 35 | 36 | override func didReceiveMemoryWarning() { 37 | super.didReceiveMemoryWarning() 38 | } 39 | 40 | @IBAction func sliderChanged(sender: UISlider) { 41 | looper.stop() 42 | let result = looper.start(in: view.layer, 43 | startRate: Double(minSlider.value), 44 | endRate: Double(maxSlider.value)) 45 | if !result { 46 | showAlert(title: "Invalid value", message: "Start or End seem to be wrong.") 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/Message+CoreDataClass.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Message+CoreDataClass.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Noritaka Kamiya on 2016/08/31. 6 | // Copyright © 2016 Noritaka Kamiya. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import CoreData 11 | 12 | @objc(Message) 13 | public class Message: NSManagedObject { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/Message+CoreDataProperties.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Message+CoreDataProperties.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Noritaka Kamiya on 2016/08/31. 6 | // Copyright © 2016 Noritaka Kamiya. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import CoreData 11 | 12 | extension Message { 13 | 14 | @nonobjc public class func fetchRequest() -> NSFetchRequest { 15 | return NSFetchRequest(entityName: "Message"); 16 | } 17 | 18 | @NSManaged public var body: String? 19 | @NSManaged public var createdAt: NSDate? 20 | 21 | } 22 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/MetalCNNBasicApple/DrawView.swift: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2016 Apple Inc. All Rights Reserved. 3 | See LICENSE.txt for this sample’s licensing information 4 | 5 | Abstract: 6 | This file has routines for drwaing and detecting user touches (input digit) 7 | */ 8 | 9 | import UIKit 10 | 11 | /** 12 | This class is used to handle the drawing in the DigitView so we can get user input digit, 13 | This class doesn't really have an MPS or Metal going in it, it is just used to get user input 14 | */ 15 | class DrawView: UIView { 16 | 17 | // some parameters of how thick a line to draw 15 seems to work 18 | // and we have white drawings on black background just like MNIST needs its input 19 | var linewidth = CGFloat(15) { didSet { setNeedsDisplay() } } 20 | var color = UIColor.white { didSet { setNeedsDisplay() } } 21 | 22 | // we will keep touches made by user in view in these as a record so we can draw them. 23 | var lines: [Line] = [] 24 | var lastPoint: CGPoint! 25 | 26 | override func touchesBegan(_ touches: Set, with event: UIEvent?) { 27 | lastPoint = touches.first!.location(in: self) 28 | } 29 | 30 | override func touchesMoved(_ touches: Set, with event: UIEvent?) { 31 | let newPoint = touches.first!.location(in: self) 32 | // keep all lines drawn by user as touch in record so we can draw them in view 33 | lines.append(Line(start: lastPoint, end: newPoint)) 34 | lastPoint = newPoint 35 | // make a draw call 36 | setNeedsDisplay() 37 | } 38 | 39 | override func draw(_ rect: CGRect) { 40 | super.draw(rect) 41 | 42 | let drawPath = UIBezierPath() 43 | drawPath.lineCapStyle = .round 44 | 45 | for line in lines{ 46 | drawPath.move(to: line.start) 47 | drawPath.addLine(to: line.end) 48 | } 49 | 50 | drawPath.lineWidth = linewidth 51 | color.set() 52 | drawPath.stroke() 53 | } 54 | 55 | 56 | /** 57 | This function gets the pixel data of the view so we can put it in MTLTexture 58 | 59 | - Returns: 60 | Void 61 | */ 62 | func getViewContext() -> CGContext? { 63 | // our network takes in only grayscale images as input 64 | let colorSpace:CGColorSpace = CGColorSpaceCreateDeviceGray() 65 | 66 | // we have 3 channels no alpha value put in the network 67 | let bitmapInfo = CGImageAlphaInfo.none.rawValue 68 | 69 | // this is where our view pixel data will go in once we make the render call 70 | let context = CGContext(data: nil, width: 28, height: 28, bitsPerComponent: 8, bytesPerRow: 28, space: colorSpace, bitmapInfo: bitmapInfo) 71 | 72 | // scale and translate so we have the full digit and in MNIST standard size 28x28 73 | context!.translateBy(x: 0 , y: 28) 74 | context!.scaleBy(x: 28/self.frame.size.width, y: -28/self.frame.size.height) 75 | 76 | // put view pixel data in context 77 | self.layer.render(in: context!) 78 | 79 | return context 80 | } 81 | } 82 | 83 | /** 84 | 2 points can give a line and this class is just for that purpose, it keeps a record of a line 85 | */ 86 | class Line{ 87 | var start, end: CGPoint 88 | 89 | init(start: CGPoint, end: CGPoint) { 90 | self.start = start 91 | self.end = end 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/MetalCNNBasicApple/SlimMPSCNNFullyConnected.h: -------------------------------------------------------------------------------- 1 | // 2 | // SlimMPSCNNFullyConnected.h 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 6/9/18. 6 | // Copyright © 2018 Shuichi Tsutsumi, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | @import MetalPerformanceShaders; 11 | 12 | @interface SlimMPSCNNFullyConnected : MPSCNNFullyConnected 13 | 14 | - (instancetype)initWithKernelWidth:(NSUInteger)kernelWidth 15 | kernelHeight:(NSUInteger)kernelHeight 16 | inputFeatureChannels:(NSUInteger)inputFeatureChannels 17 | outputFeatureChannels:(NSUInteger)outputFeatureChannels 18 | neuronFilter:(MPSCNNNeuron *)neuronFilter 19 | device:(id)device 20 | kernelParamsBinaryName:(NSString *)kernelParamsBinaryName; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/MetalCNNBasicApple/SlimMPSCNNFullyConnected.m: -------------------------------------------------------------------------------- 1 | // 2 | // SlimMPSCNNFullyConnected.m 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 6/9/18. 6 | // Copyright © 2018 Shuichi Tsutsumi, Inc. All rights reserved. 7 | // 8 | 9 | #import "SlimMPSCNNFullyConnected.h" 10 | #include 11 | 12 | @interface SlimMPSCNNFullyConnected () 13 | { 14 | BOOL bn; 15 | } 16 | @end 17 | 18 | 19 | @implementation SlimMPSCNNFullyConnected 20 | 21 | - (instancetype)initWithKernelWidth:(NSUInteger)kernelWidth 22 | kernelHeight:(NSUInteger)kernelHeight 23 | inputFeatureChannels:(NSUInteger)inputFeatureChannels 24 | outputFeatureChannels:(NSUInteger)outputFeatureChannels 25 | neuronFilter:(MPSCNNNeuron *)neuronFilter 26 | device:(id)device 27 | kernelParamsBinaryName:(NSString *)kernelParamsBinaryName 28 | { 29 | // calculate the size of weights and bias required to be memory mapped into memory 30 | NSUInteger sizeBias = outputFeatureChannels * sizeof(float); 31 | NSUInteger sizeWeights = inputFeatureChannels * kernelHeight * kernelWidth * outputFeatureChannels * sizeof(float); 32 | 33 | // get the url to this layer's weights and bias 34 | NSString *filenameW = [NSString stringWithFormat:@"weights_%@", kernelParamsBinaryName]; 35 | NSString *filenameB = [NSString stringWithFormat:@"bias_%@", kernelParamsBinaryName]; 36 | NSString *wtPath = [[NSBundle mainBundle] pathForResource:filenameW ofType:@"dat"]; 37 | NSString *bsPath = [[NSBundle mainBundle] pathForResource:filenameB ofType:@"dat"]; 38 | NSAssert1(wtPath, @"Error: failed to find file %@", filenameW); 39 | NSAssert1(bsPath, @"Error: failed to find file %@", filenameB); 40 | 41 | // open file descriptors in read-only mode to parameter files 42 | int fd_w = open([wtPath UTF8String], O_RDONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); 43 | int fd_b = open([bsPath UTF8String], O_RDONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); 44 | NSAssert1(fd_w != -1, @"Error: failed to open output file at %@", wtPath); 45 | NSAssert1(fd_b != -1, @"Error: failed to open output file at %@", bsPath); 46 | 47 | // memory map the parameters 48 | void *hdrW = mmap(nil, sizeWeights, PROT_READ, MAP_FILE | MAP_SHARED, fd_w, 0); 49 | void *hdrB = mmap(nil, sizeBias, PROT_READ, MAP_FILE | MAP_SHARED, fd_b, 0); 50 | 51 | // cast Void pointers to Float 52 | float *w = hdrW; 53 | float *b = hdrB; 54 | 55 | MPSCNNConvolutionDescriptor *convDesc; 56 | convDesc = [MPSCNNConvolutionDescriptor cnnConvolutionDescriptorWithKernelWidth:kernelWidth 57 | kernelHeight:kernelHeight 58 | inputFeatureChannels:inputFeatureChannels 59 | outputFeatureChannels:outputFeatureChannels 60 | neuronFilter:neuronFilter]; 61 | self = [super initWithDevice:device 62 | convolutionDescriptor:convDesc 63 | kernelWeights:w 64 | biasTerms:b 65 | flags:MPSCNNConvolutionFlagsNone]; 66 | if (self) { 67 | self.destinationFeatureChannelOffset = 0; 68 | } 69 | 70 | NSAssert1(munmap(hdrW, sizeWeights) == 0, @"error %s" ,"hdrW"); 71 | NSAssert1(munmap(hdrB, sizeBias) == 0, @"error %s" ,"hdrB"); 72 | 73 | close(fd_w); 74 | close(fd_b); 75 | return self; 76 | } 77 | 78 | @end 79 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/MetalCNNBasicViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MetalCNNBasicViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MetalPerformanceShaders 11 | 12 | class MetalCNNBasicViewController: UIViewController { 13 | 14 | var commandQueue: MTLCommandQueue! 15 | var device: MTLDevice! 16 | 17 | // Networks we have 18 | var network: MNISTDeepCNN! 19 | 20 | // MNIST dataset image parameters 21 | let inputWidth = 28 22 | let inputHeight = 28 23 | 24 | @IBOutlet private weak var digitView: DrawView! 25 | @IBOutlet private weak var predictionLabel: UILabel! 26 | @IBOutlet private weak var clearBtn: UIButton! 27 | 28 | 29 | override func viewDidLoad() { 30 | super.viewDidLoad() 31 | 32 | clearBtn.isHidden = true 33 | predictionLabel.text = nil 34 | 35 | // Load default device. 36 | guard let device = MTLCreateSystemDefaultDevice() else { 37 | showAlert(title: "Not Supported", message: "Metal is not supported on current device", handler: { (action) in 38 | self.navigationController!.popViewController(animated: true) 39 | }) 40 | return 41 | } 42 | 43 | // Make sure the current device supports MetalPerformanceShaders. 44 | guard MPSSupportsMTLDevice(device) else { 45 | showAlert(title: "Not Supported", message: "MetalPerformanceShaders is not supported on current device", handler: { (action) in 46 | self.navigationController!.popViewController(animated: true) 47 | }) 48 | return 49 | } 50 | 51 | // Create new command queue. 52 | commandQueue = device.makeCommandQueue() 53 | 54 | // initialize the networks we shall use to detect digits 55 | network = MNISTDeepCNN(withCommandQueue: commandQueue) 56 | } 57 | 58 | @IBAction func clearBtnTapped(sender: UIButton) { 59 | // clear the digitview 60 | digitView.lines = [] 61 | digitView.setNeedsDisplay() 62 | predictionLabel.text = nil 63 | clearBtn.isHidden = true 64 | } 65 | 66 | @IBAction func detectBtnTapped(sender: UIButton) { 67 | // get the digitView context so we can get the pixel values from it to intput to network 68 | guard let context = digitView.getViewContext() else {return} 69 | 70 | // validate NeuralNetwork was initialized properly 71 | assert(network != nil) 72 | 73 | // putting input into MTLTexture in the MPSImage 74 | let region = MTLRegion(origin: MTLOrigin(x: 0, y: 0, z: 0), 75 | size: MTLSize(width: inputWidth, height: inputHeight, depth: 1)); 76 | network.srcImage.texture.replace( 77 | region: region, 78 | mipmapLevel: 0, 79 | slice: 0, 80 | withBytes: context.data!, 81 | bytesPerRow: inputWidth, 82 | bytesPerImage: 0) 83 | // run the network forward pass 84 | let label = network.forward() 85 | 86 | // show the prediction 87 | predictionLabel.text = "\(label)" 88 | clearBtn.isHidden = false 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/PersistentContainerViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PersitentContainerViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Noritaka Kamiya on 2016/08/31. 6 | // Copyright © 2016 Noritaka Kamiya. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import CoreData 11 | 12 | let persistentContainer: NSPersistentContainer = { 13 | let container = NSPersistentContainer(name: "iOS10Sampler") 14 | container.loadPersistentStores { storeDescription, error in 15 | if let error = error as NSError? { 16 | fatalError("Unresolved error \(error), \(error.userInfo)") 17 | } 18 | } 19 | return container 20 | }() 21 | 22 | class PersitentContainerViewController: UITableViewController { 23 | 24 | var messages: [Message] = [] 25 | 26 | @IBAction func add(_ sender: AnyObject) { 27 | 28 | let alertController = UIAlertController(title: "Add message", message: "", preferredStyle: .alert) 29 | 30 | alertController.addTextField(configurationHandler: nil) 31 | alertController.addAction(UIAlertAction(title: "Add", style: .default) { [weak self] action in 32 | let text = alertController.textFields?.first?.text ?? "" 33 | self?.create(body: text) 34 | self?.fetch() 35 | }) 36 | 37 | present(alertController, animated: true) 38 | } 39 | 40 | func fetch() { 41 | let request: NSFetchRequest = Message.fetchRequest() 42 | request.returnsObjectsAsFaults = false 43 | request.sortDescriptors = [NSSortDescriptor(key: "createdAt", ascending: false)] 44 | 45 | let asyncRequest = NSAsynchronousFetchRequest(fetchRequest: request) { result in 46 | self.messages = result.finalResult ?? [] 47 | self.tableView.reloadData() 48 | } 49 | 50 | try! persistentContainer.viewContext.execute(asyncRequest) 51 | } 52 | 53 | func create(body: String) { 54 | let context = persistentContainer.viewContext 55 | let message = NSEntityDescription.insertNewObject(forEntityName: "Message", into: context) as! Message 56 | message.body = body 57 | message.createdAt = NSDate() 58 | 59 | try! context.save() 60 | } 61 | 62 | func delete(at index: Int) { 63 | let context = persistentContainer.viewContext 64 | let message = messages.remove(at: index) 65 | 66 | context.delete(message) 67 | 68 | try! context.save() 69 | } 70 | 71 | override func viewWillAppear(_ animated: Bool) { 72 | super.viewWillAppear(animated) 73 | 74 | fetch() 75 | } 76 | 77 | override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 78 | let cell = tableView.dequeueReusableCell(withIdentifier: "cell")! 79 | 80 | let message = messages[indexPath.row] 81 | cell.textLabel!.text = message.body 82 | cell.detailTextLabel!.text = String(describing: message.createdAt!) 83 | 84 | return cell 85 | } 86 | 87 | override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool { 88 | return true 89 | } 90 | 91 | override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) { 92 | switch editingStyle { 93 | case .delete: 94 | delete(at: indexPath.row) 95 | tableView.deleteRows(at: [indexPath], with: .automatic) 96 | default: 97 | break 98 | } 99 | } 100 | 101 | override func numberOfSections(in tableView: UITableView) -> Int { 102 | return 1 103 | } 104 | 105 | override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 106 | return messages.count 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/PreviewInteractionPopViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PreviewInteractionPopViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/13/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class PreviewInteractionPopViewController: UIViewController { 12 | 13 | internal var animator: UIViewPropertyAnimator! 14 | 15 | @IBOutlet weak var progressLabel: UILabel! 16 | @IBOutlet weak var statusLabel: UILabel! 17 | @IBOutlet private weak var effectView: UIVisualEffectView! 18 | 19 | override func viewDidLoad() { 20 | super.viewDidLoad() 21 | progressLabel.text = nil 22 | statusLabel.text = nil 23 | 24 | animator = UIViewPropertyAnimator(duration: 0, curve: .linear) { 25 | self.effectView.effect = nil 26 | } 27 | } 28 | 29 | override func viewWillAppear(_ animated: Bool) { 30 | super.viewWillAppear(animated) 31 | animator.fractionComplete = 0 32 | } 33 | 34 | override func didReceiveMemoryWarning() { 35 | super.didReceiveMemoryWarning() 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/PreviewInteractionViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PreviewInteractionViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/13/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class PreviewInteractionViewController: UIViewController, UIPreviewInteractionDelegate { 12 | 13 | private var previewInteraction: UIPreviewInteraction! 14 | private var popVC: PreviewInteractionPopViewController? 15 | 16 | 17 | override func viewDidLoad() { 18 | super.viewDidLoad() 19 | previewInteraction = UIPreviewInteraction(view: view) 20 | previewInteraction.delegate = self 21 | } 22 | 23 | override func didReceiveMemoryWarning() { 24 | super.didReceiveMemoryWarning() 25 | } 26 | 27 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 28 | if let vc = segue.destination as? PreviewInteractionPopViewController { 29 | popVC = vc 30 | } 31 | } 32 | 33 | // ========================================================================= 34 | // MARK: - UIPreviewInteractionDelegate 35 | 36 | func previewInteraction(_ previewInteraction: UIPreviewInteraction, didUpdatePreviewTransition transitionProgress: CGFloat, ended: Bool) { 37 | // print("\(self.classForCoder)/" + #function + ", transition:\(transitionProgress), ended:\(ended)") 38 | if popVC == nil { 39 | performSegue(withIdentifier: "Pop", sender: nil) 40 | } 41 | guard let popVC = popVC else {fatalError()} 42 | popVC.progressLabel.text = String(format: "%.0f%", transitionProgress * 100) 43 | 44 | if ended { 45 | popVC.statusLabel.text = "Peek!" 46 | } 47 | } 48 | 49 | func previewInteraction(_ previewInteraction: UIPreviewInteraction, didUpdateCommitTransition transitionProgress: CGFloat, ended: Bool) { 50 | // print("\(self.classForCoder)/" + #function + ", transition:\(transitionProgress), ended:\(ended)") 51 | guard let popVC = popVC else {fatalError()} 52 | popVC.animator.fractionComplete = transitionProgress 53 | popVC.progressLabel.text = String(format: "%.0f%", transitionProgress * 100) 54 | if ended { 55 | popVC.statusLabel.text = "Pop!" 56 | } 57 | } 58 | 59 | func previewInteractionDidCancel(_ previewInteraction: UIPreviewInteraction) { 60 | dismiss(animated: true) { 61 | self.popVC?.statusLabel.text = nil 62 | self.popVC = nil 63 | } 64 | } 65 | 66 | @IBAction func unwindAction(segue: UIStoryboardSegue) { 67 | popVC = nil 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/PreviewView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PreviewView.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/5/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | // [Reference] This sample is based on the Apple's sample "AVCam-iOS". 9 | 10 | import UIKit 11 | import AVFoundation 12 | 13 | class PreviewView: UIView { 14 | var videoPreviewLayer: AVCaptureVideoPreviewLayer { 15 | return layer as! AVCaptureVideoPreviewLayer 16 | } 17 | 18 | var session: AVCaptureSession? { 19 | get { 20 | return videoPreviewLayer.session 21 | } 22 | set { 23 | videoPreviewLayer.session = newValue 24 | } 25 | } 26 | 27 | // MARK: UIView 28 | 29 | override class var layerClass: AnyClass { 30 | return AVCaptureVideoPreviewLayer.self 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/ProactiveViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ProactiveViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/13/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MapKit 11 | import CoreLocation 12 | 13 | class ProactiveViewController: UIViewController, NSUserActivityDelegate, CLLocationManagerDelegate { 14 | 15 | private let locationManager = CLLocationManager() 16 | private var mapItem: MKMapItem! 17 | 18 | @IBOutlet private weak var openinBtn: UIButton! 19 | @IBOutlet private weak var label: UILabel! 20 | 21 | override func viewDidLoad() { 22 | super.viewDidLoad() 23 | 24 | locationManager.delegate = self 25 | locationManager.requestWhenInUseAuthorization() 26 | } 27 | 28 | override func viewWillAppear(_ animated: Bool) { 29 | super.viewWillAppear(animated) 30 | openinBtn.isEnabled = false 31 | label.text = "Getting current location..." 32 | locationManager.requestLocation() 33 | } 34 | 35 | override func didReceiveMemoryWarning() { 36 | super.didReceiveMemoryWarning() 37 | } 38 | 39 | private func createUserActivity() { 40 | let activity = NSUserActivity(activityType: "com.shu223.iOS-10-Sampler.proactive") 41 | 42 | // Enable features 43 | activity.isEligibleForHandoff = false 44 | activity.isEligibleForSearch = true 45 | activity.isEligibleForPublicIndexing = true 46 | 47 | // Set delegate 48 | activity.delegate = self 49 | activity.needsSave = true 50 | 51 | // Provide a title and keywords 52 | activity.title = "iOS-10-Sampler" 53 | activity.keywords = ["ios", "10", "sampler"] 54 | 55 | /* 56 | Use the UIViewController's userActivity property, which is defined in 57 | UIResponder. UIKit will automatically manage this user activity and 58 | make it current when the view controller is present in the view 59 | hierarchy. 60 | */ 61 | userActivity = activity 62 | } 63 | 64 | // ========================================================================= 65 | // MARK: - CLLocationManagerDelegate 66 | func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { 67 | print("\(self.classForCoder)/" + #function) 68 | guard let location = locations.first else { 69 | showAlert(title: "Failed to obtain current location", message: "") 70 | return 71 | } 72 | 73 | let placemark = MKPlacemark(coordinate: location.coordinate) 74 | mapItem = MKMapItem(placemark: placemark) 75 | mapItem.name = "Suggested MapItem" 76 | mapItem.url = URL(string: "https://github.com/shu223") 77 | 78 | createUserActivity() 79 | } 80 | 81 | func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) { 82 | showAlert(title: "Failed to obtain current location", message: error.localizedDescription) 83 | } 84 | 85 | 86 | // ========================================================================= 87 | // MARK: - NSUserActivityDelegate 88 | 89 | override func updateUserActivityState(_ activity: NSUserActivity) { 90 | print("\(self.classForCoder)/" + #function) 91 | if let mapItem = mapItem { 92 | activity.mapItem = mapItem 93 | openinBtn.isEnabled = true 94 | 95 | label.text = "or\nSee App Switcher by double tapping the home button. You can find a suggestion for getting the direction." 96 | } 97 | } 98 | 99 | // ========================================================================= 100 | // MARK: - Actions 101 | 102 | @IBAction func openinBtnTapped(sender: UIButton) { 103 | userActivity?.mapItem.openInMaps(launchOptions: nil) 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/PropertyAnimatorEffectViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PropertyAnimatorEffectViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/12/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | // Thanks to: https://github.com/manuelCarlos/IOS10-Animate 9 | 10 | import UIKit 11 | 12 | class PropertyAnimatorEffectViewController: UIViewController { 13 | 14 | private var animator: UIViewPropertyAnimator! 15 | 16 | @IBOutlet private weak var effectView: UIVisualEffectView! 17 | @IBOutlet private weak var imageView: UIImageView! 18 | 19 | override func viewDidLoad() { 20 | super.viewDidLoad() 21 | } 22 | 23 | override func viewWillAppear(_ animated: Bool) { 24 | super.viewWillAppear(animated) 25 | animator = UIViewPropertyAnimator(duration: 0, curve: .linear) { 26 | self.effectView.effect = nil 27 | } 28 | } 29 | 30 | override func viewWillDisappear(_ animated: Bool) { 31 | super.viewWillDisappear(animated) 32 | animator.startAnimation() 33 | } 34 | 35 | override func didReceiveMemoryWarning() { 36 | super.didReceiveMemoryWarning() 37 | } 38 | 39 | @IBAction func sliderChanged(sender: UISlider) { 40 | animator.fractionComplete = CGFloat(sender.value) 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/PropertyAnimatorViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PropertyAnimatorViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/10/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class PropertyAnimatorViewController: UIViewController { 12 | 13 | private var targetLocation: CGPoint! 14 | 15 | @IBOutlet private weak var objectView: UIView! 16 | @IBOutlet private weak var springSwitch: UISwitch! 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | objectView.backgroundColor = colorAt(location: objectView.center) 21 | targetLocation = objectView.center 22 | } 23 | 24 | override func didReceiveMemoryWarning() { 25 | super.didReceiveMemoryWarning() 26 | } 27 | 28 | private func colorAt(location: CGPoint) -> UIColor { 29 | let hue: CGFloat = (location.x / UIScreen.main.bounds.width + location.y / UIScreen.main.bounds.height) / 2 30 | return UIColor(hue: hue, saturation: 0.78, brightness: 0.75, alpha: 1) 31 | } 32 | 33 | private func processTouches(_ touches: Set) { 34 | guard let touch = touches.first else {return} 35 | let loc = touch.location(in: view) 36 | 37 | if loc == targetLocation { 38 | return 39 | } 40 | 41 | animateTo(location: loc) 42 | } 43 | 44 | private func animateTo(location: CGPoint) { 45 | var duration: TimeInterval 46 | var timing: UITimingCurveProvider 47 | if !springSwitch.isOn { 48 | duration = 0.4 49 | timing = UICubicTimingParameters(animationCurve: .easeOut) 50 | } else { 51 | duration = 0.6 52 | timing = UISpringTimingParameters(dampingRatio: 0.5) 53 | } 54 | 55 | let animator = UIViewPropertyAnimator( 56 | duration: duration, 57 | timingParameters: timing) 58 | 59 | animator.addAnimations { 60 | self.objectView.center = location 61 | self.objectView.backgroundColor = self.colorAt(location: location) 62 | } 63 | 64 | animator.startAnimation() 65 | 66 | targetLocation = location 67 | } 68 | 69 | // ========================================================================= 70 | // MARK: - Touch handlers 71 | 72 | override func touchesBegan(_ touches: Set, with event: UIEvent?) { 73 | processTouches(touches) 74 | } 75 | 76 | override func touchesMoved(_ touches: Set, with event: UIEvent?) { 77 | processTouches(touches) 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/StickerPack.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/StickerPackViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // StickerPackViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class StickerPackViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | } 16 | 17 | override func didReceiveMemoryWarning() { 18 | super.didReceiveMemoryWarning() 19 | } 20 | 21 | @IBAction func openBtnTapped(sender: UIButton) { 22 | let url = URL(string: "sms:")! 23 | UIApplication.shared.open(url, options: convertToUIApplicationOpenExternalURLOptionsKeyDictionary([:]), completionHandler: nil) 24 | } 25 | 26 | } 27 | 28 | // Helper function inserted by Swift 4.2 migrator. 29 | fileprivate func convertToUIApplicationOpenExternalURLOptionsKeyDictionary(_ input: [String: Any]) -> [UIApplication.OpenExternalURLOptionsKey: Any] { 30 | return Dictionary(uniqueKeysWithValues: input.map { key, value in (UIApplication.OpenExternalURLOptionsKey(rawValue: key), value)}) 31 | } 32 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/TabBadge.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/TabBadgeViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TabBadgeViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/10/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class TabBadgeViewController: UIViewController, UITabBarDelegate { 12 | 13 | var badgeCnt: UInt = 0 14 | @IBOutlet private weak var tabBar: UITabBar! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | tabBar.delegate = self 19 | tabBar.selectedItem = tabBar.items?.first 20 | 21 | // New! 22 | tabBar.unselectedItemTintColor = #colorLiteral(red: 0.9098039269, green: 0.4784313738, blue: 0.6431372762, alpha: 0.4) 23 | 24 | guard let items = tabBar.items else {fatalError()} 25 | for item in items where item != tabBar.selectedItem { 26 | let shadow = NSShadow() 27 | shadow.shadowColor = #colorLiteral(red: 0.501960814, green: 0.501960814, blue: 0.501960814, alpha: 1) 28 | shadow.shadowOffset = CGSize(width: 1, height: 1) 29 | shadow.shadowBlurRadius = 3 30 | let attributes: [String : Any] = [NSAttributedString.Key.font.rawValue: UIFont(name: "Menlo-Bold", size: 30)!, 31 | NSAttributedString.Key.foregroundColor.rawValue: #colorLiteral(red: 0.9098039269, green: 0.4784313738, blue: 0.6431372762, alpha: 1), 32 | NSAttributedString.Key.shadow.rawValue: shadow] 33 | // New! 34 | item.setBadgeTextAttributes(convertToOptionalNSAttributedStringKeyDictionary(attributes), for: .normal) 35 | 36 | // New! 37 | item.badgeColor = UIColor.clear 38 | } 39 | } 40 | 41 | override func didReceiveMemoryWarning() { 42 | super.didReceiveMemoryWarning() 43 | } 44 | 45 | // ========================================================================= 46 | // MARK: - UITabBarDelegate 47 | 48 | func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) { 49 | badgeCnt = 0 50 | item.badgeValue = nil 51 | } 52 | 53 | // ========================================================================= 54 | // MARK: - Actions 55 | 56 | @IBAction func countBtnTapped(sender: UIButton) { 57 | badgeCnt += 1 58 | 59 | guard let items = tabBar.items else {fatalError()} 60 | for item in items where item != tabBar.selectedItem { 61 | item.badgeValue = "\(badgeCnt)" 62 | } 63 | } 64 | } 65 | 66 | // Helper function inserted by Swift 4.2 migrator. 67 | fileprivate func convertToOptionalNSAttributedStringKeyDictionary(_ input: [String: Any]?) -> [NSAttributedString.Key: Any]? { 68 | guard let input = input else { return nil } 69 | return Dictionary(uniqueKeysWithValues: input.map { key, value in (NSAttributedString.Key(rawValue: key), value)}) 70 | } 71 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/UserNotification.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/UserNotificationViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UserNotificationViewController.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/4/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import UserNotifications 11 | 12 | class UserNotificationViewController: UIViewController, UNUserNotificationCenterDelegate { 13 | 14 | private let baseId = "com.shu223.ios10sampler" 15 | private let moviePath = Bundle.main.path(forResource: "superquest", ofType: "mp4")! 16 | private var movieAttachment: UNNotificationAttachment! 17 | private let content = UNMutableNotificationContent() 18 | private let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 10, repeats: false) 19 | private var request: UNNotificationRequest! 20 | 21 | @IBOutlet private weak var notifyBtn: UIButton! 22 | 23 | override func viewDidLoad() { 24 | super.viewDidLoad() 25 | 26 | // Request authorization 27 | requestAuthorization() 28 | 29 | // Initializa attatchments 30 | movieAttachment = try! UNNotificationAttachment( 31 | identifier: "\(baseId).attachment", 32 | url: URL(fileURLWithPath: moviePath), 33 | options: nil) 34 | 35 | // Build content 36 | content.title = "iOS-10-Sampler" 37 | content.body = "This is the body." 38 | content.sound = UNNotificationSound.default 39 | content.attachments = [movieAttachment] 40 | 41 | // Initializa request 42 | request = UNNotificationRequest( 43 | identifier: "\(baseId).notification", 44 | content: content, 45 | trigger: trigger) 46 | } 47 | 48 | override func didReceiveMemoryWarning() { 49 | super.didReceiveMemoryWarning() 50 | } 51 | 52 | private func requestAuthorization() { 53 | notifyBtn.isEnabled = false 54 | UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) { (granted, error) in 55 | if let error = error { 56 | print("error:\(error)") 57 | } else if !granted { 58 | print("not granted") 59 | } else { 60 | DispatchQueue.main.async(execute: { 61 | self.notifyBtn.isEnabled = true 62 | }) 63 | } 64 | } 65 | } 66 | 67 | // ========================================================================= 68 | // MARK: - UNNotificationCenterDelegate 69 | 70 | internal func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: () -> Void) { 71 | print("\(self.classForCoder)/" + #function) 72 | } 73 | 74 | internal func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: (UNNotificationPresentationOptions) -> Void) { 75 | print("\(self.classForCoder)/" + #function) 76 | } 77 | 78 | // ========================================================================= 79 | // MARK: - Actions 80 | 81 | @IBAction func notifyBtnTapped(sender: UIButton) { 82 | 83 | UNUserNotificationCenter.current().add(request) { (error) in 84 | UNUserNotificationCenter.current().delegate = self 85 | if let error = error { 86 | print("error:\(error)") 87 | return 88 | } 89 | DispatchQueue.main.async { [weak self] in 90 | guard let self = self else { return } 91 | let alert = UIAlertController( 92 | title: "Close this app", 93 | message: "A local notification has been scheduled. Close this app and wait 10 sec.", 94 | preferredStyle: UIAlertController.Style.alert) 95 | let okAction = UIAlertAction( 96 | title: "OK", 97 | style: UIAlertAction.Style.cancel, 98 | handler: nil) 99 | alert.addAction(okAction) 100 | self.present(alert, animated: true, completion: nil) 101 | } 102 | } 103 | } 104 | 105 | } 106 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/iOS10Sampler.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | iOS10Sampler.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /iOS-10-Sampler/Samples/iOS10Sampler.xcdatamodeld/iOS10Sampler.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /iOS-10-Sampler/UIViewController+alert.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+alert.swift 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/13/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | extension UIViewController { 12 | func showAlert(title: String, message: String, handler: ((UIAlertAction) -> Swift.Void)? = nil) { 13 | DispatchQueue.main.async { [unowned self] in 14 | let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert) 15 | alertController.addAction(UIAlertAction(title: "OK", style: .cancel, handler: handler)) 16 | self.present(alertController, animated: true, completion: nil) 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /iOS-10-Sampler/iOS10Sampler-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // iOS10Sampler-Bridging-Header.h 3 | // iOS-10-Sampler 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | #ifndef iOS10Sampler_Bridging_Header_h 10 | #define iOS10Sampler_Bridging_Header_h 11 | 12 | #import "SlimMPSCNNConvolution.h" 13 | #import "SlimMPSCNNFullyConnected.h" 14 | 15 | #endif /* iOS10Sampler_Bridging_Header_h */ 16 | -------------------------------------------------------------------------------- /iOS-10-SamplerTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /iOS-10-SamplerTests/iOS_10_SamplerTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // iOS_10_SamplerTests.swift 3 | // iOS-10-SamplerTests 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import iOS_10_Sampler 11 | 12 | class iOS_10_SamplerTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /iOS-10-SamplerUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /iOS-10-SamplerUITests/iOS_10_SamplerUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // iOS_10_SamplerUITests.swift 3 | // iOS-10-SamplerUITests 4 | // 5 | // Created by Shuichi Tsutsumi on 9/3/16. 6 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class iOS_10_SamplerUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | 18 | // In UI tests it is usually best to stop immediately when a failure occurs. 19 | continueAfterFailure = false 20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 | XCUIApplication().launch() 22 | 23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 24 | } 25 | 26 | override func tearDown() { 27 | // Put teardown code here. This method is called after the invocation of each test method in the class. 28 | super.tearDown() 29 | } 30 | 31 | func testExample() { 32 | // Use recording to get started writing UI tests. 33 | // Use XCTAssert and related functions to verify your tests produce the correct results. 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /libs/VideoCapture/AVCaptureDevice+Extension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AVCaptureDevice+Extension.swift 3 | // 4 | // Created by Shuichi Tsutsumi on 4/3/16. 5 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 6 | // 7 | 8 | import AVFoundation 9 | 10 | extension AVCaptureDevice { 11 | private func availableFormatsFor(preferredFps: Float64) -> [AVCaptureDevice.Format] { 12 | var availableFormats: [AVCaptureDevice.Format] = [] 13 | for format in formats 14 | { 15 | let ranges = format.videoSupportedFrameRateRanges 16 | for range in ranges where range.minFrameRate <= preferredFps && preferredFps <= range.maxFrameRate 17 | { 18 | availableFormats.append(format) 19 | } 20 | } 21 | return availableFormats 22 | } 23 | 24 | private func formatWithHighestResolution(_ availableFormats: [AVCaptureDevice.Format]) -> AVCaptureDevice.Format? 25 | { 26 | var maxWidth: Int32 = 0 27 | var selectedFormat: AVCaptureDevice.Format? 28 | for format in availableFormats { 29 | let dimensions = CMVideoFormatDescriptionGetDimensions(format.formatDescription) 30 | let width = dimensions.width 31 | if width >= maxWidth { 32 | maxWidth = width 33 | selectedFormat = format 34 | } 35 | } 36 | return selectedFormat 37 | } 38 | 39 | private func formatFor(preferredSize: CGSize, availableFormats: [AVCaptureDevice.Format]) -> AVCaptureDevice.Format? 40 | { 41 | for format in availableFormats { 42 | let dimensions = CMVideoFormatDescriptionGetDimensions(format.formatDescription) 43 | 44 | if dimensions.width >= Int32(preferredSize.width) && dimensions.height >= Int32(preferredSize.height) 45 | { 46 | return format 47 | } 48 | } 49 | return nil 50 | } 51 | 52 | 53 | func updateFormatWithPreferredVideoSpec(preferredSpec: VideoSpec) 54 | { 55 | let availableFormats: [AVCaptureDevice.Format] 56 | if let preferredFps = preferredSpec.fps { 57 | availableFormats = availableFormatsFor(preferredFps: Float64(preferredFps)) 58 | } else { 59 | availableFormats = formats 60 | } 61 | 62 | var format: AVCaptureDevice.Format? 63 | if let preferredSize = preferredSpec.size { 64 | format = formatFor(preferredSize: preferredSize, availableFormats: availableFormats) 65 | } else { 66 | format = formatWithHighestResolution(availableFormats) 67 | } 68 | 69 | guard let selectedFormat = format else {return} 70 | print("selected format: \(selectedFormat)") 71 | do { 72 | try lockForConfiguration() 73 | } catch { 74 | fatalError("") 75 | } 76 | activeFormat = selectedFormat 77 | 78 | if let preferredFps = preferredSpec.fps { 79 | activeVideoMinFrameDuration = CMTimeMake(value: 1, timescale: preferredFps) 80 | activeVideoMaxFrameDuration = CMTimeMake(value: 1, timescale: preferredFps) 81 | unlockForConfiguration() 82 | } 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /libs/VideoCapture/VideoCameraType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // VideoCameraType.swift 3 | // 4 | // Created by Shuichi Tsutsumi on 4/3/16. 5 | // Copyright © 2016 Shuichi Tsutsumi. All rights reserved. 6 | // 7 | 8 | import AVFoundation 9 | 10 | 11 | enum CameraType : Int { 12 | case back 13 | case front 14 | 15 | func captureDevice() -> AVCaptureDevice { 16 | switch self { 17 | case .front: 18 | let devices = AVCaptureDevice.DiscoverySession(deviceTypes: [], mediaType: .video, position: .front).devices 19 | print("devices:\(devices)") 20 | for device in devices where device.position == .front { 21 | return device 22 | } 23 | default: 24 | break 25 | } 26 | return AVCaptureDevice.default(for: .video)! 27 | } 28 | } 29 | --------------------------------------------------------------------------------