├── FunctionGuide.gif ├── FunctionGuiding.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── wbxiaowangzi.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ └── wbxiaowangzi.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ ├── FunctionGuiding.xcscheme │ └── xcschememanagement.plist ├── FunctionGuiding ├── AppDelegate.h ├── AppDelegate.m ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── girl.imageset │ │ ├── Contents.json │ │ └── girl.png │ ├── userGuideBtnBG_unClear.imageset │ │ ├── Contents.json │ │ └── userGuideBtnBG_unClear@2x.png │ ├── userGuide_arrors1.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors1@2x.png │ ├── userGuide_arrors2.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors2@2x.png │ ├── userGuide_arrors3.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors3@2x.png │ ├── userGuide_arrors4.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors4@2x.png │ ├── userGuide_arrors5.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors5@2x.png │ ├── userGuide_arrors6.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors6@2x.png │ ├── userGuide_arrors7.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors7@2x.png │ ├── userGuide_arrors8.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors8@2x.png │ └── 序列 │ │ ├── Contents.json │ │ ├── userGuide_arrors1.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors1@2x.png │ │ ├── userGuide_arrors2.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors2@2x.png │ │ ├── userGuide_arrors3.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors3@2x.png │ │ ├── userGuide_arrors4.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors4@2x.png │ │ ├── userGuide_arrors5.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors5@2x.png │ │ ├── userGuide_arrors6.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors6@2x.png │ │ ├── userGuide_arrors7.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors7@2x.png │ │ └── userGuide_arrors8.imageset │ │ ├── Contents.json │ │ └── userGuide_arrors8@2x.png ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Info.plist ├── ViewController.h ├── ViewController.m ├── WBGuide │ ├── RAYNewFunctionGuideVC.h │ ├── RAYNewFunctionGuideVC.m │ ├── RAYNewFunctionGuideVC.xib │ └── WawaSC-Regular.otf └── main.m └── README.md /FunctionGuide.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuide.gif -------------------------------------------------------------------------------- /FunctionGuiding.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 5A4041E71C7D88DE00E2A419 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A4041E61C7D88DE00E2A419 /* main.m */; }; 11 | 5A4041EA1C7D88DE00E2A419 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A4041E91C7D88DE00E2A419 /* AppDelegate.m */; }; 12 | 5A4041ED1C7D88DE00E2A419 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A4041EC1C7D88DE00E2A419 /* ViewController.m */; }; 13 | 5A4041F01C7D88DE00E2A419 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5A4041EE1C7D88DE00E2A419 /* Main.storyboard */; }; 14 | 5A4041F21C7D88DE00E2A419 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5A4041F11C7D88DE00E2A419 /* Assets.xcassets */; }; 15 | 5A4041F51C7D88DE00E2A419 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5A4041F31C7D88DE00E2A419 /* LaunchScreen.storyboard */; }; 16 | 5A4042001C7D893500E2A419 /* RAYNewFunctionGuideVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A4041FE1C7D893500E2A419 /* RAYNewFunctionGuideVC.m */; }; 17 | 5A4042011C7D893500E2A419 /* RAYNewFunctionGuideVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5A4041FF1C7D893500E2A419 /* RAYNewFunctionGuideVC.xib */; }; 18 | 5A4042031C7D898700E2A419 /* WawaSC-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 5A4042021C7D898700E2A419 /* WawaSC-Regular.otf */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXFileReference section */ 22 | 5A4041E21C7D88DE00E2A419 /* FunctionGuiding.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FunctionGuiding.app; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | 5A4041E61C7D88DE00E2A419 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 24 | 5A4041E81C7D88DE00E2A419 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 25 | 5A4041E91C7D88DE00E2A419 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 26 | 5A4041EB1C7D88DE00E2A419 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 27 | 5A4041EC1C7D88DE00E2A419 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 28 | 5A4041EF1C7D88DE00E2A419 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 29 | 5A4041F11C7D88DE00E2A419 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 30 | 5A4041F41C7D88DE00E2A419 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 31 | 5A4041F61C7D88DE00E2A419 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 32 | 5A4041FD1C7D893500E2A419 /* RAYNewFunctionGuideVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RAYNewFunctionGuideVC.h; sourceTree = ""; }; 33 | 5A4041FE1C7D893500E2A419 /* RAYNewFunctionGuideVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RAYNewFunctionGuideVC.m; sourceTree = ""; }; 34 | 5A4041FF1C7D893500E2A419 /* RAYNewFunctionGuideVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = RAYNewFunctionGuideVC.xib; sourceTree = ""; }; 35 | 5A4042021C7D898700E2A419 /* WawaSC-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "WawaSC-Regular.otf"; sourceTree = ""; }; 36 | /* End PBXFileReference section */ 37 | 38 | /* Begin PBXFrameworksBuildPhase section */ 39 | 5A4041DF1C7D88DE00E2A419 /* Frameworks */ = { 40 | isa = PBXFrameworksBuildPhase; 41 | buildActionMask = 2147483647; 42 | files = ( 43 | ); 44 | runOnlyForDeploymentPostprocessing = 0; 45 | }; 46 | /* End PBXFrameworksBuildPhase section */ 47 | 48 | /* Begin PBXGroup section */ 49 | 5A4041D91C7D88DE00E2A419 = { 50 | isa = PBXGroup; 51 | children = ( 52 | 5A4041E41C7D88DE00E2A419 /* FunctionGuiding */, 53 | 5A4041E31C7D88DE00E2A419 /* Products */, 54 | ); 55 | sourceTree = ""; 56 | }; 57 | 5A4041E31C7D88DE00E2A419 /* Products */ = { 58 | isa = PBXGroup; 59 | children = ( 60 | 5A4041E21C7D88DE00E2A419 /* FunctionGuiding.app */, 61 | ); 62 | name = Products; 63 | sourceTree = ""; 64 | }; 65 | 5A4041E41C7D88DE00E2A419 /* FunctionGuiding */ = { 66 | isa = PBXGroup; 67 | children = ( 68 | 5A4041FC1C7D893500E2A419 /* WBGuide */, 69 | 5A4041E81C7D88DE00E2A419 /* AppDelegate.h */, 70 | 5A4041E91C7D88DE00E2A419 /* AppDelegate.m */, 71 | 5A4041EB1C7D88DE00E2A419 /* ViewController.h */, 72 | 5A4041EC1C7D88DE00E2A419 /* ViewController.m */, 73 | 5A4041EE1C7D88DE00E2A419 /* Main.storyboard */, 74 | 5A4041F11C7D88DE00E2A419 /* Assets.xcassets */, 75 | 5A4041F31C7D88DE00E2A419 /* LaunchScreen.storyboard */, 76 | 5A4041F61C7D88DE00E2A419 /* Info.plist */, 77 | 5A4041E51C7D88DE00E2A419 /* Supporting Files */, 78 | ); 79 | path = FunctionGuiding; 80 | sourceTree = ""; 81 | }; 82 | 5A4041E51C7D88DE00E2A419 /* Supporting Files */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 5A4041E61C7D88DE00E2A419 /* main.m */, 86 | ); 87 | name = "Supporting Files"; 88 | sourceTree = ""; 89 | }; 90 | 5A4041FC1C7D893500E2A419 /* WBGuide */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 5A4042021C7D898700E2A419 /* WawaSC-Regular.otf */, 94 | 5A4041FD1C7D893500E2A419 /* RAYNewFunctionGuideVC.h */, 95 | 5A4041FE1C7D893500E2A419 /* RAYNewFunctionGuideVC.m */, 96 | 5A4041FF1C7D893500E2A419 /* RAYNewFunctionGuideVC.xib */, 97 | ); 98 | path = WBGuide; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 5A4041E11C7D88DE00E2A419 /* FunctionGuiding */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 5A4041F91C7D88DE00E2A419 /* Build configuration list for PBXNativeTarget "FunctionGuiding" */; 107 | buildPhases = ( 108 | 5A4041DE1C7D88DE00E2A419 /* Sources */, 109 | 5A4041DF1C7D88DE00E2A419 /* Frameworks */, 110 | 5A4041E01C7D88DE00E2A419 /* Resources */, 111 | ); 112 | buildRules = ( 113 | ); 114 | dependencies = ( 115 | ); 116 | name = FunctionGuiding; 117 | productName = FunctionGuiding; 118 | productReference = 5A4041E21C7D88DE00E2A419 /* FunctionGuiding.app */; 119 | productType = "com.apple.product-type.application"; 120 | }; 121 | /* End PBXNativeTarget section */ 122 | 123 | /* Begin PBXProject section */ 124 | 5A4041DA1C7D88DE00E2A419 /* Project object */ = { 125 | isa = PBXProject; 126 | attributes = { 127 | LastUpgradeCheck = 0720; 128 | ORGANIZATIONNAME = "上海燃耀"; 129 | TargetAttributes = { 130 | 5A4041E11C7D88DE00E2A419 = { 131 | CreatedOnToolsVersion = 7.2; 132 | DevelopmentTeam = SLU2Z8YYU3; 133 | }; 134 | }; 135 | }; 136 | buildConfigurationList = 5A4041DD1C7D88DE00E2A419 /* Build configuration list for PBXProject "FunctionGuiding" */; 137 | compatibilityVersion = "Xcode 3.2"; 138 | developmentRegion = English; 139 | hasScannedForEncodings = 0; 140 | knownRegions = ( 141 | en, 142 | Base, 143 | ); 144 | mainGroup = 5A4041D91C7D88DE00E2A419; 145 | productRefGroup = 5A4041E31C7D88DE00E2A419 /* Products */; 146 | projectDirPath = ""; 147 | projectRoot = ""; 148 | targets = ( 149 | 5A4041E11C7D88DE00E2A419 /* FunctionGuiding */, 150 | ); 151 | }; 152 | /* End PBXProject section */ 153 | 154 | /* Begin PBXResourcesBuildPhase section */ 155 | 5A4041E01C7D88DE00E2A419 /* Resources */ = { 156 | isa = PBXResourcesBuildPhase; 157 | buildActionMask = 2147483647; 158 | files = ( 159 | 5A4041F51C7D88DE00E2A419 /* LaunchScreen.storyboard in Resources */, 160 | 5A4042011C7D893500E2A419 /* RAYNewFunctionGuideVC.xib in Resources */, 161 | 5A4041F21C7D88DE00E2A419 /* Assets.xcassets in Resources */, 162 | 5A4042031C7D898700E2A419 /* WawaSC-Regular.otf in Resources */, 163 | 5A4041F01C7D88DE00E2A419 /* Main.storyboard in Resources */, 164 | ); 165 | runOnlyForDeploymentPostprocessing = 0; 166 | }; 167 | /* End PBXResourcesBuildPhase section */ 168 | 169 | /* Begin PBXSourcesBuildPhase section */ 170 | 5A4041DE1C7D88DE00E2A419 /* Sources */ = { 171 | isa = PBXSourcesBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 5A4041ED1C7D88DE00E2A419 /* ViewController.m in Sources */, 175 | 5A4042001C7D893500E2A419 /* RAYNewFunctionGuideVC.m in Sources */, 176 | 5A4041EA1C7D88DE00E2A419 /* AppDelegate.m in Sources */, 177 | 5A4041E71C7D88DE00E2A419 /* main.m in Sources */, 178 | ); 179 | runOnlyForDeploymentPostprocessing = 0; 180 | }; 181 | /* End PBXSourcesBuildPhase section */ 182 | 183 | /* Begin PBXVariantGroup section */ 184 | 5A4041EE1C7D88DE00E2A419 /* Main.storyboard */ = { 185 | isa = PBXVariantGroup; 186 | children = ( 187 | 5A4041EF1C7D88DE00E2A419 /* Base */, 188 | ); 189 | name = Main.storyboard; 190 | sourceTree = ""; 191 | }; 192 | 5A4041F31C7D88DE00E2A419 /* LaunchScreen.storyboard */ = { 193 | isa = PBXVariantGroup; 194 | children = ( 195 | 5A4041F41C7D88DE00E2A419 /* Base */, 196 | ); 197 | name = LaunchScreen.storyboard; 198 | sourceTree = ""; 199 | }; 200 | /* End PBXVariantGroup section */ 201 | 202 | /* Begin XCBuildConfiguration section */ 203 | 5A4041F71C7D88DE00E2A419 /* Debug */ = { 204 | isa = XCBuildConfiguration; 205 | buildSettings = { 206 | ALWAYS_SEARCH_USER_PATHS = NO; 207 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 208 | CLANG_CXX_LIBRARY = "libc++"; 209 | CLANG_ENABLE_MODULES = YES; 210 | CLANG_ENABLE_OBJC_ARC = YES; 211 | CLANG_WARN_BOOL_CONVERSION = YES; 212 | CLANG_WARN_CONSTANT_CONVERSION = YES; 213 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 214 | CLANG_WARN_EMPTY_BODY = YES; 215 | CLANG_WARN_ENUM_CONVERSION = YES; 216 | CLANG_WARN_INT_CONVERSION = YES; 217 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 218 | CLANG_WARN_UNREACHABLE_CODE = YES; 219 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 220 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 221 | COPY_PHASE_STRIP = NO; 222 | DEBUG_INFORMATION_FORMAT = dwarf; 223 | ENABLE_STRICT_OBJC_MSGSEND = YES; 224 | ENABLE_TESTABILITY = YES; 225 | GCC_C_LANGUAGE_STANDARD = gnu99; 226 | GCC_DYNAMIC_NO_PIC = NO; 227 | GCC_NO_COMMON_BLOCKS = YES; 228 | GCC_OPTIMIZATION_LEVEL = 0; 229 | GCC_PREPROCESSOR_DEFINITIONS = ( 230 | "DEBUG=1", 231 | "$(inherited)", 232 | ); 233 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 234 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 235 | GCC_WARN_UNDECLARED_SELECTOR = YES; 236 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 237 | GCC_WARN_UNUSED_FUNCTION = YES; 238 | GCC_WARN_UNUSED_VARIABLE = YES; 239 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 240 | MTL_ENABLE_DEBUG_INFO = YES; 241 | ONLY_ACTIVE_ARCH = YES; 242 | SDKROOT = iphoneos; 243 | TARGETED_DEVICE_FAMILY = "1,2"; 244 | }; 245 | name = Debug; 246 | }; 247 | 5A4041F81C7D88DE00E2A419 /* Release */ = { 248 | isa = XCBuildConfiguration; 249 | buildSettings = { 250 | ALWAYS_SEARCH_USER_PATHS = NO; 251 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 252 | CLANG_CXX_LIBRARY = "libc++"; 253 | CLANG_ENABLE_MODULES = YES; 254 | CLANG_ENABLE_OBJC_ARC = YES; 255 | CLANG_WARN_BOOL_CONVERSION = YES; 256 | CLANG_WARN_CONSTANT_CONVERSION = YES; 257 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 258 | CLANG_WARN_EMPTY_BODY = YES; 259 | CLANG_WARN_ENUM_CONVERSION = YES; 260 | CLANG_WARN_INT_CONVERSION = YES; 261 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 262 | CLANG_WARN_UNREACHABLE_CODE = YES; 263 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 264 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 265 | COPY_PHASE_STRIP = NO; 266 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 267 | ENABLE_NS_ASSERTIONS = NO; 268 | ENABLE_STRICT_OBJC_MSGSEND = YES; 269 | GCC_C_LANGUAGE_STANDARD = gnu99; 270 | GCC_NO_COMMON_BLOCKS = YES; 271 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 272 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 273 | GCC_WARN_UNDECLARED_SELECTOR = YES; 274 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 275 | GCC_WARN_UNUSED_FUNCTION = YES; 276 | GCC_WARN_UNUSED_VARIABLE = YES; 277 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 278 | MTL_ENABLE_DEBUG_INFO = NO; 279 | SDKROOT = iphoneos; 280 | TARGETED_DEVICE_FAMILY = "1,2"; 281 | VALIDATE_PRODUCT = YES; 282 | }; 283 | name = Release; 284 | }; 285 | 5A4041FA1C7D88DE00E2A419 /* Debug */ = { 286 | isa = XCBuildConfiguration; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CODE_SIGN_IDENTITY = "iPhone Developer"; 290 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 291 | INFOPLIST_FILE = FunctionGuiding/Info.plist; 292 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 293 | PRODUCT_BUNDLE_IDENTIFIER = com.hooray.FunctionGuiding; 294 | PRODUCT_NAME = "$(TARGET_NAME)"; 295 | PROVISIONING_PROFILE = ""; 296 | }; 297 | name = Debug; 298 | }; 299 | 5A4041FB1C7D88DE00E2A419 /* Release */ = { 300 | isa = XCBuildConfiguration; 301 | buildSettings = { 302 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 303 | CODE_SIGN_IDENTITY = "iPhone Developer"; 304 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 305 | INFOPLIST_FILE = FunctionGuiding/Info.plist; 306 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 307 | PRODUCT_BUNDLE_IDENTIFIER = com.hooray.FunctionGuiding; 308 | PRODUCT_NAME = "$(TARGET_NAME)"; 309 | PROVISIONING_PROFILE = ""; 310 | }; 311 | name = Release; 312 | }; 313 | /* End XCBuildConfiguration section */ 314 | 315 | /* Begin XCConfigurationList section */ 316 | 5A4041DD1C7D88DE00E2A419 /* Build configuration list for PBXProject "FunctionGuiding" */ = { 317 | isa = XCConfigurationList; 318 | buildConfigurations = ( 319 | 5A4041F71C7D88DE00E2A419 /* Debug */, 320 | 5A4041F81C7D88DE00E2A419 /* Release */, 321 | ); 322 | defaultConfigurationIsVisible = 0; 323 | defaultConfigurationName = Release; 324 | }; 325 | 5A4041F91C7D88DE00E2A419 /* Build configuration list for PBXNativeTarget "FunctionGuiding" */ = { 326 | isa = XCConfigurationList; 327 | buildConfigurations = ( 328 | 5A4041FA1C7D88DE00E2A419 /* Debug */, 329 | 5A4041FB1C7D88DE00E2A419 /* Release */, 330 | ); 331 | defaultConfigurationIsVisible = 0; 332 | }; 333 | /* End XCConfigurationList section */ 334 | }; 335 | rootObject = 5A4041DA1C7D88DE00E2A419 /* Project object */; 336 | } 337 | -------------------------------------------------------------------------------- /FunctionGuiding.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /FunctionGuiding.xcodeproj/project.xcworkspace/xcuserdata/wbxiaowangzi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding.xcodeproj/project.xcworkspace/xcuserdata/wbxiaowangzi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /FunctionGuiding.xcodeproj/xcuserdata/wbxiaowangzi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /FunctionGuiding.xcodeproj/xcuserdata/wbxiaowangzi.xcuserdatad/xcschemes/FunctionGuiding.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 | -------------------------------------------------------------------------------- /FunctionGuiding.xcodeproj/xcuserdata/wbxiaowangzi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | FunctionGuiding.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 5A4041E11C7D88DE00E2A419 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /FunctionGuiding/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // FunctionGuiding 4 | // 5 | // Created by wbxiaowangzi on 16/2/24. 6 | // Copyright © 2016年 上海燃耀. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /FunctionGuiding/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // FunctionGuiding 4 | // 5 | // Created by wbxiaowangzi on 16/2/24. 6 | // Copyright © 2016年 上海燃耀. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // 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. 25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // 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. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application { 42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "83.5x83.5", 66 | "scale" : "2x" 67 | } 68 | ], 69 | "info" : { 70 | "version" : 1, 71 | "author" : "xcode" 72 | } 73 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/girl.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "girl.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/girl.imageset/girl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/girl.imageset/girl.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuideBtnBG_unClear.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuideBtnBG_unClear@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuideBtnBG_unClear.imageset/userGuideBtnBG_unClear@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuideBtnBG_unClear.imageset/userGuideBtnBG_unClear@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors1@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors1.imageset/userGuide_arrors1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors1.imageset/userGuide_arrors1@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors2@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors2.imageset/userGuide_arrors2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors2.imageset/userGuide_arrors2@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors3@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors3.imageset/userGuide_arrors3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors3.imageset/userGuide_arrors3@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors4@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors4.imageset/userGuide_arrors4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors4.imageset/userGuide_arrors4@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors5.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors5@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors5.imageset/userGuide_arrors5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors5.imageset/userGuide_arrors5@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors6.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors6@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors6.imageset/userGuide_arrors6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors6.imageset/userGuide_arrors6@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors7.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors7@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors7.imageset/userGuide_arrors7@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors7.imageset/userGuide_arrors7@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors8.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors8@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/userGuide_arrors8.imageset/userGuide_arrors8@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/userGuide_arrors8.imageset/userGuide_arrors8@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors1@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors1.imageset/userGuide_arrors1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors1.imageset/userGuide_arrors1@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors2@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors2.imageset/userGuide_arrors2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors2.imageset/userGuide_arrors2@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors3@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors3.imageset/userGuide_arrors3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors3.imageset/userGuide_arrors3@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors4@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors4.imageset/userGuide_arrors4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors4.imageset/userGuide_arrors4@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors5.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors5@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors5.imageset/userGuide_arrors5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors5.imageset/userGuide_arrors5@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors6.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors6@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors6.imageset/userGuide_arrors6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors6.imageset/userGuide_arrors6@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors7.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors7@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors7.imageset/userGuide_arrors7@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors7.imageset/userGuide_arrors7@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors8.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userGuide_arrors8@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 | } -------------------------------------------------------------------------------- /FunctionGuiding/Assets.xcassets/序列/userGuide_arrors8.imageset/userGuide_arrors8@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/Assets.xcassets/序列/userGuide_arrors8.imageset/userGuide_arrors8@2x.png -------------------------------------------------------------------------------- /FunctionGuiding/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 | -------------------------------------------------------------------------------- /FunctionGuiding/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 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /FunctionGuiding/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIAppFonts 6 | 7 | WawaSC-Regular.otf 8 | 9 | CFBundleDevelopmentRegion 10 | en 11 | CFBundleExecutable 12 | $(EXECUTABLE_NAME) 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | $(PRODUCT_NAME) 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 1 27 | LSRequiresIPhoneOS 28 | 29 | UILaunchStoryboardName 30 | LaunchScreen 31 | UIMainStoryboardFile 32 | Main 33 | UIRequiredDeviceCapabilities 34 | 35 | armv7 36 | 37 | UISupportedInterfaceOrientations 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationLandscapeLeft 41 | UIInterfaceOrientationLandscapeRight 42 | 43 | UISupportedInterfaceOrientations~ipad 44 | 45 | UIInterfaceOrientationPortrait 46 | UIInterfaceOrientationPortraitUpsideDown 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /FunctionGuiding/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // FunctionGuiding 4 | // 5 | // Created by wbxiaowangzi on 16/2/24. 6 | // Copyright © 2016年 上海燃耀. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /FunctionGuiding/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // FunctionGuiding 4 | // 5 | // Created by wbxiaowangzi on 16/2/24. 6 | // Copyright © 2016年 上海燃耀. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "RAYNewFunctionGuideVC.h" 11 | 12 | #define WINSIZE [UIScreen mainScreen].bounds.size 13 | 14 | 15 | @interface ViewController () 16 | 17 | @end 18 | 19 | @implementation ViewController 20 | 21 | - (void)viewDidLoad { 22 | [super viewDidLoad]; 23 | 24 | 25 | 26 | } 27 | 28 | - (void)viewDidAppear:(BOOL)animated{ 29 | [self makeFunctionGuide]; 30 | 31 | } 32 | - (void)makeFunctionGuide{ 33 | NSUserDefaults *user = [NSUserDefaults standardUserDefaults]; 34 | NSString *firstComeInTeacherDetail = @"isFirstEnterHere"; 35 | [user setBool:NO forKey:firstComeInTeacherDetail]; 36 | 37 | if (![user boolForKey:firstComeInTeacherDetail]) { 38 | [user setBool:YES forKey:firstComeInTeacherDetail]; 39 | [user synchronize]; 40 | [self makeGuideView]; 41 | } 42 | 43 | } 44 | 45 | - (void)makeGuideView{ 46 | RAYNewFunctionGuideVC *vc = [[RAYNewFunctionGuideVC alloc]init]; 47 | vc.titles = @[@"新增: 功能1,",@"新增: 功能2,",@"新增: 功能3,",@"新增: 功能4,",@"新增: 功能5,",]; 48 | vc.frames = @[@"{{0, 60},{100,80}}", 49 | @"{{200,60},{100,80}}", 50 | @"{{0, 360},{100,80}}", 51 | @"{{200,360},{100,80}}", 52 | @"{{100,210},{100,80}}", 53 | ]; 54 | 55 | [self presentViewController:vc animated:YES completion:nil]; 56 | 57 | } 58 | 59 | 60 | @end 61 | -------------------------------------------------------------------------------- /FunctionGuiding/WBGuide/RAYNewFunctionGuideVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // RAYNewFunctionGuideVC.h 3 | // hooray 4 | // 5 | // Created by wbxiaowangzi on 16/2/23. 6 | // Copyright © 2016年 RAY. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RAYNewFunctionGuideVC : UIViewController 12 | @property (nonatomic, strong) NSArray *titles; 13 | @property (nonatomic, strong) NSArray *frames; 14 | @end 15 | -------------------------------------------------------------------------------- /FunctionGuiding/WBGuide/RAYNewFunctionGuideVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // RAYNewFunctionGuideVC.m 3 | // hooray 4 | // 5 | // Created by wbxiaowangzi on 16/2/23. 6 | // Copyright © 2016年 RAY. All rights reserved. 7 | // 8 | 9 | #import "RAYNewFunctionGuideVC.h" 10 | 11 | #define WINSIZE [UIScreen mainScreen].bounds.size 12 | #define arrowsImageViewW 60 13 | #define arrowsImageViewH 46 14 | #define titleLabW 200 15 | 16 | 17 | 18 | @interface RAYNewFunctionGuideVC () 19 | @property (weak, nonatomic) IBOutlet UIButton *checkBtn; 20 | @property (weak, nonatomic) IBOutlet NSLayoutConstraint *btnX; 21 | @property (weak, nonatomic) IBOutlet NSLayoutConstraint *btnY; 22 | @property (weak, nonatomic) IBOutlet NSLayoutConstraint *btnW; 23 | @property (weak, nonatomic) IBOutlet NSLayoutConstraint *btnH; 24 | 25 | @property (nonatomic, strong) UIImageView *arrowsImageView; 26 | @property (nonatomic, strong) UILabel *titleLab; 27 | @property (nonatomic, strong) NSMutableArray *framesArr; 28 | @property (nonatomic, strong) NSMutableArray *titlesArr; 29 | 30 | @property (nonatomic, assign) CGFloat titleLabH; 31 | 32 | @end 33 | 34 | @implementation RAYNewFunctionGuideVC 35 | 36 | - (instancetype)init 37 | { 38 | self = [super init]; 39 | if (self) { 40 | self.view.backgroundColor=[UIColor colorWithWhite:0 alpha:0.4]; 41 | self.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; 42 | self.modalPresentationStyle = UIModalPresentationOverFullScreen; 43 | } 44 | return self; 45 | } 46 | - (void)viewDidLoad { 47 | [super viewDidLoad]; 48 | 49 | 50 | // Do any additional setup after loading the view from its nib. 51 | } 52 | - (void)viewWillAppear:(BOOL)animated{ 53 | [super viewWillAppear:animated]; 54 | if (!self.titlesArr) { 55 | self.titlesArr = [self.titles mutableCopy]; 56 | } 57 | if (!self.framesArr) { 58 | self.framesArr = [self.frames mutableCopy]; 59 | } 60 | [self resetBtnFrame]; 61 | 62 | 63 | } 64 | - (IBAction)checkBtnClick:(id)sender { 65 | [self resetBtnFrame]; 66 | } 67 | 68 | - (void)resetBtnFrame{ 69 | 70 | if (self.titlesArr.count>0&&self.framesArr.count>0) { 71 | CGRect rect = CGRectFromString(self.framesArr.firstObject); 72 | self.btnX.constant = rect.origin.x; 73 | self.btnY.constant = rect.origin.y; 74 | if (rect.size.width>0) { 75 | self.btnW.constant = rect.size.width; 76 | }else{ 77 | self.btnW.constant = WINSIZE.width/375*120; 78 | } 79 | if (rect.size.height>0) { 80 | self.btnH.constant = rect.size.height; 81 | } 82 | [self.view layoutIfNeeded]; 83 | [self.framesArr removeObjectAtIndex:0]; 84 | 85 | self.titleLab.text = [self.titlesArr firstObject]; 86 | [self.titlesArr removeObjectAtIndex:0]; 87 | 88 | [self resetSubViewsFrameWithBtnFrame:self.checkBtn.frame]; 89 | }else{ 90 | [self dismissViewControllerAnimated:YES completion:nil]; 91 | } 92 | 93 | 94 | } 95 | 96 | - (void)resetSubViewsFrameWithBtnFrame:(CGRect)frame{ 97 | 98 | CGFloat centerX = WINSIZE.width/2; 99 | CGFloat centerY = WINSIZE.height/2; 100 | CGFloat x = frame.origin.x; 101 | CGFloat y = frame.origin.y; 102 | CGFloat btnW = frame.size.width; 103 | CGFloat btnH = frame.size.height; 104 | 105 | CGFloat arrowsX; 106 | CGFloat arrowsY; 107 | CGFloat titleLabX; 108 | CGFloat titleLabY; 109 | self.titleLabH = [self labelHeightFromeString:self.titleLab.text with:titleLabW]; 110 | 111 | 112 | CGFloat angle; 113 | if (x=centerX && y<=centerY){ 123 | //右上 124 | //箭头旋转-90‘ 125 | angle = -M_PI_2; 126 | arrowsX = x-arrowsImageViewW/2; 127 | arrowsY = y+btnH; 128 | titleLabX = arrowsX-titleLabW/2; 129 | titleLabY = arrowsY+arrowsImageViewH; 130 | 131 | 132 | }else if(x>=centerX && y>=centerY){ 133 | //右下 134 | //箭头不旋转 135 | angle = 0; 136 | arrowsX = x; 137 | arrowsY = y-arrowsImageViewH; 138 | titleLabX = arrowsX-titleLabW+20; 139 | titleLabY = arrowsY-self.titleLabH+20; 140 | 141 | 142 | }else if(xcenterY){ 143 | //左下 144 | angle = M_PI_2; 145 | arrowsX = x+arrowsImageViewW/2; 146 | arrowsY = y-btnH; 147 | titleLabX = arrowsX; 148 | titleLabY = arrowsY-self.titleLabH; 149 | 150 | 151 | } 152 | self.arrowsImageView.transform = CGAffineTransformMakeRotation(angle); 153 | self.arrowsImageView.frame = CGRectMake(arrowsX, arrowsY, arrowsImageViewW, arrowsImageViewH); 154 | self.titleLab.frame = CGRectMake(titleLabX, titleLabY, titleLabW, self.titleLabH); 155 | [self.view addSubview:self.arrowsImageView]; 156 | [self startArrowsAnimation]; 157 | [self.view addSubview:self.titleLab]; 158 | //[self.view layoutSubviews]; 159 | [self.view layoutIfNeeded]; 160 | 161 | } 162 | 163 | /** 164 | * @desc根据字符串和宽度计算高度 165 | */ 166 | - (CGFloat)labelHeightFromeString:(NSString *)string with:(CGFloat)with 167 | { 168 | CGRect tmpsize = [string boundingRectWithSize:CGSizeMake(with, MAXFLOAT) options:NSStringDrawingTruncatesLastVisibleLine | NSStringDrawingUsesFontLeading |NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName: [UIFont fontWithName:@"Wawati SC" size:24]} context:nil]; 169 | return tmpsize.size.height; 170 | } 171 | - (void)startArrowsAnimation{ 172 | 173 | if (self.arrowsImageView.animationImages == nil) { 174 | NSMutableArray *images = [[NSMutableArray alloc]init]; 175 | for (int i = 1; i<=8; i++) { 176 | UIImage *image = [UIImage imageNamed:[NSString stringWithFormat: @"userGuide_arrors%d",i]]; 177 | [images addObject:image]; 178 | } 179 | self.arrowsImageView.animationImages = images; 180 | self.arrowsImageView.animationDuration = 0.6; 181 | self.arrowsImageView.animationRepeatCount = 0; 182 | } 183 | 184 | [self.arrowsImageView startAnimating]; 185 | } 186 | 187 | - (void)stopArrowsAnimation{ 188 | if ([self.arrowsImageView isAnimating]) [self.arrowsImageView stopAnimating]; 189 | } 190 | 191 | -(UILabel *)titleLab 192 | { 193 | if (!_titleLab) { 194 | _titleLab =[[UILabel alloc]init]; 195 | _titleLab.textColor = [UIColor whiteColor]; 196 | _titleLab.numberOfLines = 0; 197 | _titleLab.font = [UIFont fontWithName:@"Wawati SC" size:24]; 198 | _titleLab.text = @"这是一个新功能,这个功能很牛逼啊很牛B"; 199 | } 200 | return _titleLab; 201 | } 202 | 203 | -(UIImageView *)arrowsImageView 204 | { 205 | if (!_arrowsImageView) { 206 | _arrowsImageView = [[UIImageView alloc]init]; 207 | } 208 | return _arrowsImageView; 209 | 210 | } 211 | 212 | @end 213 | -------------------------------------------------------------------------------- /FunctionGuiding/WBGuide/RAYNewFunctionGuideVC.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /FunctionGuiding/WBGuide/WawaSC-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbxiaowangzi/FunctionGuideController/00cd9a2a2c49b6acf05fb794f9156aafcfee2274/FunctionGuiding/WBGuide/WawaSC-Regular.otf -------------------------------------------------------------------------------- /FunctionGuiding/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FunctionGuiding 4 | // 5 | // Created by wbxiaowangzi on 16/2/24. 6 | // Copyright © 2016年 上海燃耀. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FunctionGuideController 2 | 新功能引导控制器,传入两个数组就能使用,由于添加了自定义字体,和图片资源,所以比较大,代码本身并不大 3 | 4 | ![Aaron Swartz](https://github.com/wbxiaowangzi/FunctionGuideController/blob/master/FunctionGuide.gif) 5 | --------------------------------------------------------------------------------