├── README.md ├── 网易云音乐Tabbar ├── images │ ├── account_item.png │ ├── account_item@2x.png │ ├── cm2_btm_icn_friend.png │ ├── cm2_btm_icn_account.png │ ├── cm2_btm_icn_account@2x.png │ └── cm2_btm_icn_friend@2x.png ├── Images.xcassets │ ├── 31 │ │ ├── cm2_btm_bg.imageset │ │ │ ├── cm2_btm_bg.png │ │ │ ├── cm2_btm_bg@2x.png │ │ │ ├── cm2_btm_bg@3x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_bg-ip6.imageset │ │ │ ├── cm2_btm_bg-ip6@2x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_icn_friend.imageset │ │ │ ├── cm2_btm_icn_friend.png │ │ │ ├── cm2_btm_icn_friend@2x.png │ │ │ ├── cm2_btm_icn_friend@3x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_icn_music.imageset │ │ │ ├── cm2_btm_icn_music.png │ │ │ ├── cm2_btm_icn_music@2x.png │ │ │ ├── cm2_btm_icn_music@3x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_icn_account.imageset │ │ │ ├── cm2_btm_icn_account.png │ │ │ ├── cm2_btm_icn_account@2x.png │ │ │ ├── cm2_btm_icn_account@3x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_icn_discovery.imageset │ │ │ ├── cm2_btm_icn_discovery.png │ │ │ ├── cm2_btm_icn_discovery@2x.png │ │ │ ├── cm2_btm_icn_discovery@3x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_icn_music_prs.imageset │ │ │ ├── cm2_btm_icn_music_prs.png │ │ │ ├── cm2_btm_icn_music_prs@2x.png │ │ │ ├── cm2_btm_icn_music_prs@3x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_icn_account_prs.imageset │ │ │ ├── cm2_btm_icn_account_prs.png │ │ │ ├── cm2_btm_icn_account_prs@2x.png │ │ │ ├── cm2_btm_icn_account_prs@3x.png │ │ │ └── Contents.json │ │ ├── cm2_btm_icn_friend_prs.imageset │ │ │ ├── cm2_btm_icn_friend_prs.png │ │ │ ├── cm2_btm_icn_friend_prs@2x.png │ │ │ ├── cm2_btm_icn_friend_prs@3x.png │ │ │ └── Contents.json │ │ └── cm2_btm_icn_discovery_prs.imageset │ │ │ ├── cm2_btm_icn_discovery_prs.png │ │ │ ├── cm2_btm_icn_discovery_prs@2x.png │ │ │ ├── cm2_btm_icn_discovery_prs@3x.png │ │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── MyTabbarItem.h ├── ViewController.h ├── MyTabViewController.h ├── AppDelegate.h ├── main.m ├── ViewController.m ├── MyTabbarItem.m ├── Info.plist ├── MyTabViewController.m ├── AppDelegate.m └── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── 网易云音乐Tabbar.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── project.pbxproj ├── .gitignore └── 网易云音乐TabbarTests ├── Info.plist └── _____TabbarTests.m /README.md: -------------------------------------------------------------------------------- 1 | # CuteTabBarDemo 2 | 网易云音乐tabbar demo,有动态效果,很可爱 3 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/images/account_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/images/account_item.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/images/account_item@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/images/account_item@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/images/cm2_btm_icn_friend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/images/cm2_btm_icn_friend.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/images/cm2_btm_icn_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/images/cm2_btm_icn_account.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/images/cm2_btm_icn_account@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/images/cm2_btm_icn_account@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/images/cm2_btm_icn_friend@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/images/cm2_btm_icn_friend@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg.imageset/cm2_btm_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg.imageset/cm2_btm_bg.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg.imageset/cm2_btm_bg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg.imageset/cm2_btm_bg@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg.imageset/cm2_btm_bg@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg.imageset/cm2_btm_bg@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg-ip6.imageset/cm2_btm_bg-ip6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg-ip6.imageset/cm2_btm_bg-ip6@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend.imageset/cm2_btm_icn_friend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend.imageset/cm2_btm_icn_friend.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music.imageset/cm2_btm_icn_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music.imageset/cm2_btm_icn_music.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account.imageset/cm2_btm_icn_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account.imageset/cm2_btm_icn_account.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music.imageset/cm2_btm_icn_music@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music.imageset/cm2_btm_icn_music@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music.imageset/cm2_btm_icn_music@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music.imageset/cm2_btm_icn_music@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account.imageset/cm2_btm_icn_account@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account.imageset/cm2_btm_icn_account@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account.imageset/cm2_btm_icn_account@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account.imageset/cm2_btm_icn_account@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend.imageset/cm2_btm_icn_friend@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend.imageset/cm2_btm_icn_friend@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend.imageset/cm2_btm_icn_friend@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend.imageset/cm2_btm_icn_friend@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery.imageset/cm2_btm_icn_discovery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery.imageset/cm2_btm_icn_discovery.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music_prs.imageset/cm2_btm_icn_music_prs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music_prs.imageset/cm2_btm_icn_music_prs.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account_prs.imageset/cm2_btm_icn_account_prs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account_prs.imageset/cm2_btm_icn_account_prs.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery.imageset/cm2_btm_icn_discovery@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery.imageset/cm2_btm_icn_discovery@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery.imageset/cm2_btm_icn_discovery@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery.imageset/cm2_btm_icn_discovery@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend_prs.imageset/cm2_btm_icn_friend_prs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend_prs.imageset/cm2_btm_icn_friend_prs.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music_prs.imageset/cm2_btm_icn_music_prs@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music_prs.imageset/cm2_btm_icn_music_prs@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music_prs.imageset/cm2_btm_icn_music_prs@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music_prs.imageset/cm2_btm_icn_music_prs@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend_prs.imageset/cm2_btm_icn_friend_prs@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend_prs.imageset/cm2_btm_icn_friend_prs@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend_prs.imageset/cm2_btm_icn_friend_prs@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend_prs.imageset/cm2_btm_icn_friend_prs@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account_prs.imageset/cm2_btm_icn_account_prs@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account_prs.imageset/cm2_btm_icn_account_prs@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account_prs.imageset/cm2_btm_icn_account_prs@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account_prs.imageset/cm2_btm_icn_account_prs@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery_prs.imageset/cm2_btm_icn_discovery_prs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery_prs.imageset/cm2_btm_icn_discovery_prs.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery_prs.imageset/cm2_btm_icn_discovery_prs@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery_prs.imageset/cm2_btm_icn_discovery_prs@2x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery_prs.imageset/cm2_btm_icn_discovery_prs@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pengxianhe/CuteTabBarDemo/HEAD/网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery_prs.imageset/cm2_btm_icn_discovery_prs@3x.png -------------------------------------------------------------------------------- /网易云音乐Tabbar.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/MyTabbarItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // MyTabbarItem.h 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MyTabbarItem : UITabBarItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/MyTabViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MyTabViewController.h 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MyTabViewController : UITabBarController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. 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 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. 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 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg-ip6.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "cm2_btm_bg-ip6@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_bg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_bg.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_bg@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_bg@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_music.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_music@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_music@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_account.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_account@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_account@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_friend.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_friend@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_friend@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_discovery.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_discovery@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_discovery@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_music_prs.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_music_prs.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_music_prs@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_music_prs@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_friend_prs.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_friend_prs.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_friend_prs@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_friend_prs@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_account_prs.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_account_prs.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_account_prs@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_account_prs@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/31/cm2_btm_icn_discovery_prs.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "cm2_btm_icn_discovery_prs.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "cm2_btm_icn_discovery_prs@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "cm2_btm_icn_discovery_prs@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | #Pods/ 27 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /网易云音乐TabbarTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | pengxianhe.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/MyTabbarItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // MyTabbarItem.m 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. All rights reserved. 7 | // 8 | 9 | #import "MyTabbarItem.h" 10 | 11 | @implementation MyTabbarItem 12 | 13 | - (void)awakeFromNib { 14 | [super awakeFromNib]; 15 | self.imageInsets = UIEdgeInsetsMake(-8, 0, 8, 0); 16 | [self setTitleTextAttributes:[NSDictionary 17 | dictionaryWithObjectsAndKeys: [UIColor colorWithRed:100.0 / 255.0 green:100.0 / 255.0 blue:100.0 / 255.0 alpha:1], 18 | NSForegroundColorAttributeName, nil] forState:UIControlStateSelected]; 19 | [self setTitleTextAttributes:[NSDictionary 20 | dictionaryWithObjectsAndKeys: [UIColor brownColor], 21 | NSForegroundColorAttributeName, nil] forState:UIControlStateNormal]; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /网易云音乐TabbarTests/_____TabbarTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // _____TabbarTests.m 3 | // 网易云音乐TabbarTests 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface _____TabbarTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation _____TabbarTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /网易云音乐Tabbar/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | pengxianhe.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/MyTabViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MyTabViewController.m 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. All rights reserved. 7 | // 8 | 9 | #import "MyTabViewController.h" 10 | 11 | @interface MyTabViewController () 12 | 13 | @end 14 | 15 | @implementation MyTabViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | - (void)awakeFromNib { 23 | [super awakeFromNib]; 24 | [self setItemsImages:@[@"cm2_btm_icn_discovery",@"cm2_btm_icn_music",@"cm2_btm_icn_friend",@"cm2_btm_icn_account"] selectedImages:@[@"cm2_btm_icn_discovery_prs",@"cm2_btm_icn_music_prs",@"cm2_btm_icn_friend_prs",@"cm2_btm_icn_account_prs"]]; 25 | self.tabBar.backgroundImage = [UIImage imageNamed:@"cm2_btm_bg"]; 26 | [self.tabBar setShadowImage:[UIImage new]]; 27 | } 28 | 29 | - (void)setItemsImages:(NSArray *)imageArray selectedImages:(NSArray *)selectedImageArray { 30 | for (int i = 0; i < self.tabBar.items.count; i ++) { 31 | UITabBarItem * barItem = self.tabBar.items[i]; 32 | if (imageArray.count > i && selectedImageArray.count > i) { 33 | //这里是重点了,使用原始图片UIImageRenderingModeAlwaysOriginal,这样才能保证正常显示图片 34 | barItem.image = [[UIImage imageNamed:imageArray[i]] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 35 | barItem.selectedImage = [[UIImage imageNamed:selectedImageArray[i]] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 36 | } 37 | } 38 | } 39 | 40 | - (void)didReceiveMemoryWarning { 41 | [super didReceiveMemoryWarning]; 42 | // Dispose of any resources that can be recreated. 43 | } 44 | 45 | /* 46 | #pragma mark - Navigation 47 | 48 | // In a storyboard-based application, you will often want to do a little preparation before navigation 49 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 50 | // Get the new view controller using [segue destinationViewController]. 51 | // Pass the selected object to the new view controller. 52 | } 53 | */ 54 | 55 | @end 56 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // 网易云音乐Tabbar 4 | // 5 | // Created by 彭显鹤 on 15/4/18. 6 | // Copyright (c) 2015年 彭显鹤. 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 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /网易云音乐Tabbar/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 | 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 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /网易云音乐Tabbar.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3658AAB91AE28716003A2DB9 /* MyTabViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3658AAB81AE28716003A2DB9 /* MyTabViewController.m */; }; 11 | 3658AABC1AE28A6D003A2DB9 /* MyTabbarItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 3658AABB1AE28A6D003A2DB9 /* MyTabbarItem.m */; }; 12 | 36BF0BF21AE2761700A94AB2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 36BF0BF11AE2761700A94AB2 /* main.m */; }; 13 | 36BF0BF51AE2761700A94AB2 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 36BF0BF41AE2761700A94AB2 /* AppDelegate.m */; }; 14 | 36BF0BF81AE2761700A94AB2 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 36BF0BF71AE2761700A94AB2 /* ViewController.m */; }; 15 | 36BF0BFB1AE2761700A94AB2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 36BF0BF91AE2761700A94AB2 /* Main.storyboard */; }; 16 | 36BF0BFD1AE2761700A94AB2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 36BF0BFC1AE2761700A94AB2 /* Images.xcassets */; }; 17 | 36BF0C001AE2761700A94AB2 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 36BF0BFE1AE2761700A94AB2 /* LaunchScreen.xib */; }; 18 | 36BF0C0C1AE2761700A94AB2 /* _____TabbarTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 36BF0C0B1AE2761700A94AB2 /* _____TabbarTests.m */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | 36BF0C061AE2761700A94AB2 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = 36BF0BE41AE2761700A94AB2 /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 36BF0BEB1AE2761700A94AB2; 27 | remoteInfo = "网易云音乐Tabbar"; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 3658AAB71AE28716003A2DB9 /* MyTabViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyTabViewController.h; sourceTree = ""; }; 33 | 3658AAB81AE28716003A2DB9 /* MyTabViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyTabViewController.m; sourceTree = ""; }; 34 | 3658AABA1AE28A6D003A2DB9 /* MyTabbarItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyTabbarItem.h; sourceTree = ""; }; 35 | 3658AABB1AE28A6D003A2DB9 /* MyTabbarItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyTabbarItem.m; sourceTree = ""; }; 36 | 36BF0BEC1AE2761700A94AB2 /* 网易云音乐Tabbar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "网易云音乐Tabbar.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 36BF0BF01AE2761700A94AB2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 36BF0BF11AE2761700A94AB2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 39 | 36BF0BF31AE2761700A94AB2 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 40 | 36BF0BF41AE2761700A94AB2 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 41 | 36BF0BF61AE2761700A94AB2 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 42 | 36BF0BF71AE2761700A94AB2 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 43 | 36BF0BFA1AE2761700A94AB2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 44 | 36BF0BFC1AE2761700A94AB2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 45 | 36BF0BFF1AE2761700A94AB2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 46 | 36BF0C051AE2761700A94AB2 /* 网易云音乐TabbarTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "网易云音乐TabbarTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 36BF0C0A1AE2761700A94AB2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 36BF0C0B1AE2761700A94AB2 /* _____TabbarTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "_____TabbarTests.m"; sourceTree = ""; }; 49 | /* End PBXFileReference section */ 50 | 51 | /* Begin PBXFrameworksBuildPhase section */ 52 | 36BF0BE91AE2761700A94AB2 /* Frameworks */ = { 53 | isa = PBXFrameworksBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | 36BF0C021AE2761700A94AB2 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | ); 64 | runOnlyForDeploymentPostprocessing = 0; 65 | }; 66 | /* End PBXFrameworksBuildPhase section */ 67 | 68 | /* Begin PBXGroup section */ 69 | 36BF0BE31AE2761700A94AB2 = { 70 | isa = PBXGroup; 71 | children = ( 72 | 36BF0BEE1AE2761700A94AB2 /* 网易云音乐Tabbar */, 73 | 36BF0C081AE2761700A94AB2 /* 网易云音乐TabbarTests */, 74 | 36BF0BED1AE2761700A94AB2 /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 36BF0BED1AE2761700A94AB2 /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 36BF0BEC1AE2761700A94AB2 /* 网易云音乐Tabbar.app */, 82 | 36BF0C051AE2761700A94AB2 /* 网易云音乐TabbarTests.xctest */, 83 | ); 84 | name = Products; 85 | sourceTree = ""; 86 | }; 87 | 36BF0BEE1AE2761700A94AB2 /* 网易云音乐Tabbar */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | 36BF0BF31AE2761700A94AB2 /* AppDelegate.h */, 91 | 36BF0BF41AE2761700A94AB2 /* AppDelegate.m */, 92 | 36BF0BF61AE2761700A94AB2 /* ViewController.h */, 93 | 36BF0BF71AE2761700A94AB2 /* ViewController.m */, 94 | 3658AAB71AE28716003A2DB9 /* MyTabViewController.h */, 95 | 3658AAB81AE28716003A2DB9 /* MyTabViewController.m */, 96 | 3658AABA1AE28A6D003A2DB9 /* MyTabbarItem.h */, 97 | 3658AABB1AE28A6D003A2DB9 /* MyTabbarItem.m */, 98 | 36BF0BF91AE2761700A94AB2 /* Main.storyboard */, 99 | 36BF0BFC1AE2761700A94AB2 /* Images.xcassets */, 100 | 36BF0BFE1AE2761700A94AB2 /* LaunchScreen.xib */, 101 | 36BF0BEF1AE2761700A94AB2 /* Supporting Files */, 102 | ); 103 | path = "网易云音乐Tabbar"; 104 | sourceTree = ""; 105 | }; 106 | 36BF0BEF1AE2761700A94AB2 /* Supporting Files */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 36BF0BF01AE2761700A94AB2 /* Info.plist */, 110 | 36BF0BF11AE2761700A94AB2 /* main.m */, 111 | ); 112 | name = "Supporting Files"; 113 | sourceTree = ""; 114 | }; 115 | 36BF0C081AE2761700A94AB2 /* 网易云音乐TabbarTests */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 36BF0C0B1AE2761700A94AB2 /* _____TabbarTests.m */, 119 | 36BF0C091AE2761700A94AB2 /* Supporting Files */, 120 | ); 121 | path = "网易云音乐TabbarTests"; 122 | sourceTree = ""; 123 | }; 124 | 36BF0C091AE2761700A94AB2 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 36BF0C0A1AE2761700A94AB2 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | /* End PBXGroup section */ 133 | 134 | /* Begin PBXNativeTarget section */ 135 | 36BF0BEB1AE2761700A94AB2 /* 网易云音乐Tabbar */ = { 136 | isa = PBXNativeTarget; 137 | buildConfigurationList = 36BF0C0F1AE2761700A94AB2 /* Build configuration list for PBXNativeTarget "网易云音乐Tabbar" */; 138 | buildPhases = ( 139 | 36BF0BE81AE2761700A94AB2 /* Sources */, 140 | 36BF0BE91AE2761700A94AB2 /* Frameworks */, 141 | 36BF0BEA1AE2761700A94AB2 /* Resources */, 142 | ); 143 | buildRules = ( 144 | ); 145 | dependencies = ( 146 | ); 147 | name = "网易云音乐Tabbar"; 148 | productName = "网易云音乐Tabbar"; 149 | productReference = 36BF0BEC1AE2761700A94AB2 /* 网易云音乐Tabbar.app */; 150 | productType = "com.apple.product-type.application"; 151 | }; 152 | 36BF0C041AE2761700A94AB2 /* 网易云音乐TabbarTests */ = { 153 | isa = PBXNativeTarget; 154 | buildConfigurationList = 36BF0C121AE2761700A94AB2 /* Build configuration list for PBXNativeTarget "网易云音乐TabbarTests" */; 155 | buildPhases = ( 156 | 36BF0C011AE2761700A94AB2 /* Sources */, 157 | 36BF0C021AE2761700A94AB2 /* Frameworks */, 158 | 36BF0C031AE2761700A94AB2 /* Resources */, 159 | ); 160 | buildRules = ( 161 | ); 162 | dependencies = ( 163 | 36BF0C071AE2761700A94AB2 /* PBXTargetDependency */, 164 | ); 165 | name = "网易云音乐TabbarTests"; 166 | productName = "网易云音乐TabbarTests"; 167 | productReference = 36BF0C051AE2761700A94AB2 /* 网易云音乐TabbarTests.xctest */; 168 | productType = "com.apple.product-type.bundle.unit-test"; 169 | }; 170 | /* End PBXNativeTarget section */ 171 | 172 | /* Begin PBXProject section */ 173 | 36BF0BE41AE2761700A94AB2 /* Project object */ = { 174 | isa = PBXProject; 175 | attributes = { 176 | LastUpgradeCheck = 0630; 177 | ORGANIZATIONNAME = "彭显鹤"; 178 | TargetAttributes = { 179 | 36BF0BEB1AE2761700A94AB2 = { 180 | CreatedOnToolsVersion = 6.3; 181 | }; 182 | 36BF0C041AE2761700A94AB2 = { 183 | CreatedOnToolsVersion = 6.3; 184 | TestTargetID = 36BF0BEB1AE2761700A94AB2; 185 | }; 186 | }; 187 | }; 188 | buildConfigurationList = 36BF0BE71AE2761700A94AB2 /* Build configuration list for PBXProject "网易云音乐Tabbar" */; 189 | compatibilityVersion = "Xcode 3.2"; 190 | developmentRegion = English; 191 | hasScannedForEncodings = 0; 192 | knownRegions = ( 193 | en, 194 | Base, 195 | ); 196 | mainGroup = 36BF0BE31AE2761700A94AB2; 197 | productRefGroup = 36BF0BED1AE2761700A94AB2 /* Products */; 198 | projectDirPath = ""; 199 | projectRoot = ""; 200 | targets = ( 201 | 36BF0BEB1AE2761700A94AB2 /* 网易云音乐Tabbar */, 202 | 36BF0C041AE2761700A94AB2 /* 网易云音乐TabbarTests */, 203 | ); 204 | }; 205 | /* End PBXProject section */ 206 | 207 | /* Begin PBXResourcesBuildPhase section */ 208 | 36BF0BEA1AE2761700A94AB2 /* Resources */ = { 209 | isa = PBXResourcesBuildPhase; 210 | buildActionMask = 2147483647; 211 | files = ( 212 | 36BF0BFB1AE2761700A94AB2 /* Main.storyboard in Resources */, 213 | 36BF0C001AE2761700A94AB2 /* LaunchScreen.xib in Resources */, 214 | 36BF0BFD1AE2761700A94AB2 /* Images.xcassets in Resources */, 215 | ); 216 | runOnlyForDeploymentPostprocessing = 0; 217 | }; 218 | 36BF0C031AE2761700A94AB2 /* Resources */ = { 219 | isa = PBXResourcesBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | ); 223 | runOnlyForDeploymentPostprocessing = 0; 224 | }; 225 | /* End PBXResourcesBuildPhase section */ 226 | 227 | /* Begin PBXSourcesBuildPhase section */ 228 | 36BF0BE81AE2761700A94AB2 /* Sources */ = { 229 | isa = PBXSourcesBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 3658AAB91AE28716003A2DB9 /* MyTabViewController.m in Sources */, 233 | 36BF0BF81AE2761700A94AB2 /* ViewController.m in Sources */, 234 | 36BF0BF51AE2761700A94AB2 /* AppDelegate.m in Sources */, 235 | 3658AABC1AE28A6D003A2DB9 /* MyTabbarItem.m in Sources */, 236 | 36BF0BF21AE2761700A94AB2 /* main.m in Sources */, 237 | ); 238 | runOnlyForDeploymentPostprocessing = 0; 239 | }; 240 | 36BF0C011AE2761700A94AB2 /* Sources */ = { 241 | isa = PBXSourcesBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | 36BF0C0C1AE2761700A94AB2 /* _____TabbarTests.m in Sources */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | /* End PBXSourcesBuildPhase section */ 249 | 250 | /* Begin PBXTargetDependency section */ 251 | 36BF0C071AE2761700A94AB2 /* PBXTargetDependency */ = { 252 | isa = PBXTargetDependency; 253 | target = 36BF0BEB1AE2761700A94AB2 /* 网易云音乐Tabbar */; 254 | targetProxy = 36BF0C061AE2761700A94AB2 /* PBXContainerItemProxy */; 255 | }; 256 | /* End PBXTargetDependency section */ 257 | 258 | /* Begin PBXVariantGroup section */ 259 | 36BF0BF91AE2761700A94AB2 /* Main.storyboard */ = { 260 | isa = PBXVariantGroup; 261 | children = ( 262 | 36BF0BFA1AE2761700A94AB2 /* Base */, 263 | ); 264 | name = Main.storyboard; 265 | sourceTree = ""; 266 | }; 267 | 36BF0BFE1AE2761700A94AB2 /* LaunchScreen.xib */ = { 268 | isa = PBXVariantGroup; 269 | children = ( 270 | 36BF0BFF1AE2761700A94AB2 /* Base */, 271 | ); 272 | name = LaunchScreen.xib; 273 | sourceTree = ""; 274 | }; 275 | /* End PBXVariantGroup section */ 276 | 277 | /* Begin XCBuildConfiguration section */ 278 | 36BF0C0D1AE2761700A94AB2 /* Debug */ = { 279 | isa = XCBuildConfiguration; 280 | buildSettings = { 281 | ALWAYS_SEARCH_USER_PATHS = NO; 282 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 283 | CLANG_CXX_LIBRARY = "libc++"; 284 | CLANG_ENABLE_MODULES = YES; 285 | CLANG_ENABLE_OBJC_ARC = YES; 286 | CLANG_WARN_BOOL_CONVERSION = YES; 287 | CLANG_WARN_CONSTANT_CONVERSION = YES; 288 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 289 | CLANG_WARN_EMPTY_BODY = YES; 290 | CLANG_WARN_ENUM_CONVERSION = YES; 291 | CLANG_WARN_INT_CONVERSION = YES; 292 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 293 | CLANG_WARN_UNREACHABLE_CODE = YES; 294 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 295 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 296 | COPY_PHASE_STRIP = NO; 297 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 298 | ENABLE_STRICT_OBJC_MSGSEND = YES; 299 | GCC_C_LANGUAGE_STANDARD = gnu99; 300 | GCC_DYNAMIC_NO_PIC = NO; 301 | GCC_NO_COMMON_BLOCKS = YES; 302 | GCC_OPTIMIZATION_LEVEL = 0; 303 | GCC_PREPROCESSOR_DEFINITIONS = ( 304 | "DEBUG=1", 305 | "$(inherited)", 306 | ); 307 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 308 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 309 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 310 | GCC_WARN_UNDECLARED_SELECTOR = YES; 311 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 312 | GCC_WARN_UNUSED_FUNCTION = YES; 313 | GCC_WARN_UNUSED_VARIABLE = YES; 314 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 315 | MTL_ENABLE_DEBUG_INFO = YES; 316 | ONLY_ACTIVE_ARCH = YES; 317 | SDKROOT = iphoneos; 318 | TARGETED_DEVICE_FAMILY = "1,2"; 319 | }; 320 | name = Debug; 321 | }; 322 | 36BF0C0E1AE2761700A94AB2 /* Release */ = { 323 | isa = XCBuildConfiguration; 324 | buildSettings = { 325 | ALWAYS_SEARCH_USER_PATHS = NO; 326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 327 | CLANG_CXX_LIBRARY = "libc++"; 328 | CLANG_ENABLE_MODULES = YES; 329 | CLANG_ENABLE_OBJC_ARC = YES; 330 | CLANG_WARN_BOOL_CONVERSION = YES; 331 | CLANG_WARN_CONSTANT_CONVERSION = YES; 332 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 333 | CLANG_WARN_EMPTY_BODY = YES; 334 | CLANG_WARN_ENUM_CONVERSION = YES; 335 | CLANG_WARN_INT_CONVERSION = YES; 336 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 337 | CLANG_WARN_UNREACHABLE_CODE = YES; 338 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 339 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 340 | COPY_PHASE_STRIP = NO; 341 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 342 | ENABLE_NS_ASSERTIONS = NO; 343 | ENABLE_STRICT_OBJC_MSGSEND = YES; 344 | GCC_C_LANGUAGE_STANDARD = gnu99; 345 | GCC_NO_COMMON_BLOCKS = YES; 346 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 347 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 348 | GCC_WARN_UNDECLARED_SELECTOR = YES; 349 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 350 | GCC_WARN_UNUSED_FUNCTION = YES; 351 | GCC_WARN_UNUSED_VARIABLE = YES; 352 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 353 | MTL_ENABLE_DEBUG_INFO = NO; 354 | SDKROOT = iphoneos; 355 | TARGETED_DEVICE_FAMILY = "1,2"; 356 | VALIDATE_PRODUCT = YES; 357 | }; 358 | name = Release; 359 | }; 360 | 36BF0C101AE2761700A94AB2 /* Debug */ = { 361 | isa = XCBuildConfiguration; 362 | buildSettings = { 363 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 364 | INFOPLIST_FILE = "网易云音乐Tabbar/Info.plist"; 365 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 366 | PRODUCT_NAME = "$(TARGET_NAME)"; 367 | }; 368 | name = Debug; 369 | }; 370 | 36BF0C111AE2761700A94AB2 /* Release */ = { 371 | isa = XCBuildConfiguration; 372 | buildSettings = { 373 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 374 | INFOPLIST_FILE = "网易云音乐Tabbar/Info.plist"; 375 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 376 | PRODUCT_NAME = "$(TARGET_NAME)"; 377 | }; 378 | name = Release; 379 | }; 380 | 36BF0C131AE2761700A94AB2 /* Debug */ = { 381 | isa = XCBuildConfiguration; 382 | buildSettings = { 383 | BUNDLE_LOADER = "$(TEST_HOST)"; 384 | FRAMEWORK_SEARCH_PATHS = ( 385 | "$(SDKROOT)/Developer/Library/Frameworks", 386 | "$(inherited)", 387 | ); 388 | GCC_PREPROCESSOR_DEFINITIONS = ( 389 | "DEBUG=1", 390 | "$(inherited)", 391 | ); 392 | INFOPLIST_FILE = "网易云音乐TabbarTests/Info.plist"; 393 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 394 | PRODUCT_NAME = "$(TARGET_NAME)"; 395 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/网易云音乐Tabbar.app/网易云音乐Tabbar"; 396 | }; 397 | name = Debug; 398 | }; 399 | 36BF0C141AE2761700A94AB2 /* Release */ = { 400 | isa = XCBuildConfiguration; 401 | buildSettings = { 402 | BUNDLE_LOADER = "$(TEST_HOST)"; 403 | FRAMEWORK_SEARCH_PATHS = ( 404 | "$(SDKROOT)/Developer/Library/Frameworks", 405 | "$(inherited)", 406 | ); 407 | INFOPLIST_FILE = "网易云音乐TabbarTests/Info.plist"; 408 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 409 | PRODUCT_NAME = "$(TARGET_NAME)"; 410 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/网易云音乐Tabbar.app/网易云音乐Tabbar"; 411 | }; 412 | name = Release; 413 | }; 414 | /* End XCBuildConfiguration section */ 415 | 416 | /* Begin XCConfigurationList section */ 417 | 36BF0BE71AE2761700A94AB2 /* Build configuration list for PBXProject "网易云音乐Tabbar" */ = { 418 | isa = XCConfigurationList; 419 | buildConfigurations = ( 420 | 36BF0C0D1AE2761700A94AB2 /* Debug */, 421 | 36BF0C0E1AE2761700A94AB2 /* Release */, 422 | ); 423 | defaultConfigurationIsVisible = 0; 424 | defaultConfigurationName = Release; 425 | }; 426 | 36BF0C0F1AE2761700A94AB2 /* Build configuration list for PBXNativeTarget "网易云音乐Tabbar" */ = { 427 | isa = XCConfigurationList; 428 | buildConfigurations = ( 429 | 36BF0C101AE2761700A94AB2 /* Debug */, 430 | 36BF0C111AE2761700A94AB2 /* Release */, 431 | ); 432 | defaultConfigurationIsVisible = 0; 433 | defaultConfigurationName = Release; 434 | }; 435 | 36BF0C121AE2761700A94AB2 /* Build configuration list for PBXNativeTarget "网易云音乐TabbarTests" */ = { 436 | isa = XCConfigurationList; 437 | buildConfigurations = ( 438 | 36BF0C131AE2761700A94AB2 /* Debug */, 439 | 36BF0C141AE2761700A94AB2 /* Release */, 440 | ); 441 | defaultConfigurationIsVisible = 0; 442 | defaultConfigurationName = Release; 443 | }; 444 | /* End XCConfigurationList section */ 445 | }; 446 | rootObject = 36BF0BE41AE2761700A94AB2 /* Project object */; 447 | } 448 | --------------------------------------------------------------------------------