├── AnimationMenu.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── xcuserdata │ └── Basil.xcuserdatad │ └── xcschemes │ ├── AnimationMenu.xcscheme │ └── xcschememanagement.plist ├── AnimationMenu ├── AnimationMenu.xcdatamodeld │ ├── .xccurrentversion │ └── AnimationMenu.xcdatamodel │ │ └── contents ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Calendar-Off.imageset │ │ ├── Calendar-Off.png │ │ ├── Calendar-Off@2x.png │ │ ├── Calendar-Off@3x.png │ │ └── Contents.json │ ├── Calendar-On.imageset │ │ ├── Calendar-On.png │ │ ├── Calendar-On@2x.png │ │ ├── Calendar-On@3x.png │ │ └── Contents.json │ ├── Close.imageset │ │ ├── Contents.json │ │ ├── slice1.png │ │ ├── slice1@2x.png │ │ └── slice1@3x.png │ ├── Contents.json │ ├── Deals-Off.imageset │ │ ├── Contents.json │ │ ├── Deals-Off.png │ │ ├── Deals-Off@2x.png │ │ └── Deals-Off@3x.png │ ├── Deals-On.imageset │ │ ├── Contents.json │ │ ├── Deals-On.png │ │ ├── Deals-On@2x.png │ │ └── Deals-On@3x.png │ ├── Friends-Off.imageset │ │ ├── Contents.json │ │ ├── Friends-Off.png │ │ ├── Friends-Off@2x.png │ │ └── Friends-Off@3x.png │ ├── Friends-On.imageset │ │ ├── Contents.json │ │ ├── Friends-On.png │ │ ├── Friends-On@2x.png │ │ └── Friends-On@3x.png │ ├── Menu Bar.imageset │ │ ├── Contents.json │ │ ├── Menu.png │ │ ├── Menu@2x.png │ │ └── Menu@3x.png │ ├── Menu.imageset │ │ ├── Contents.json │ │ ├── slice2.png │ │ ├── slice2@2x.png │ │ └── slice2@3x.png │ ├── Messenger-Off.imageset │ │ ├── Contents.json │ │ ├── Messenger-Off.png │ │ ├── Messenger-Off@2x.png │ │ └── Messenger-Off@3x.png │ ├── Messenger-On.imageset │ │ ├── Contents.json │ │ ├── Messenger-On.png │ │ ├── Messenger-On@2x.png │ │ └── Messenger-On@3x.png │ ├── Payment-Off.imageset │ │ ├── Contents.json │ │ ├── Payment-Off.png │ │ ├── Payment-Off@2x.png │ │ └── Payment-Off@3x.png │ ├── Payment-On.imageset │ │ ├── Contents.json │ │ ├── Payment-On.png │ │ ├── Payment-On@2x.png │ │ └── Payment-On@3x.png │ ├── Rewards-Off.imageset │ │ ├── Contents.json │ │ ├── Rewards-Off.png │ │ ├── Rewards-Off@2x.png │ │ └── Rewards-Off@3x.png │ ├── Rewards-On.imageset │ │ ├── Contents.json │ │ ├── Rewards-On.png │ │ ├── Rewards-On@2x.png │ │ └── Rewards-On@3x.png │ ├── Status-Off.imageset │ │ ├── Contents.json │ │ ├── Status-Off.png │ │ ├── Status-Off@2x.png │ │ └── Status-Off@3x.png │ └── Status-On.imageset │ │ ├── Contents.json │ │ ├── Status-On.png │ │ ├── Status-On@2x.png │ │ └── Status-On@3x.png ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Info.plist ├── RoundButton.swift └── ViewController.swift ├── Demo.gif ├── LICENSE └── README.md /AnimationMenu.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | FD2AA4E81E901B1800A9BE96 /* RoundButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD2AA4E71E901B1800A9BE96 /* RoundButton.swift */; }; 11 | FDB075611E8ECA6F00AB9FFB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDB075601E8ECA6F00AB9FFB /* AppDelegate.swift */; }; 12 | FDB075631E8ECA6F00AB9FFB /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDB075621E8ECA6F00AB9FFB /* ViewController.swift */; }; 13 | FDB075661E8ECA6F00AB9FFB /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FDB075641E8ECA6F00AB9FFB /* Main.storyboard */; }; 14 | FDB0756B1E8ECA6F00AB9FFB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FDB0756A1E8ECA6F00AB9FFB /* Assets.xcassets */; }; 15 | FDB0756E1E8ECA6F00AB9FFB /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FDB0756C1E8ECA6F00AB9FFB /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | FD2AA4E71E901B1800A9BE96 /* RoundButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoundButton.swift; sourceTree = ""; }; 20 | FDB0755D1E8ECA6F00AB9FFB /* AnimationMenu.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AnimationMenu.app; sourceTree = BUILT_PRODUCTS_DIR; }; 21 | FDB075601E8ECA6F00AB9FFB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 22 | FDB075621E8ECA6F00AB9FFB /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 23 | FDB075651E8ECA6F00AB9FFB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 24 | FDB0756A1E8ECA6F00AB9FFB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 25 | FDB0756D1E8ECA6F00AB9FFB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 26 | FDB0756F1E8ECA6F00AB9FFB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 27 | /* End PBXFileReference section */ 28 | 29 | /* Begin PBXFrameworksBuildPhase section */ 30 | FDB0755A1E8ECA6F00AB9FFB /* Frameworks */ = { 31 | isa = PBXFrameworksBuildPhase; 32 | buildActionMask = 2147483647; 33 | files = ( 34 | ); 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXFrameworksBuildPhase section */ 38 | 39 | /* Begin PBXGroup section */ 40 | FDB075541E8ECA6F00AB9FFB = { 41 | isa = PBXGroup; 42 | children = ( 43 | FDB0755F1E8ECA6F00AB9FFB /* AnimationMenu */, 44 | FDB0755E1E8ECA6F00AB9FFB /* Products */, 45 | ); 46 | sourceTree = ""; 47 | }; 48 | FDB0755E1E8ECA6F00AB9FFB /* Products */ = { 49 | isa = PBXGroup; 50 | children = ( 51 | FDB0755D1E8ECA6F00AB9FFB /* AnimationMenu.app */, 52 | ); 53 | name = Products; 54 | sourceTree = ""; 55 | }; 56 | FDB0755F1E8ECA6F00AB9FFB /* AnimationMenu */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | FDB075601E8ECA6F00AB9FFB /* AppDelegate.swift */, 60 | FDB075621E8ECA6F00AB9FFB /* ViewController.swift */, 61 | FD2AA4E71E901B1800A9BE96 /* RoundButton.swift */, 62 | FDB075641E8ECA6F00AB9FFB /* Main.storyboard */, 63 | FDB0756A1E8ECA6F00AB9FFB /* Assets.xcassets */, 64 | FDB0756C1E8ECA6F00AB9FFB /* LaunchScreen.storyboard */, 65 | FDB0756F1E8ECA6F00AB9FFB /* Info.plist */, 66 | ); 67 | path = AnimationMenu; 68 | sourceTree = ""; 69 | }; 70 | /* End PBXGroup section */ 71 | 72 | /* Begin PBXNativeTarget section */ 73 | FDB0755C1E8ECA6F00AB9FFB /* AnimationMenu */ = { 74 | isa = PBXNativeTarget; 75 | buildConfigurationList = FDB075721E8ECA6F00AB9FFB /* Build configuration list for PBXNativeTarget "AnimationMenu" */; 76 | buildPhases = ( 77 | FDB075591E8ECA6F00AB9FFB /* Sources */, 78 | FDB0755A1E8ECA6F00AB9FFB /* Frameworks */, 79 | FDB0755B1E8ECA6F00AB9FFB /* Resources */, 80 | ); 81 | buildRules = ( 82 | ); 83 | dependencies = ( 84 | ); 85 | name = AnimationMenu; 86 | productName = AnimationMenu; 87 | productReference = FDB0755D1E8ECA6F00AB9FFB /* AnimationMenu.app */; 88 | productType = "com.apple.product-type.application"; 89 | }; 90 | /* End PBXNativeTarget section */ 91 | 92 | /* Begin PBXProject section */ 93 | FDB075551E8ECA6F00AB9FFB /* Project object */ = { 94 | isa = PBXProject; 95 | attributes = { 96 | LastSwiftUpdateCheck = 0830; 97 | LastUpgradeCheck = 0830; 98 | ORGANIZATIONNAME = "Basil Baragabah"; 99 | TargetAttributes = { 100 | FDB0755C1E8ECA6F00AB9FFB = { 101 | CreatedOnToolsVersion = 8.3; 102 | ProvisioningStyle = Automatic; 103 | }; 104 | }; 105 | }; 106 | buildConfigurationList = FDB075581E8ECA6F00AB9FFB /* Build configuration list for PBXProject "AnimationMenu" */; 107 | compatibilityVersion = "Xcode 3.2"; 108 | developmentRegion = English; 109 | hasScannedForEncodings = 0; 110 | knownRegions = ( 111 | en, 112 | Base, 113 | ); 114 | mainGroup = FDB075541E8ECA6F00AB9FFB; 115 | productRefGroup = FDB0755E1E8ECA6F00AB9FFB /* Products */; 116 | projectDirPath = ""; 117 | projectRoot = ""; 118 | targets = ( 119 | FDB0755C1E8ECA6F00AB9FFB /* AnimationMenu */, 120 | ); 121 | }; 122 | /* End PBXProject section */ 123 | 124 | /* Begin PBXResourcesBuildPhase section */ 125 | FDB0755B1E8ECA6F00AB9FFB /* Resources */ = { 126 | isa = PBXResourcesBuildPhase; 127 | buildActionMask = 2147483647; 128 | files = ( 129 | FDB0756E1E8ECA6F00AB9FFB /* LaunchScreen.storyboard in Resources */, 130 | FDB0756B1E8ECA6F00AB9FFB /* Assets.xcassets in Resources */, 131 | FDB075661E8ECA6F00AB9FFB /* Main.storyboard in Resources */, 132 | ); 133 | runOnlyForDeploymentPostprocessing = 0; 134 | }; 135 | /* End PBXResourcesBuildPhase section */ 136 | 137 | /* Begin PBXSourcesBuildPhase section */ 138 | FDB075591E8ECA6F00AB9FFB /* Sources */ = { 139 | isa = PBXSourcesBuildPhase; 140 | buildActionMask = 2147483647; 141 | files = ( 142 | FD2AA4E81E901B1800A9BE96 /* RoundButton.swift in Sources */, 143 | FDB075631E8ECA6F00AB9FFB /* ViewController.swift in Sources */, 144 | FDB075611E8ECA6F00AB9FFB /* AppDelegate.swift in Sources */, 145 | ); 146 | runOnlyForDeploymentPostprocessing = 0; 147 | }; 148 | /* End PBXSourcesBuildPhase section */ 149 | 150 | /* Begin PBXVariantGroup section */ 151 | FDB075641E8ECA6F00AB9FFB /* Main.storyboard */ = { 152 | isa = PBXVariantGroup; 153 | children = ( 154 | FDB075651E8ECA6F00AB9FFB /* Base */, 155 | ); 156 | name = Main.storyboard; 157 | sourceTree = ""; 158 | }; 159 | FDB0756C1E8ECA6F00AB9FFB /* LaunchScreen.storyboard */ = { 160 | isa = PBXVariantGroup; 161 | children = ( 162 | FDB0756D1E8ECA6F00AB9FFB /* Base */, 163 | ); 164 | name = LaunchScreen.storyboard; 165 | sourceTree = ""; 166 | }; 167 | /* End PBXVariantGroup section */ 168 | 169 | /* Begin XCBuildConfiguration section */ 170 | FDB075701E8ECA6F00AB9FFB /* Debug */ = { 171 | isa = XCBuildConfiguration; 172 | buildSettings = { 173 | ALWAYS_SEARCH_USER_PATHS = NO; 174 | CLANG_ANALYZER_NONNULL = YES; 175 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 176 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 177 | CLANG_CXX_LIBRARY = "libc++"; 178 | CLANG_ENABLE_MODULES = YES; 179 | CLANG_ENABLE_OBJC_ARC = YES; 180 | CLANG_WARN_BOOL_CONVERSION = YES; 181 | CLANG_WARN_CONSTANT_CONVERSION = YES; 182 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 183 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 184 | CLANG_WARN_EMPTY_BODY = YES; 185 | CLANG_WARN_ENUM_CONVERSION = YES; 186 | CLANG_WARN_INFINITE_RECURSION = YES; 187 | CLANG_WARN_INT_CONVERSION = YES; 188 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 189 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 190 | CLANG_WARN_UNREACHABLE_CODE = YES; 191 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 192 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 193 | COPY_PHASE_STRIP = NO; 194 | DEBUG_INFORMATION_FORMAT = dwarf; 195 | ENABLE_STRICT_OBJC_MSGSEND = YES; 196 | ENABLE_TESTABILITY = YES; 197 | GCC_C_LANGUAGE_STANDARD = gnu99; 198 | GCC_DYNAMIC_NO_PIC = NO; 199 | GCC_NO_COMMON_BLOCKS = YES; 200 | GCC_OPTIMIZATION_LEVEL = 0; 201 | GCC_PREPROCESSOR_DEFINITIONS = ( 202 | "DEBUG=1", 203 | "$(inherited)", 204 | ); 205 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 206 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 207 | GCC_WARN_UNDECLARED_SELECTOR = YES; 208 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 209 | GCC_WARN_UNUSED_FUNCTION = YES; 210 | GCC_WARN_UNUSED_VARIABLE = YES; 211 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 212 | MTL_ENABLE_DEBUG_INFO = YES; 213 | ONLY_ACTIVE_ARCH = YES; 214 | SDKROOT = iphoneos; 215 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 216 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 217 | }; 218 | name = Debug; 219 | }; 220 | FDB075711E8ECA6F00AB9FFB /* Release */ = { 221 | isa = XCBuildConfiguration; 222 | buildSettings = { 223 | ALWAYS_SEARCH_USER_PATHS = NO; 224 | CLANG_ANALYZER_NONNULL = YES; 225 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 226 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 227 | CLANG_CXX_LIBRARY = "libc++"; 228 | CLANG_ENABLE_MODULES = YES; 229 | CLANG_ENABLE_OBJC_ARC = YES; 230 | CLANG_WARN_BOOL_CONVERSION = YES; 231 | CLANG_WARN_CONSTANT_CONVERSION = YES; 232 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 233 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 234 | CLANG_WARN_EMPTY_BODY = YES; 235 | CLANG_WARN_ENUM_CONVERSION = YES; 236 | CLANG_WARN_INFINITE_RECURSION = YES; 237 | CLANG_WARN_INT_CONVERSION = YES; 238 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 239 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 240 | CLANG_WARN_UNREACHABLE_CODE = YES; 241 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 242 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 243 | COPY_PHASE_STRIP = NO; 244 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 245 | ENABLE_NS_ASSERTIONS = NO; 246 | ENABLE_STRICT_OBJC_MSGSEND = YES; 247 | GCC_C_LANGUAGE_STANDARD = gnu99; 248 | GCC_NO_COMMON_BLOCKS = YES; 249 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 250 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 251 | GCC_WARN_UNDECLARED_SELECTOR = YES; 252 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 253 | GCC_WARN_UNUSED_FUNCTION = YES; 254 | GCC_WARN_UNUSED_VARIABLE = YES; 255 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 256 | MTL_ENABLE_DEBUG_INFO = NO; 257 | SDKROOT = iphoneos; 258 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 259 | VALIDATE_PRODUCT = YES; 260 | }; 261 | name = Release; 262 | }; 263 | FDB075731E8ECA6F00AB9FFB /* Debug */ = { 264 | isa = XCBuildConfiguration; 265 | buildSettings = { 266 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 267 | DEVELOPMENT_TEAM = ""; 268 | INFOPLIST_FILE = AnimationMenu/Info.plist; 269 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 270 | PRODUCT_BUNDLE_IDENTIFIER = com.Basil.Baragabah.AnimationMenu; 271 | PRODUCT_NAME = "$(TARGET_NAME)"; 272 | SWIFT_VERSION = 3.0; 273 | }; 274 | name = Debug; 275 | }; 276 | FDB075741E8ECA6F00AB9FFB /* Release */ = { 277 | isa = XCBuildConfiguration; 278 | buildSettings = { 279 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 280 | DEVELOPMENT_TEAM = ""; 281 | INFOPLIST_FILE = AnimationMenu/Info.plist; 282 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 283 | PRODUCT_BUNDLE_IDENTIFIER = com.Basil.Baragabah.AnimationMenu; 284 | PRODUCT_NAME = "$(TARGET_NAME)"; 285 | SWIFT_VERSION = 3.0; 286 | }; 287 | name = Release; 288 | }; 289 | /* End XCBuildConfiguration section */ 290 | 291 | /* Begin XCConfigurationList section */ 292 | FDB075581E8ECA6F00AB9FFB /* Build configuration list for PBXProject "AnimationMenu" */ = { 293 | isa = XCConfigurationList; 294 | buildConfigurations = ( 295 | FDB075701E8ECA6F00AB9FFB /* Debug */, 296 | FDB075711E8ECA6F00AB9FFB /* Release */, 297 | ); 298 | defaultConfigurationIsVisible = 0; 299 | defaultConfigurationName = Release; 300 | }; 301 | FDB075721E8ECA6F00AB9FFB /* Build configuration list for PBXNativeTarget "AnimationMenu" */ = { 302 | isa = XCConfigurationList; 303 | buildConfigurations = ( 304 | FDB075731E8ECA6F00AB9FFB /* Debug */, 305 | FDB075741E8ECA6F00AB9FFB /* Release */, 306 | ); 307 | defaultConfigurationIsVisible = 0; 308 | defaultConfigurationName = Release; 309 | }; 310 | /* End XCConfigurationList section */ 311 | }; 312 | rootObject = FDB075551E8ECA6F00AB9FFB /* Project object */; 313 | } 314 | -------------------------------------------------------------------------------- /AnimationMenu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /AnimationMenu.xcodeproj/xcuserdata/Basil.xcuserdatad/xcschemes/AnimationMenu.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /AnimationMenu.xcodeproj/xcuserdata/Basil.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AnimationMenu.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | FDB0755C1E8ECA6F00AB9FFB 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /AnimationMenu/AnimationMenu.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /AnimationMenu/AnimationMenu.xcdatamodeld/AnimationMenu.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /AnimationMenu/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AnimationMenu 4 | // 5 | // Created by X901 on 3/31/17. 6 | // Copyright © 2017 Basil Baragabah. 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: [UIApplicationLaunchOptionsKey: 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 | // Saves changes in the application's managed object context before the application terminates. 43 | } 44 | 45 | // MARK: - Core Data stack 46 | 47 | 48 | } 49 | 50 | -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-Off.imageset/Calendar-Off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Calendar-Off.imageset/Calendar-Off.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-Off.imageset/Calendar-Off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Calendar-Off.imageset/Calendar-Off@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-Off.imageset/Calendar-Off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Calendar-Off.imageset/Calendar-Off@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-Off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Calendar-Off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Calendar-Off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Calendar-Off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-On.imageset/Calendar-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Calendar-On.imageset/Calendar-On.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-On.imageset/Calendar-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Calendar-On.imageset/Calendar-On@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-On.imageset/Calendar-On@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Calendar-On.imageset/Calendar-On@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Calendar-On.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Calendar-On.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Calendar-On@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Calendar-On@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Close.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "slice1.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "slice1@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "slice1@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Close.imageset/slice1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Close.imageset/slice1.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Close.imageset/slice1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Close.imageset/slice1@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Close.imageset/slice1@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Close.imageset/slice1@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-Off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Deals-Off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Deals-Off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Deals-Off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-Off.imageset/Deals-Off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Deals-Off.imageset/Deals-Off.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-Off.imageset/Deals-Off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Deals-Off.imageset/Deals-Off@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-Off.imageset/Deals-Off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Deals-Off.imageset/Deals-Off@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-On.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Deals-On.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Deals-On@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Deals-On@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-On.imageset/Deals-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Deals-On.imageset/Deals-On.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-On.imageset/Deals-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Deals-On.imageset/Deals-On@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Deals-On.imageset/Deals-On@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Deals-On.imageset/Deals-On@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-Off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Friends-Off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Friends-Off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Friends-Off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-Off.imageset/Friends-Off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Friends-Off.imageset/Friends-Off.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-Off.imageset/Friends-Off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Friends-Off.imageset/Friends-Off@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-Off.imageset/Friends-Off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Friends-Off.imageset/Friends-Off@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-On.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Friends-On.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Friends-On@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Friends-On@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-On.imageset/Friends-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Friends-On.imageset/Friends-On.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-On.imageset/Friends-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Friends-On.imageset/Friends-On@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Friends-On.imageset/Friends-On@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Friends-On.imageset/Friends-On@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu Bar.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Menu.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Menu@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Menu@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu Bar.imageset/Menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Menu Bar.imageset/Menu.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu Bar.imageset/Menu@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Menu Bar.imageset/Menu@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu Bar.imageset/Menu@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Menu Bar.imageset/Menu@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "slice2.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "slice2@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "slice2@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu.imageset/slice2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Menu.imageset/slice2.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu.imageset/slice2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Menu.imageset/slice2@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Menu.imageset/slice2@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Menu.imageset/slice2@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-Off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Messenger-Off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Messenger-Off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Messenger-Off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-Off.imageset/Messenger-Off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Messenger-Off.imageset/Messenger-Off.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-Off.imageset/Messenger-Off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Messenger-Off.imageset/Messenger-Off@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-Off.imageset/Messenger-Off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Messenger-Off.imageset/Messenger-Off@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-On.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Messenger-On.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Messenger-On@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Messenger-On@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-On.imageset/Messenger-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Messenger-On.imageset/Messenger-On.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-On.imageset/Messenger-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Messenger-On.imageset/Messenger-On@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Messenger-On.imageset/Messenger-On@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Messenger-On.imageset/Messenger-On@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-Off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Payment-Off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Payment-Off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Payment-Off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-Off.imageset/Payment-Off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Payment-Off.imageset/Payment-Off.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-Off.imageset/Payment-Off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Payment-Off.imageset/Payment-Off@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-Off.imageset/Payment-Off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Payment-Off.imageset/Payment-Off@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-On.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Payment-On.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Payment-On@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Payment-On@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-On.imageset/Payment-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Payment-On.imageset/Payment-On.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-On.imageset/Payment-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Payment-On.imageset/Payment-On@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Payment-On.imageset/Payment-On@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Payment-On.imageset/Payment-On@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-Off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Rewards-Off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Rewards-Off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Rewards-Off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-Off.imageset/Rewards-Off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Rewards-Off.imageset/Rewards-Off.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-Off.imageset/Rewards-Off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Rewards-Off.imageset/Rewards-Off@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-Off.imageset/Rewards-Off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Rewards-Off.imageset/Rewards-Off@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-On.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Rewards-On.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Rewards-On@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Rewards-On@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-On.imageset/Rewards-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Rewards-On.imageset/Rewards-On.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-On.imageset/Rewards-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Rewards-On.imageset/Rewards-On@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Rewards-On.imageset/Rewards-On@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Rewards-On.imageset/Rewards-On@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-Off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Status-Off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Status-Off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Status-Off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-Off.imageset/Status-Off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Status-Off.imageset/Status-Off.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-Off.imageset/Status-Off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Status-Off.imageset/Status-Off@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-Off.imageset/Status-Off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Status-Off.imageset/Status-Off@3x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-On.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Status-On.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Status-On@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Status-On@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-On.imageset/Status-On.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Status-On.imageset/Status-On.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-On.imageset/Status-On@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Status-On.imageset/Status-On@2x.png -------------------------------------------------------------------------------- /AnimationMenu/Assets.xcassets/Status-On.imageset/Status-On@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/AnimationMenu/Assets.xcassets/Status-On.imageset/Status-On@3x.png -------------------------------------------------------------------------------- /AnimationMenu/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 | -------------------------------------------------------------------------------- /AnimationMenu/Base.lproj/Main.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 | 45 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 72 | 78 | 79 | 80 | 81 | 82 | 83 | 87 | 93 | 94 | 95 | 96 | 97 | 98 | 102 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 122 | 128 | 129 | 130 | 131 | 132 | 133 | 137 | 143 | 144 | 145 | 146 | 147 | 148 | 152 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 171 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | -------------------------------------------------------------------------------- /AnimationMenu/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /AnimationMenu/RoundButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RoundButton.swift 3 | // AnimationMenu 4 | // 5 | // Created by X901 on 4/1/17. 6 | // Copyright © 2017 Basil Baragabah. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @IBDesignable 12 | 13 | class RoundButton: UIButton { 14 | 15 | @IBInspectable var cornerRadius :CGFloat = 0 { 16 | didSet{ 17 | 18 | self.layer.cornerRadius = cornerRadius 19 | } 20 | 21 | } 22 | 23 | @IBInspectable var borderWidth :CGFloat = 0 { 24 | 25 | 26 | didSet{ 27 | 28 | self.layer.borderWidth = borderWidth 29 | } 30 | 31 | } 32 | 33 | @IBInspectable var borderColor :UIColor = UIColor.clear { 34 | 35 | 36 | didSet{ 37 | 38 | self.layer.borderColor = borderColor.cgColor 39 | } 40 | 41 | } 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /AnimationMenu/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AnimationMenu 4 | // 5 | // Created by X901 on 3/31/17. 6 | // Copyright © 2017 Basil Baragabah. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | var closeButtonCenter : CGPoint! 14 | var menuButtonCenter : CGPoint! 15 | 16 | @IBOutlet weak var MenuButtonTop: NSLayoutConstraint! 17 | 18 | @IBOutlet weak var menu: UIButton! 19 | 20 | @IBOutlet weak var Close: UIButton! 21 | 22 | @IBOutlet weak var backgroundMenuView: UIView! 23 | 24 | @IBOutlet weak var darkFillView: RoundButton! 25 | 26 | @IBOutlet weak var menuButtons: UIStackView! 27 | 28 | @IBOutlet weak var topConatraint: NSLayoutConstraint! 29 | 30 | override func viewDidLoad() { 31 | super.viewDidLoad() 32 | 33 | menuButtonCenter = menu.center 34 | closeButtonCenter = Close.center 35 | 36 | Close.center = menu.center 37 | 38 | 39 | darkFillView.alpha = 0 40 | 41 | topConatraint.constant = -67 42 | 43 | MenuButtonTop.constant = 230 44 | 45 | menuButtons.alpha = 0 46 | } 47 | 48 | override var preferredStatusBarStyle: UIStatusBarStyle { 49 | return .lightContent 50 | } 51 | 52 | 53 | @IBAction func menuClicked(_ sender: UIButton) { 54 | 55 | self.topConatraint.constant = 0 56 | 57 | MenuButtonTop.constant = 114 58 | 59 | self.menu.isHidden = true 60 | if darkFillView.transform == CGAffineTransform.identity{ 61 | 62 | 63 | UIView.animate(withDuration: 0.3, animations: { 64 | 65 | self.view.layoutIfNeeded() 66 | self.darkFillView.alpha = 1 67 | 68 | self.darkFillView.transform = CGAffineTransform(scaleX: 30, y: 30) 69 | 70 | self.menuButtons.alpha = 1 71 | 72 | 73 | 74 | }) 75 | 76 | } 77 | 78 | 79 | UIView.animate(withDuration: 0.5) { 80 | 81 | self.Close.alpha = 1 82 | self.menu.alpha = 0 83 | self.Close.center = self.closeButtonCenter 84 | 85 | 86 | } 87 | } 88 | 89 | 90 | @IBAction func closeClicked(_ sender: Any) { 91 | 92 | topConatraint.constant = -67 93 | 94 | self.menu.isHidden = false 95 | 96 | self.menu.center = self.Close.center 97 | 98 | UIView.animate(withDuration: 0.5) { 99 | self.Close.alpha = 0 100 | self.menu.alpha = 1 101 | self.menuButtons.alpha = 0 102 | 103 | self.MenuButtonTop.constant = 230 104 | 105 | self.view.layoutIfNeeded() 106 | 107 | 108 | 109 | self.Close.center = self.menuButtonCenter 110 | 111 | self.menu.center = self.menuButtonCenter 112 | 113 | self.Close.isHidden = false 114 | 115 | 116 | } 117 | 118 | UIView.animate(withDuration: 0.5 , animations: { 119 | 120 | self.darkFillView.alpha = 0 121 | 122 | self.darkFillView.transform = .identity 123 | 124 | }) 125 | 126 | } 127 | 128 | 129 | } 130 | 131 | -------------------------------------------------------------------------------- /Demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/X901/AnimationMenu/54f3ee5b4b6d5bd9c349dae554cc87626143dec5/Demo.gif -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 X901 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.md: -------------------------------------------------------------------------------- 1 | 2 | # Animation Menu 3 | 4 | ### Inspired by [followilko](https://dribbble.com/shots/2918853-Weekly-Layup-15-Mobile-Nav) , All credit go to him 5 | 6 | ### Notice : All icons designed by me , you can use it as you like 7 | 8 | ## Demo : 9 | 10 | 11 | ![](https://github.com/X901/AnimationMenu/blob/master/Demo.gif) 12 | --------------------------------------------------------------------------------