├── LXHeartFlyAnimation
├── LXHeartFlyAnimation
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── applause.imageset
│ │ │ ├── applause.png
│ │ │ └── Contents.json
│ │ ├── applause1.imageset
│ │ │ ├── applause1.png
│ │ │ └── Contents.json
│ │ ├── applause2.imageset
│ │ │ ├── applause2.png
│ │ │ └── Contents.json
│ │ ├── applause3.imageset
│ │ │ ├── applause3.png
│ │ │ └── Contents.json
│ │ ├── applause4.imageset
│ │ │ ├── applause4.png
│ │ │ └── Contents.json
│ │ ├── applause5.imageset
│ │ │ ├── applause5.png
│ │ │ └── Contents.json
│ │ ├── applause6.imageset
│ │ │ ├── applause6.png
│ │ │ └── Contents.json
│ │ ├── applause7.imageset
│ │ │ ├── applause7.png
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── ViewController.h
│ ├── AppDelegate.h
│ ├── main.m
│ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.storyboard
│ ├── Info.plist
│ ├── AppDelegate.m
│ └── ViewController.m
├── 9162970F12F5E88EC52733C25A2091B8.jpg
├── LXHeartFlyAnimation.xcodeproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── project.pbxproj
├── LXHeartFlyAnimationTests
│ ├── Info.plist
│ └── LXHeartFlyAnimationTests.m
└── LXHeartFlyAnimationUITests
│ ├── Info.plist
│ └── LXHeartFlyAnimationUITests.m
├── README.md
└── .gitignore
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/9162970F12F5E88EC52733C25A2091B8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/9162970F12F5E88EC52733C25A2091B8.jpg
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # LiXiHeartFlyAnimation1
2 | 直播点赞效果展示,第一次上传代码,新人驾到,小伙伴多多支持,给我点亮星星哦!!!!
3 | 
4 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause.imageset/applause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause.imageset/applause.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause1.imageset/applause1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause1.imageset/applause1.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause2.imageset/applause2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause2.imageset/applause2.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause3.imageset/applause3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause3.imageset/applause3.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause4.imageset/applause4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause4.imageset/applause4.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause5.imageset/applause5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause5.imageset/applause5.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause6.imageset/applause6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause6.imageset/applause6.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause7.imageset/applause7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hurryup1994/LiXiHeartFlyAnimation1/HEAD/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause7.imageset/applause7.png
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // LXHeartFlyAnimation
4 | //
5 | // Created by wits on 16/9/21.
6 | // Copyright © 2016年 LiXi. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 |
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // LXHeartFlyAnimation
4 | //
5 | // Created by wits on 16/9/21.
6 | // Copyright © 2016年 LiXi. 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 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // LXHeartFlyAnimation
4 | //
5 | // Created by wits on 16/9/21.
6 | // Copyright © 2016年 LiXi. 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 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause1.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause2.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause3.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause3.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause4.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause4.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause5.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause5.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause6.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause6.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Assets.xcassets/applause7.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "applause7.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 | }
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimationTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimationUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimationTests/LXHeartFlyAnimationTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // LXHeartFlyAnimationTests.m
3 | // LXHeartFlyAnimationTests
4 | //
5 | // Created by wits on 16/9/21.
6 | // Copyright © 2016年 LiXi. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface LXHeartFlyAnimationTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation LXHeartFlyAnimationTests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 | // Put setup code here. This method is called before the invocation of each test method in the class.
20 | }
21 |
22 | - (void)tearDown {
23 | // Put teardown code here. This method is called after the invocation of each test method in the class.
24 | [super tearDown];
25 | }
26 |
27 | - (void)testExample {
28 | // This is an example of a functional test case.
29 | // Use XCTAssert and related functions to verify your tests produce the correct results.
30 | }
31 |
32 | - (void)testPerformanceExample {
33 | // This is an example of a performance test case.
34 | [self measureBlock:^{
35 | // Put the code you want to measure the time of here.
36 | }];
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimationUITests/LXHeartFlyAnimationUITests.m:
--------------------------------------------------------------------------------
1 | //
2 | // LXHeartFlyAnimationUITests.m
3 | // LXHeartFlyAnimationUITests
4 | //
5 | // Created by wits on 16/9/21.
6 | // Copyright © 2016年 LiXi. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface LXHeartFlyAnimationUITests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation LXHeartFlyAnimationUITests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 |
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 |
22 | // In UI tests it is usually best to stop immediately when a failure occurs.
23 | self.continueAfterFailure = NO;
24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
25 | [[[XCUIApplication alloc] init] launch];
26 |
27 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
28 | }
29 |
30 | - (void)tearDown {
31 | // Put teardown code here. This method is called after the invocation of each test method in the class.
32 | [super tearDown];
33 | }
34 |
35 | - (void)testExample {
36 | // Use recording to get started writing UI tests.
37 | // Use XCTAssert and related functions to verify your tests produce the correct results.
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/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 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xcuserstate
23 |
24 | ## Obj-C/Swift specific
25 | *.hmap
26 | *.ipa
27 | *.dSYM.zip
28 | *.dSYM
29 |
30 | # CocoaPods
31 | #
32 | # We recommend against adding the Pods directory to your .gitignore. However
33 | # you should judge for yourself, the pros and cons are mentioned at:
34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
35 | #
36 | # Pods/
37 |
38 | # Carthage
39 | #
40 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
41 | # Carthage/Checkouts
42 |
43 | Carthage/Build
44 |
45 | # fastlane
46 | #
47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
48 | # screenshots whenever they are needed.
49 | # For more information about the recommended setup visit:
50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
51 |
52 | fastlane/report.xml
53 | fastlane/screenshots
54 |
55 | #Code Injection
56 | #
57 | # After new code Injection tools there's a generated folder /iOSInjectionProject
58 | # https://github.com/johnno1962/injectionforxcode
59 |
60 | iOSInjectionProject/
61 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/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 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | 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 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/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 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // LXHeartFlyAnimation
4 | //
5 | // Created by wits on 16/9/21.
6 | // Copyright © 2016年 LiXi. 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 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // LXHeartFlyAnimation
4 | //
5 | // Created by wits on 16/9/21.
6 | // Copyright © 2016年 LiXi. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 |
11 | @interface ViewController ()
12 | @property (strong, nonatomic) UIButton *applauseBtn;
13 | @property (strong, nonatomic) UILabel *applauseNumLabel;
14 | @property (assign, nonatomic) NSInteger applauseNum;
15 | @property (strong, nonatomic) UILabel *WeChat;
16 | @end
17 |
18 | @implementation ViewController
19 |
20 | - (void)viewDidLoad {
21 | [super viewDidLoad];
22 | [self setUI];
23 | }
24 |
25 | - (void)setUI {
26 |
27 | UIImageView *image = [[UIImageView alloc] initWithFrame:[UIScreen mainScreen].bounds];
28 | [image setImage:[UIImage imageNamed:@"applause5"]];
29 | [self.view addSubview:image];
30 |
31 | //微信号LIXI134
32 | self.WeChat = [[UILabel alloc] init];
33 | self.WeChat.textColor = [UIColor colorWithRed:1.0 green:0.0 blue:0.0 alpha:1.0];
34 | self.WeChat.font = [UIFont systemFontOfSize:24];
35 | self.WeChat.text = @"微信:LIXI134";
36 | self.WeChat.textAlignment = NSTextAlignmentCenter;
37 | self.WeChat.frame = CGRectMake(10, self.view.frame.size.height-80-60, 250, 60);
38 | [self.view addSubview:self.WeChat];
39 |
40 | //鼓掌按钮
41 | self.applauseBtn = [[UIButton alloc] initWithFrame:CGRectMake(self.view.frame.size.width-15-60, self.view.frame.size.height-80-60, 60, 60)];
42 | self.applauseBtn.contentMode = UIViewContentModeScaleToFill;
43 | [self.applauseBtn setImage:[UIImage imageNamed:@"applause5"] forState:UIControlStateNormal];
44 | [self.applauseBtn setImage:[UIImage imageNamed:@"applause4"] forState:UIControlStateHighlighted];
45 | [self.applauseBtn addTarget:self action:@selector(applauseBtnClick) forControlEvents:UIControlEventTouchUpInside];
46 | self.applauseBtn.layer.cornerRadius = 30;
47 | self.applauseBtn.clipsToBounds = YES;
48 | [self.view addSubview:self.applauseBtn];
49 |
50 | //鼓掌数
51 | self.applauseNumLabel = [[UILabel alloc] init];
52 | self.applauseNumLabel.textColor = [UIColor whiteColor];
53 | self.applauseNumLabel.font = [UIFont systemFontOfSize:12];
54 | self.applauseNumLabel.text = @"0";
55 | self.applauseNumLabel.textAlignment = NSTextAlignmentCenter;
56 | self.applauseNumLabel.frame = CGRectMake(6, 43, 60, 12);
57 | [self.applauseBtn addSubview:self.applauseNumLabel];
58 | }
59 |
60 |
61 | #pragma mark 鼓掌按钮event
62 | - (void)applauseBtnClick {
63 | self.applauseNum++;
64 | self.applauseNumLabel.text = [NSString stringWithFormat:@"%zd", self.applauseNum];
65 | [self showTheApplauseInView:self.view belowView:self.applauseBtn];
66 | }
67 |
68 |
69 | #pragma mark 鼓掌动画
70 | - (void)showTheApplauseInView:(UIView *)view belowView:(UIButton *)v {
71 | //随机去图片
72 | NSInteger index = arc4random_uniform(8);
73 | NSString *image = [NSString stringWithFormat:@"applause%zd", index];
74 | //增大Y值可隐藏弹出动画
75 | UIImageView *applauseImageView = [[UIImageView alloc] initWithFrame:CGRectMake(self.view.frame.size.width-15-50, self.view.frame.size.height-150, 40, 40)];
76 | [view insertSubview:applauseImageView belowSubview:v];
77 | applauseImageView.image = [UIImage imageNamed:image];
78 | applauseImageView.layer.cornerRadius = 20;
79 | applauseImageView.clipsToBounds = YES;
80 |
81 | //动画路径高度
82 | CGFloat AnimH = 350;
83 | applauseImageView.transform = CGAffineTransformMakeScale(0, 0);
84 | applauseImageView.alpha = 0;
85 |
86 | //弹出动画
87 | //usingSpringWithDamping : 阻力
88 | //initialSpringVelocity : 动力
89 | [UIView animateWithDuration:0.2 delay:0.0 usingSpringWithDamping:0.6 initialSpringVelocity:0.8 options:UIViewAnimationOptionCurveEaseInOut animations:^{
90 | applauseImageView.transform = CGAffineTransformIdentity;
91 | applauseImageView.alpha = 0.9;
92 | } completion:NULL];
93 |
94 | //随机跑偏角度
95 | NSInteger i = arc4random_uniform(2);
96 | //-1 or 1, 随机方向
97 | NSInteger rotationDirection = 1 - (2*i);
98 | //随机角度
99 | NSInteger roatationFraction = arc4random_uniform(10);
100 | //图片在上升过程中旋转
101 | [UIView animateWithDuration:4 animations:^{
102 | applauseImageView.transform = CGAffineTransformMakeRotation(rotationDirection * M_PI/(4 + roatationFraction*0.2));
103 | } completion:NULL];
104 | //动画路径
105 | UIBezierPath *heartTravelPath = [UIBezierPath bezierPath];
106 | [heartTravelPath moveToPoint:applauseImageView.center];
107 |
108 | //随机取点
109 | CGFloat ViewX = applauseImageView.center.x;
110 | CGFloat ViewY = applauseImageView.center.y;
111 | CGPoint endPoint = CGPointMake(ViewX + rotationDirection*10, ViewY - AnimH);
112 |
113 | //随机control点
114 | NSInteger j = arc4random_uniform(2);
115 | //随机方向 -1 or 1
116 | NSInteger travelDirection = 1 - (2*j);
117 |
118 | NSInteger m1 = ViewX + travelDirection*(arc4random_uniform(20) + 50);
119 | NSInteger n1 = ViewY - 60 + travelDirection*arc4random_uniform(20);
120 | NSInteger m2 = ViewX - travelDirection*(arc4random_uniform(20) + 50);
121 | NSInteger n2 = ViewY -90 + travelDirection*arc4random_uniform(20);
122 | CGPoint controlPoint1 = CGPointMake(m1, n1);
123 | CGPoint controlPoint2 = CGPointMake(m2, n2);
124 |
125 | //根据贝塞尔曲线添加动画
126 | [heartTravelPath addCurveToPoint:endPoint controlPoint1:controlPoint1 controlPoint2:controlPoint2];
127 |
128 | //关键帧动画,实现整体图片位移
129 | CAKeyframeAnimation *keyframeAnimation = [CAKeyframeAnimation animationWithKeyPath:@"position"];
130 | keyframeAnimation.path = heartTravelPath.CGPath;
131 | keyframeAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionDefault];
132 | //往上飘动画时长,可控制速度
133 | keyframeAnimation.duration = 3;
134 | [applauseImageView.layer addAnimation:keyframeAnimation forKey:@"positionOnPath"];
135 |
136 | //消失动画
137 | [UIView animateWithDuration:3 animations:^{
138 | applauseImageView.alpha = 0.0;
139 | } completion:^(BOOL finished) {
140 | [applauseImageView removeFromSuperview];
141 | }];
142 | }
143 |
144 | @end
145 |
--------------------------------------------------------------------------------
/LXHeartFlyAnimation/LXHeartFlyAnimation.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 52CD4B541D9289380075DFC8 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 52CD4B531D9289380075DFC8 /* main.m */; };
11 | 52CD4B571D9289380075DFC8 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 52CD4B561D9289380075DFC8 /* AppDelegate.m */; };
12 | 52CD4B5A1D9289380075DFC8 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 52CD4B591D9289380075DFC8 /* ViewController.m */; };
13 | 52CD4B5D1D9289380075DFC8 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 52CD4B5B1D9289380075DFC8 /* Main.storyboard */; };
14 | 52CD4B5F1D9289380075DFC8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 52CD4B5E1D9289380075DFC8 /* Assets.xcassets */; };
15 | 52CD4B621D9289380075DFC8 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 52CD4B601D9289380075DFC8 /* LaunchScreen.storyboard */; };
16 | 52CD4B6D1D9289380075DFC8 /* LXHeartFlyAnimationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 52CD4B6C1D9289380075DFC8 /* LXHeartFlyAnimationTests.m */; };
17 | 52CD4B781D9289380075DFC8 /* LXHeartFlyAnimationUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 52CD4B771D9289380075DFC8 /* LXHeartFlyAnimationUITests.m */; };
18 | D987B4011D93AE4F00C4BA3E /* 9162970F12F5E88EC52733C25A2091B8.jpg in Resources */ = {isa = PBXBuildFile; fileRef = D987B4001D93AE4F00C4BA3E /* 9162970F12F5E88EC52733C25A2091B8.jpg */; };
19 | /* End PBXBuildFile section */
20 |
21 | /* Begin PBXContainerItemProxy section */
22 | 52CD4B691D9289380075DFC8 /* PBXContainerItemProxy */ = {
23 | isa = PBXContainerItemProxy;
24 | containerPortal = 52CD4B471D9289380075DFC8 /* Project object */;
25 | proxyType = 1;
26 | remoteGlobalIDString = 52CD4B4E1D9289380075DFC8;
27 | remoteInfo = LXHeartFlyAnimation;
28 | };
29 | 52CD4B741D9289380075DFC8 /* PBXContainerItemProxy */ = {
30 | isa = PBXContainerItemProxy;
31 | containerPortal = 52CD4B471D9289380075DFC8 /* Project object */;
32 | proxyType = 1;
33 | remoteGlobalIDString = 52CD4B4E1D9289380075DFC8;
34 | remoteInfo = LXHeartFlyAnimation;
35 | };
36 | /* End PBXContainerItemProxy section */
37 |
38 | /* Begin PBXFileReference section */
39 | 52CD4B4F1D9289380075DFC8 /* LXHeartFlyAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LXHeartFlyAnimation.app; sourceTree = BUILT_PRODUCTS_DIR; };
40 | 52CD4B531D9289380075DFC8 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
41 | 52CD4B551D9289380075DFC8 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
42 | 52CD4B561D9289380075DFC8 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
43 | 52CD4B581D9289380075DFC8 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
44 | 52CD4B591D9289380075DFC8 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
45 | 52CD4B5C1D9289380075DFC8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
46 | 52CD4B5E1D9289380075DFC8 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
47 | 52CD4B611D9289380075DFC8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
48 | 52CD4B631D9289380075DFC8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
49 | 52CD4B681D9289380075DFC8 /* LXHeartFlyAnimationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LXHeartFlyAnimationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
50 | 52CD4B6C1D9289380075DFC8 /* LXHeartFlyAnimationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LXHeartFlyAnimationTests.m; sourceTree = ""; };
51 | 52CD4B6E1D9289380075DFC8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
52 | 52CD4B731D9289380075DFC8 /* LXHeartFlyAnimationUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LXHeartFlyAnimationUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
53 | 52CD4B771D9289380075DFC8 /* LXHeartFlyAnimationUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LXHeartFlyAnimationUITests.m; sourceTree = ""; };
54 | 52CD4B791D9289380075DFC8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
55 | D987B4001D93AE4F00C4BA3E /* 9162970F12F5E88EC52733C25A2091B8.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 9162970F12F5E88EC52733C25A2091B8.jpg; sourceTree = ""; };
56 | /* End PBXFileReference section */
57 |
58 | /* Begin PBXFrameworksBuildPhase section */
59 | 52CD4B4C1D9289380075DFC8 /* Frameworks */ = {
60 | isa = PBXFrameworksBuildPhase;
61 | buildActionMask = 2147483647;
62 | files = (
63 | );
64 | runOnlyForDeploymentPostprocessing = 0;
65 | };
66 | 52CD4B651D9289380075DFC8 /* Frameworks */ = {
67 | isa = PBXFrameworksBuildPhase;
68 | buildActionMask = 2147483647;
69 | files = (
70 | );
71 | runOnlyForDeploymentPostprocessing = 0;
72 | };
73 | 52CD4B701D9289380075DFC8 /* Frameworks */ = {
74 | isa = PBXFrameworksBuildPhase;
75 | buildActionMask = 2147483647;
76 | files = (
77 | );
78 | runOnlyForDeploymentPostprocessing = 0;
79 | };
80 | /* End PBXFrameworksBuildPhase section */
81 |
82 | /* Begin PBXGroup section */
83 | 52CD4B461D9289380075DFC8 = {
84 | isa = PBXGroup;
85 | children = (
86 | D987B4001D93AE4F00C4BA3E /* 9162970F12F5E88EC52733C25A2091B8.jpg */,
87 | 52CD4B511D9289380075DFC8 /* LXHeartFlyAnimation */,
88 | 52CD4B6B1D9289380075DFC8 /* LXHeartFlyAnimationTests */,
89 | 52CD4B761D9289380075DFC8 /* LXHeartFlyAnimationUITests */,
90 | 52CD4B501D9289380075DFC8 /* Products */,
91 | );
92 | sourceTree = "";
93 | };
94 | 52CD4B501D9289380075DFC8 /* Products */ = {
95 | isa = PBXGroup;
96 | children = (
97 | 52CD4B4F1D9289380075DFC8 /* LXHeartFlyAnimation.app */,
98 | 52CD4B681D9289380075DFC8 /* LXHeartFlyAnimationTests.xctest */,
99 | 52CD4B731D9289380075DFC8 /* LXHeartFlyAnimationUITests.xctest */,
100 | );
101 | name = Products;
102 | sourceTree = "";
103 | };
104 | 52CD4B511D9289380075DFC8 /* LXHeartFlyAnimation */ = {
105 | isa = PBXGroup;
106 | children = (
107 | 52CD4B551D9289380075DFC8 /* AppDelegate.h */,
108 | 52CD4B561D9289380075DFC8 /* AppDelegate.m */,
109 | 52CD4B581D9289380075DFC8 /* ViewController.h */,
110 | 52CD4B591D9289380075DFC8 /* ViewController.m */,
111 | 52CD4B5B1D9289380075DFC8 /* Main.storyboard */,
112 | 52CD4B5E1D9289380075DFC8 /* Assets.xcassets */,
113 | 52CD4B601D9289380075DFC8 /* LaunchScreen.storyboard */,
114 | 52CD4B631D9289380075DFC8 /* Info.plist */,
115 | 52CD4B521D9289380075DFC8 /* Supporting Files */,
116 | );
117 | path = LXHeartFlyAnimation;
118 | sourceTree = "";
119 | };
120 | 52CD4B521D9289380075DFC8 /* Supporting Files */ = {
121 | isa = PBXGroup;
122 | children = (
123 | 52CD4B531D9289380075DFC8 /* main.m */,
124 | );
125 | name = "Supporting Files";
126 | sourceTree = "";
127 | };
128 | 52CD4B6B1D9289380075DFC8 /* LXHeartFlyAnimationTests */ = {
129 | isa = PBXGroup;
130 | children = (
131 | 52CD4B6C1D9289380075DFC8 /* LXHeartFlyAnimationTests.m */,
132 | 52CD4B6E1D9289380075DFC8 /* Info.plist */,
133 | );
134 | path = LXHeartFlyAnimationTests;
135 | sourceTree = "";
136 | };
137 | 52CD4B761D9289380075DFC8 /* LXHeartFlyAnimationUITests */ = {
138 | isa = PBXGroup;
139 | children = (
140 | 52CD4B771D9289380075DFC8 /* LXHeartFlyAnimationUITests.m */,
141 | 52CD4B791D9289380075DFC8 /* Info.plist */,
142 | );
143 | path = LXHeartFlyAnimationUITests;
144 | sourceTree = "";
145 | };
146 | /* End PBXGroup section */
147 |
148 | /* Begin PBXNativeTarget section */
149 | 52CD4B4E1D9289380075DFC8 /* LXHeartFlyAnimation */ = {
150 | isa = PBXNativeTarget;
151 | buildConfigurationList = 52CD4B7C1D9289380075DFC8 /* Build configuration list for PBXNativeTarget "LXHeartFlyAnimation" */;
152 | buildPhases = (
153 | 52CD4B4B1D9289380075DFC8 /* Sources */,
154 | 52CD4B4C1D9289380075DFC8 /* Frameworks */,
155 | 52CD4B4D1D9289380075DFC8 /* Resources */,
156 | );
157 | buildRules = (
158 | );
159 | dependencies = (
160 | );
161 | name = LXHeartFlyAnimation;
162 | productName = LXHeartFlyAnimation;
163 | productReference = 52CD4B4F1D9289380075DFC8 /* LXHeartFlyAnimation.app */;
164 | productType = "com.apple.product-type.application";
165 | };
166 | 52CD4B671D9289380075DFC8 /* LXHeartFlyAnimationTests */ = {
167 | isa = PBXNativeTarget;
168 | buildConfigurationList = 52CD4B7F1D9289380075DFC8 /* Build configuration list for PBXNativeTarget "LXHeartFlyAnimationTests" */;
169 | buildPhases = (
170 | 52CD4B641D9289380075DFC8 /* Sources */,
171 | 52CD4B651D9289380075DFC8 /* Frameworks */,
172 | 52CD4B661D9289380075DFC8 /* Resources */,
173 | );
174 | buildRules = (
175 | );
176 | dependencies = (
177 | 52CD4B6A1D9289380075DFC8 /* PBXTargetDependency */,
178 | );
179 | name = LXHeartFlyAnimationTests;
180 | productName = LXHeartFlyAnimationTests;
181 | productReference = 52CD4B681D9289380075DFC8 /* LXHeartFlyAnimationTests.xctest */;
182 | productType = "com.apple.product-type.bundle.unit-test";
183 | };
184 | 52CD4B721D9289380075DFC8 /* LXHeartFlyAnimationUITests */ = {
185 | isa = PBXNativeTarget;
186 | buildConfigurationList = 52CD4B821D9289380075DFC8 /* Build configuration list for PBXNativeTarget "LXHeartFlyAnimationUITests" */;
187 | buildPhases = (
188 | 52CD4B6F1D9289380075DFC8 /* Sources */,
189 | 52CD4B701D9289380075DFC8 /* Frameworks */,
190 | 52CD4B711D9289380075DFC8 /* Resources */,
191 | );
192 | buildRules = (
193 | );
194 | dependencies = (
195 | 52CD4B751D9289380075DFC8 /* PBXTargetDependency */,
196 | );
197 | name = LXHeartFlyAnimationUITests;
198 | productName = LXHeartFlyAnimationUITests;
199 | productReference = 52CD4B731D9289380075DFC8 /* LXHeartFlyAnimationUITests.xctest */;
200 | productType = "com.apple.product-type.bundle.ui-testing";
201 | };
202 | /* End PBXNativeTarget section */
203 |
204 | /* Begin PBXProject section */
205 | 52CD4B471D9289380075DFC8 /* Project object */ = {
206 | isa = PBXProject;
207 | attributes = {
208 | LastUpgradeCheck = 0730;
209 | ORGANIZATIONNAME = LiXi;
210 | TargetAttributes = {
211 | 52CD4B4E1D9289380075DFC8 = {
212 | CreatedOnToolsVersion = 7.3;
213 | };
214 | 52CD4B671D9289380075DFC8 = {
215 | CreatedOnToolsVersion = 7.3;
216 | TestTargetID = 52CD4B4E1D9289380075DFC8;
217 | };
218 | 52CD4B721D9289380075DFC8 = {
219 | CreatedOnToolsVersion = 7.3;
220 | TestTargetID = 52CD4B4E1D9289380075DFC8;
221 | };
222 | };
223 | };
224 | buildConfigurationList = 52CD4B4A1D9289380075DFC8 /* Build configuration list for PBXProject "LXHeartFlyAnimation" */;
225 | compatibilityVersion = "Xcode 3.2";
226 | developmentRegion = English;
227 | hasScannedForEncodings = 0;
228 | knownRegions = (
229 | en,
230 | Base,
231 | );
232 | mainGroup = 52CD4B461D9289380075DFC8;
233 | productRefGroup = 52CD4B501D9289380075DFC8 /* Products */;
234 | projectDirPath = "";
235 | projectRoot = "";
236 | targets = (
237 | 52CD4B4E1D9289380075DFC8 /* LXHeartFlyAnimation */,
238 | 52CD4B671D9289380075DFC8 /* LXHeartFlyAnimationTests */,
239 | 52CD4B721D9289380075DFC8 /* LXHeartFlyAnimationUITests */,
240 | );
241 | };
242 | /* End PBXProject section */
243 |
244 | /* Begin PBXResourcesBuildPhase section */
245 | 52CD4B4D1D9289380075DFC8 /* Resources */ = {
246 | isa = PBXResourcesBuildPhase;
247 | buildActionMask = 2147483647;
248 | files = (
249 | 52CD4B621D9289380075DFC8 /* LaunchScreen.storyboard in Resources */,
250 | 52CD4B5F1D9289380075DFC8 /* Assets.xcassets in Resources */,
251 | 52CD4B5D1D9289380075DFC8 /* Main.storyboard in Resources */,
252 | D987B4011D93AE4F00C4BA3E /* 9162970F12F5E88EC52733C25A2091B8.jpg in Resources */,
253 | );
254 | runOnlyForDeploymentPostprocessing = 0;
255 | };
256 | 52CD4B661D9289380075DFC8 /* Resources */ = {
257 | isa = PBXResourcesBuildPhase;
258 | buildActionMask = 2147483647;
259 | files = (
260 | );
261 | runOnlyForDeploymentPostprocessing = 0;
262 | };
263 | 52CD4B711D9289380075DFC8 /* Resources */ = {
264 | isa = PBXResourcesBuildPhase;
265 | buildActionMask = 2147483647;
266 | files = (
267 | );
268 | runOnlyForDeploymentPostprocessing = 0;
269 | };
270 | /* End PBXResourcesBuildPhase section */
271 |
272 | /* Begin PBXSourcesBuildPhase section */
273 | 52CD4B4B1D9289380075DFC8 /* Sources */ = {
274 | isa = PBXSourcesBuildPhase;
275 | buildActionMask = 2147483647;
276 | files = (
277 | 52CD4B5A1D9289380075DFC8 /* ViewController.m in Sources */,
278 | 52CD4B571D9289380075DFC8 /* AppDelegate.m in Sources */,
279 | 52CD4B541D9289380075DFC8 /* main.m in Sources */,
280 | );
281 | runOnlyForDeploymentPostprocessing = 0;
282 | };
283 | 52CD4B641D9289380075DFC8 /* Sources */ = {
284 | isa = PBXSourcesBuildPhase;
285 | buildActionMask = 2147483647;
286 | files = (
287 | 52CD4B6D1D9289380075DFC8 /* LXHeartFlyAnimationTests.m in Sources */,
288 | );
289 | runOnlyForDeploymentPostprocessing = 0;
290 | };
291 | 52CD4B6F1D9289380075DFC8 /* Sources */ = {
292 | isa = PBXSourcesBuildPhase;
293 | buildActionMask = 2147483647;
294 | files = (
295 | 52CD4B781D9289380075DFC8 /* LXHeartFlyAnimationUITests.m in Sources */,
296 | );
297 | runOnlyForDeploymentPostprocessing = 0;
298 | };
299 | /* End PBXSourcesBuildPhase section */
300 |
301 | /* Begin PBXTargetDependency section */
302 | 52CD4B6A1D9289380075DFC8 /* PBXTargetDependency */ = {
303 | isa = PBXTargetDependency;
304 | target = 52CD4B4E1D9289380075DFC8 /* LXHeartFlyAnimation */;
305 | targetProxy = 52CD4B691D9289380075DFC8 /* PBXContainerItemProxy */;
306 | };
307 | 52CD4B751D9289380075DFC8 /* PBXTargetDependency */ = {
308 | isa = PBXTargetDependency;
309 | target = 52CD4B4E1D9289380075DFC8 /* LXHeartFlyAnimation */;
310 | targetProxy = 52CD4B741D9289380075DFC8 /* PBXContainerItemProxy */;
311 | };
312 | /* End PBXTargetDependency section */
313 |
314 | /* Begin PBXVariantGroup section */
315 | 52CD4B5B1D9289380075DFC8 /* Main.storyboard */ = {
316 | isa = PBXVariantGroup;
317 | children = (
318 | 52CD4B5C1D9289380075DFC8 /* Base */,
319 | );
320 | name = Main.storyboard;
321 | sourceTree = "";
322 | };
323 | 52CD4B601D9289380075DFC8 /* LaunchScreen.storyboard */ = {
324 | isa = PBXVariantGroup;
325 | children = (
326 | 52CD4B611D9289380075DFC8 /* Base */,
327 | );
328 | name = LaunchScreen.storyboard;
329 | sourceTree = "";
330 | };
331 | /* End PBXVariantGroup section */
332 |
333 | /* Begin XCBuildConfiguration section */
334 | 52CD4B7A1D9289380075DFC8 /* Debug */ = {
335 | isa = XCBuildConfiguration;
336 | buildSettings = {
337 | ALWAYS_SEARCH_USER_PATHS = NO;
338 | CLANG_ANALYZER_NONNULL = YES;
339 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
340 | CLANG_CXX_LIBRARY = "libc++";
341 | CLANG_ENABLE_MODULES = YES;
342 | CLANG_ENABLE_OBJC_ARC = YES;
343 | CLANG_WARN_BOOL_CONVERSION = YES;
344 | CLANG_WARN_CONSTANT_CONVERSION = YES;
345 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
346 | CLANG_WARN_EMPTY_BODY = YES;
347 | CLANG_WARN_ENUM_CONVERSION = YES;
348 | CLANG_WARN_INT_CONVERSION = YES;
349 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
350 | CLANG_WARN_UNREACHABLE_CODE = YES;
351 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
352 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
353 | COPY_PHASE_STRIP = NO;
354 | DEBUG_INFORMATION_FORMAT = dwarf;
355 | ENABLE_STRICT_OBJC_MSGSEND = YES;
356 | ENABLE_TESTABILITY = YES;
357 | GCC_C_LANGUAGE_STANDARD = gnu99;
358 | GCC_DYNAMIC_NO_PIC = NO;
359 | GCC_NO_COMMON_BLOCKS = YES;
360 | GCC_OPTIMIZATION_LEVEL = 0;
361 | GCC_PREPROCESSOR_DEFINITIONS = (
362 | "DEBUG=1",
363 | "$(inherited)",
364 | );
365 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
366 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
367 | GCC_WARN_UNDECLARED_SELECTOR = YES;
368 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
369 | GCC_WARN_UNUSED_FUNCTION = YES;
370 | GCC_WARN_UNUSED_VARIABLE = YES;
371 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
372 | MTL_ENABLE_DEBUG_INFO = YES;
373 | ONLY_ACTIVE_ARCH = YES;
374 | SDKROOT = iphoneos;
375 | TARGETED_DEVICE_FAMILY = "1,2";
376 | };
377 | name = Debug;
378 | };
379 | 52CD4B7B1D9289380075DFC8 /* Release */ = {
380 | isa = XCBuildConfiguration;
381 | buildSettings = {
382 | ALWAYS_SEARCH_USER_PATHS = NO;
383 | CLANG_ANALYZER_NONNULL = YES;
384 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
385 | CLANG_CXX_LIBRARY = "libc++";
386 | CLANG_ENABLE_MODULES = YES;
387 | CLANG_ENABLE_OBJC_ARC = YES;
388 | CLANG_WARN_BOOL_CONVERSION = YES;
389 | CLANG_WARN_CONSTANT_CONVERSION = YES;
390 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
391 | CLANG_WARN_EMPTY_BODY = YES;
392 | CLANG_WARN_ENUM_CONVERSION = YES;
393 | CLANG_WARN_INT_CONVERSION = YES;
394 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
395 | CLANG_WARN_UNREACHABLE_CODE = YES;
396 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
397 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
398 | COPY_PHASE_STRIP = NO;
399 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
400 | ENABLE_NS_ASSERTIONS = NO;
401 | ENABLE_STRICT_OBJC_MSGSEND = YES;
402 | GCC_C_LANGUAGE_STANDARD = gnu99;
403 | GCC_NO_COMMON_BLOCKS = YES;
404 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
405 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
406 | GCC_WARN_UNDECLARED_SELECTOR = YES;
407 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
408 | GCC_WARN_UNUSED_FUNCTION = YES;
409 | GCC_WARN_UNUSED_VARIABLE = YES;
410 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
411 | MTL_ENABLE_DEBUG_INFO = NO;
412 | SDKROOT = iphoneos;
413 | TARGETED_DEVICE_FAMILY = "1,2";
414 | VALIDATE_PRODUCT = YES;
415 | };
416 | name = Release;
417 | };
418 | 52CD4B7D1D9289380075DFC8 /* Debug */ = {
419 | isa = XCBuildConfiguration;
420 | buildSettings = {
421 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
422 | INFOPLIST_FILE = LXHeartFlyAnimation/Info.plist;
423 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
424 | PRODUCT_BUNDLE_IDENTIFIER = LIXI134.LXHeartFlyAnimation;
425 | PRODUCT_NAME = "$(TARGET_NAME)";
426 | };
427 | name = Debug;
428 | };
429 | 52CD4B7E1D9289380075DFC8 /* Release */ = {
430 | isa = XCBuildConfiguration;
431 | buildSettings = {
432 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
433 | INFOPLIST_FILE = LXHeartFlyAnimation/Info.plist;
434 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
435 | PRODUCT_BUNDLE_IDENTIFIER = LIXI134.LXHeartFlyAnimation;
436 | PRODUCT_NAME = "$(TARGET_NAME)";
437 | };
438 | name = Release;
439 | };
440 | 52CD4B801D9289380075DFC8 /* Debug */ = {
441 | isa = XCBuildConfiguration;
442 | buildSettings = {
443 | BUNDLE_LOADER = "$(TEST_HOST)";
444 | INFOPLIST_FILE = LXHeartFlyAnimationTests/Info.plist;
445 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
446 | PRODUCT_BUNDLE_IDENTIFIER = LIXI134.LXHeartFlyAnimationTests;
447 | PRODUCT_NAME = "$(TARGET_NAME)";
448 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LXHeartFlyAnimation.app/LXHeartFlyAnimation";
449 | };
450 | name = Debug;
451 | };
452 | 52CD4B811D9289380075DFC8 /* Release */ = {
453 | isa = XCBuildConfiguration;
454 | buildSettings = {
455 | BUNDLE_LOADER = "$(TEST_HOST)";
456 | INFOPLIST_FILE = LXHeartFlyAnimationTests/Info.plist;
457 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
458 | PRODUCT_BUNDLE_IDENTIFIER = LIXI134.LXHeartFlyAnimationTests;
459 | PRODUCT_NAME = "$(TARGET_NAME)";
460 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LXHeartFlyAnimation.app/LXHeartFlyAnimation";
461 | };
462 | name = Release;
463 | };
464 | 52CD4B831D9289380075DFC8 /* Debug */ = {
465 | isa = XCBuildConfiguration;
466 | buildSettings = {
467 | INFOPLIST_FILE = LXHeartFlyAnimationUITests/Info.plist;
468 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
469 | PRODUCT_BUNDLE_IDENTIFIER = LIXI134.LXHeartFlyAnimationUITests;
470 | PRODUCT_NAME = "$(TARGET_NAME)";
471 | TEST_TARGET_NAME = LXHeartFlyAnimation;
472 | };
473 | name = Debug;
474 | };
475 | 52CD4B841D9289380075DFC8 /* Release */ = {
476 | isa = XCBuildConfiguration;
477 | buildSettings = {
478 | INFOPLIST_FILE = LXHeartFlyAnimationUITests/Info.plist;
479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
480 | PRODUCT_BUNDLE_IDENTIFIER = LIXI134.LXHeartFlyAnimationUITests;
481 | PRODUCT_NAME = "$(TARGET_NAME)";
482 | TEST_TARGET_NAME = LXHeartFlyAnimation;
483 | };
484 | name = Release;
485 | };
486 | /* End XCBuildConfiguration section */
487 |
488 | /* Begin XCConfigurationList section */
489 | 52CD4B4A1D9289380075DFC8 /* Build configuration list for PBXProject "LXHeartFlyAnimation" */ = {
490 | isa = XCConfigurationList;
491 | buildConfigurations = (
492 | 52CD4B7A1D9289380075DFC8 /* Debug */,
493 | 52CD4B7B1D9289380075DFC8 /* Release */,
494 | );
495 | defaultConfigurationIsVisible = 0;
496 | defaultConfigurationName = Release;
497 | };
498 | 52CD4B7C1D9289380075DFC8 /* Build configuration list for PBXNativeTarget "LXHeartFlyAnimation" */ = {
499 | isa = XCConfigurationList;
500 | buildConfigurations = (
501 | 52CD4B7D1D9289380075DFC8 /* Debug */,
502 | 52CD4B7E1D9289380075DFC8 /* Release */,
503 | );
504 | defaultConfigurationIsVisible = 0;
505 | defaultConfigurationName = Release;
506 | };
507 | 52CD4B7F1D9289380075DFC8 /* Build configuration list for PBXNativeTarget "LXHeartFlyAnimationTests" */ = {
508 | isa = XCConfigurationList;
509 | buildConfigurations = (
510 | 52CD4B801D9289380075DFC8 /* Debug */,
511 | 52CD4B811D9289380075DFC8 /* Release */,
512 | );
513 | defaultConfigurationIsVisible = 0;
514 | defaultConfigurationName = Release;
515 | };
516 | 52CD4B821D9289380075DFC8 /* Build configuration list for PBXNativeTarget "LXHeartFlyAnimationUITests" */ = {
517 | isa = XCConfigurationList;
518 | buildConfigurations = (
519 | 52CD4B831D9289380075DFC8 /* Debug */,
520 | 52CD4B841D9289380075DFC8 /* Release */,
521 | );
522 | defaultConfigurationIsVisible = 0;
523 | defaultConfigurationName = Release;
524 | };
525 | /* End XCConfigurationList section */
526 | };
527 | rootObject = 52CD4B471D9289380075DFC8 /* Project object */;
528 | }
529 |
--------------------------------------------------------------------------------