├── HLJStatistical ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── HLJViewTrackModel.h │ ├── UIView+Statistical.h │ ├── HLJViewTrackModel.m │ └── UIView+Statistical.m ├── _Pods.xcodeproj ├── Example ├── Tests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── Tests-Info.plist ├── HLJStatistical │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── HLJViewController.h │ ├── HLJTestViewController.h │ ├── HLJTest1ViewController.h │ ├── HLJAppDelegate.h │ ├── main.m │ ├── HLJStatistical-Prefix.pch │ ├── HLJViewController.m │ ├── HLJStatistical-Info.plist │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── HLJAppDelegate.m │ ├── HLJTestViewController.m │ └── HLJTest1ViewController.m ├── Podfile ├── Podfile.lock └── HLJStatistical.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ └── HLJStatistical-Example.xcscheme │ └── project.pbxproj ├── .travis.yml ├── README.md ├── LICENSE ├── .gitignore └── HLJStatistical.podspec /HLJStatistical/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HLJStatistical/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/HLJStatistical/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'HLJStatistical_Example' do 4 | pod 'HLJStatistical', :path => '../' 5 | pod 'Masonry' 6 | end 7 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // HLJViewController.h 3 | // HLJStatistical 4 | // 5 | // Created by 吴晓辉 on 07/07/2018. 6 | // Copyright (c) 2018 吴晓辉. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface HLJViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJTestViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // HLJTestViewController.h 3 | // HLJStatisticalDemo 4 | // 5 | // Created by 吴晓辉 on 2018/6/27. 6 | // Copyright © 2018年 婚礼纪. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HLJTestViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJTest1ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // HLJStatisticalDemo 4 | // 5 | // Created by 吴晓辉 on 2018/6/27. 6 | // Copyright © 2018年 婚礼纪. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HLJTest1ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // HLJAppDelegate.h 3 | // HLJStatistical 4 | // 5 | // Created by 吴晓辉 on 07/07/2018. 6 | // Copyright (c) 2018 吴晓辉. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface HLJAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/HLJStatistical/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // HLJStatistical 4 | // 5 | // Created by 吴晓辉 on 07/07/2018. 6 | // Copyright (c) 2018 吴晓辉. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "HLJAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([HLJAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJStatistical-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - HLJStatistical (0.1.0) 3 | - Masonry (1.1.0) 4 | 5 | DEPENDENCIES: 6 | - HLJStatistical (from `../`) 7 | - Masonry 8 | 9 | EXTERNAL SOURCES: 10 | HLJStatistical: 11 | :path: ../ 12 | 13 | SPEC CHECKSUMS: 14 | HLJStatistical: 8018ce2aba8220f316ec695babfb00b5481df5b3 15 | Masonry: 678fab65091a9290e40e2832a55e7ab731aad201 16 | 17 | PODFILE CHECKSUM: b85c78b84e6bb40c4b0bbb5a2941d8bbb1f52b64 18 | 19 | COCOAPODS: 1.4.0 20 | -------------------------------------------------------------------------------- /HLJStatistical/Classes/HLJViewTrackModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // HLJViewTrackModel.h 3 | // HLJStatistical_Example 4 | // 5 | // Created by 吴晓辉 on 2018/7/4. 6 | // Copyright © 2018年 吴晓辉. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HLJViewTrackModel : NSObject 12 | 13 | - (instancetype)initWithTag:(NSString *)tag; 14 | 15 | @property (nonatomic ,copy) NSString *tag; 16 | @property (nonatomic ,assign) NSInteger position; 17 | @property (nonatomic ,copy) NSDictionary *data; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/HLJStatistical.xcworkspace -scheme HLJStatistical-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // HLJViewController.m 3 | // HLJStatistical 4 | // 5 | // Created by 吴晓辉 on 07/07/2018. 6 | // Copyright (c) 2018 吴晓辉. All rights reserved. 7 | // 8 | 9 | #import "HLJViewController.h" 10 | 11 | @interface HLJViewController () 12 | 13 | @end 14 | 15 | @implementation HLJViewController 16 | 17 | - (void)viewDidLoad 18 | { 19 | [super viewDidLoad]; 20 | // Do any additional setup after loading the view, typically from a nib. 21 | } 22 | 23 | - (void)didReceiveMemoryWarning 24 | { 25 | [super didReceiveMemoryWarning]; 26 | // Dispose of any resources that can be recreated. 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /HLJStatistical/Classes/UIView+Statistical.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Statistical.h 3 | // HLJStatisticalDemo 4 | // 5 | // Created by 吴晓辉 on 2018/6/27. 6 | // Copyright © 2018年 婚礼纪. All rights reserved. 7 | // 8 | 9 | #import 10 | @class HLJViewTrackModel; 11 | 12 | @interface UIView (Statistical) 13 | 14 | @property (nonatomic ,assign) BOOL hlj_viewVisible; 15 | @property (nonatomic ,strong ,readonly) HLJViewTrackModel *hlj_trackModel; 16 | 17 | - (void)hlj_setTrackTag:(NSString *)trackTag position:(NSInteger)position; 18 | - (void)hlj_setTrackTag:(NSString *)trackTag position:(NSInteger)position trackData:(NSDictionary *)trackData; 19 | - (void)hlj_setTrackTag:(NSString *)trackTag; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /HLJStatistical/Classes/HLJViewTrackModel.m: -------------------------------------------------------------------------------- 1 | // 2 | // HLJViewTrackModel.m 3 | // HLJStatistical_Example 4 | // 5 | // Created by 吴晓辉 on 2018/7/4. 6 | // Copyright © 2018年 吴晓辉. All rights reserved. 7 | // 8 | 9 | #import "HLJViewTrackModel.h" 10 | 11 | @implementation HLJViewTrackModel 12 | 13 | - (instancetype)initWithTag:(NSString *)tag { 14 | if (!tag) { 15 | return nil; 16 | } 17 | self = [super init]; 18 | if (self) { 19 | self.tag = tag; 20 | } 21 | return self; 22 | } 23 | 24 | - (BOOL)isEqual:(HLJViewTrackModel *)object { 25 | if (!object) { 26 | return NO; 27 | } 28 | return [self.tag isEqual:object.tag] && self.position == object.position && [self.data isEqualToDictionary:object.data]; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // HLJStatisticalTests.m 3 | // HLJStatisticalTests 4 | // 5 | // Created by 吴晓辉 on 07/07/2018. 6 | // Copyright (c) 2018 吴晓辉. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 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 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/Tests-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 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # HLJStatistical 2 | 3 | [![CI Status](https://img.shields.io/travis/吴晓辉/HLJStatistical.svg?style=flat)](https://travis-ci.org/吴晓辉/HLJStatistical) 4 | [![Version](https://img.shields.io/cocoapods/v/HLJStatistical.svg?style=flat)](https://cocoapods.org/pods/HLJStatistical) 5 | [![License](https://img.shields.io/cocoapods/l/HLJStatistical.svg?style=flat)](https://cocoapods.org/pods/HLJStatistical) 6 | [![Platform](https://img.shields.io/cocoapods/p/HLJStatistical.svg?style=flat)](https://cocoapods.org/pods/HLJStatistical) 7 | 8 | ## Example 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | ## Requirements 13 | 14 | ## Installation 15 | 16 | HLJStatistical is available through [CocoaPods](https://cocoapods.org). To install 17 | it, simply add the following line to your Podfile: 18 | 19 | ```ruby 20 | pod 'HLJStatistical' 21 | ``` 22 | 23 | ## Author 24 | 25 | 吴晓辉, zi_dan@hunliji.com 26 | 27 | ## License 28 | 29 | HLJStatistical is available under the MIT license. See the LICENSE file for more info. 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 BulletWu 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.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 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | # CocoaPods 32 | # 33 | # We recommend against adding the Pods directory to your .gitignore. However 34 | # you should judge for yourself, the pros and cons are mentioned at: 35 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 36 | # 37 | # Pods/ 38 | 39 | # Carthage 40 | # 41 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 42 | # Carthage/Checkouts 43 | 44 | Carthage/Build 45 | 46 | # fastlane 47 | # 48 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 49 | # screenshots whenever they are needed. 50 | # For more information about the recommended setup visit: 51 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 52 | 53 | fastlane/report.xml 54 | fastlane/Preview.html 55 | fastlane/screenshots/**/*.png 56 | fastlane/test_output 57 | 58 | # Code Injection 59 | # 60 | # After new code Injection tools there's a generated folder /iOSInjectionProject 61 | # https://github.com/johnno1962/injectionforxcode 62 | 63 | iOSInjectionProject/ 64 | Example/Pods/* -------------------------------------------------------------------------------- /HLJStatistical.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint HLJStatistical.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'HLJStatistical' 11 | s.version = '0.1.0' 12 | s.summary = 'A short description of HLJStatistical.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | TODO: Add long description of the pod here. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/BulletWu/HLJStatistical' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { '吴晓辉' => 'zi_dan@hunliji.com' } 28 | s.source = { :git => 'https://github.com/BulletWu/HLJStatistical.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '8.0' 32 | 33 | s.source_files = 'HLJStatistical/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'HLJStatistical' => ['HLJStatistical/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJStatistical-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/HLJStatistical/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 | -------------------------------------------------------------------------------- /Example/HLJStatistical/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 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/HLJStatistical/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // HLJAppDelegate.m 3 | // HLJStatistical 4 | // 5 | // Created by 吴晓辉 on 07/07/2018. 6 | // Copyright (c) 2018 吴晓辉. All rights reserved. 7 | // 8 | 9 | #import "HLJAppDelegate.h" 10 | #import "HLJTest1ViewController.h" 11 | 12 | @implementation HLJAppDelegate 13 | 14 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 15 | { 16 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 17 | self.window.backgroundColor = [UIColor whiteColor]; 18 | UINavigationController *viewController = [[UINavigationController alloc] initWithRootViewController:[[HLJTest1ViewController alloc] init]]; 19 | self.window.rootViewController = viewController; 20 | [self.window makeKeyAndVisible]; 21 | 22 | // Override point for customization after application launch. 23 | return YES; 24 | } 25 | 26 | - (void)applicationWillResignActive:(UIApplication *)application 27 | { 28 | // 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. 29 | // 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. 30 | } 31 | 32 | - (void)applicationDidEnterBackground:(UIApplication *)application 33 | { 34 | // 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. 35 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 36 | } 37 | 38 | - (void)applicationWillEnterForeground:(UIApplication *)application 39 | { 40 | // 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. 41 | } 42 | 43 | - (void)applicationDidBecomeActive:(UIApplication *)application 44 | { 45 | // 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. 46 | } 47 | 48 | - (void)applicationWillTerminate:(UIApplication *)application 49 | { 50 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 51 | } 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJTestViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // HLJTestViewController.m 3 | // HLJStatisticalDemo 4 | // 5 | // Created by 吴晓辉 on 2018/6/27. 6 | // Copyright © 2018年 婚礼纪. All rights reserved. 7 | // 8 | 9 | #import "HLJTestViewController.h" 10 | #import "Masonry.h" 11 | #import "UIView+Statistical.h" 12 | 13 | @interface HLJTestViewController () 14 | 15 | @property (nonatomic ,strong) UICollectionView *collectionView; 16 | 17 | @end 18 | 19 | @implementation HLJTestViewController 20 | 21 | - (void)viewDidLoad { 22 | [super viewDidLoad]; 23 | [self.view addSubview:self.collectionView]; 24 | [self.collectionView mas_makeConstraints:^(MASConstraintMaker *make) { 25 | make.edges.mas_equalTo(self.view); 26 | }]; 27 | } 28 | 29 | #pragma mark UICollectionViewDelegate,UICollectionViewDataSource 30 | - (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView { 31 | return 1; 32 | } 33 | 34 | - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section { 35 | return 100; 36 | } 37 | 38 | - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath { 39 | return CGSizeMake((collectionView.frame.size.width - 10)/2.0, 100.0); 40 | } 41 | 42 | - (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout minimumLineSpacingForSectionAtIndex:(NSInteger)section { 43 | return 10.0; 44 | } 45 | 46 | - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { 47 | UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:NSStringFromClass([UICollectionViewCell class]) forIndexPath:indexPath]; 48 | cell.backgroundColor = [UIColor redColor]; 49 | [cell hlj_setTrackTag:@"collectionView" position:indexPath.row]; 50 | return cell; 51 | } 52 | 53 | 54 | #pragma mark - getters and setters 55 | - (UICollectionView *)collectionView { 56 | if (!_collectionView) { 57 | UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init]; 58 | flowLayout.minimumInteritemSpacing = 10.0; 59 | _collectionView = [[UICollectionView alloc] initWithFrame:CGRectZero collectionViewLayout:flowLayout]; 60 | 61 | [_collectionView registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:NSStringFromClass([UICollectionViewCell class])]; 62 | _collectionView.delegate = self; 63 | _collectionView.dataSource = self; 64 | } 65 | return _collectionView; 66 | } 67 | 68 | 69 | @end 70 | -------------------------------------------------------------------------------- /Example/HLJStatistical/HLJTest1ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // HLJStatisticalDemo 4 | // 5 | // Created by 吴晓辉 on 2018/6/27. 6 | // Copyright © 2018年 婚礼纪. All rights reserved. 7 | // 8 | 9 | #import "HLJTest1ViewController.h" 10 | #import "HLJTestViewController.h" 11 | #import "UIView+Statistical.h" 12 | #import "Masonry.h" 13 | 14 | @interface HLJTest1ViewController () 15 | 16 | @property (nonatomic ,strong) UITableView *tableView; 17 | @property (nonatomic ,strong) UIView *redView; 18 | 19 | @end 20 | 21 | @implementation HLJTest1ViewController 22 | 23 | - (void)viewDidLoad { 24 | [super viewDidLoad]; 25 | self.title = @"test"; 26 | [self.view addSubview:self.tableView]; 27 | self.tableView.frame = self.view.frame; 28 | 29 | [self.view addSubview:self.redView]; 30 | [self.redView hlj_setTrackTag:@"red"]; 31 | [self.redView mas_makeConstraints:^(MASConstraintMaker *make) { 32 | make.width.height.mas_equalTo(60.0); 33 | make.center.mas_equalTo(self.view); 34 | }]; 35 | } 36 | 37 | #pragma mark UITableViewDelegate,UITableViewDataSource 38 | - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { 39 | return 1; 40 | } 41 | 42 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { 43 | return 50; 44 | } 45 | 46 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { 47 | return 44.0; 48 | } 49 | 50 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { 51 | UITableViewCell *cell=[tableView dequeueReusableCellWithIdentifier:NSStringFromClass([UITableViewCell class])]; 52 | if(cell==nil) { 53 | cell=[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:NSStringFromClass([UITableViewCell class])]; 54 | } 55 | cell.textLabel.text = @(indexPath.row).stringValue; 56 | return cell; 57 | } 58 | 59 | - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { 60 | [cell hlj_setTrackTag:@"tableView" position:indexPath.row]; 61 | } 62 | 63 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { 64 | if (indexPath.row == 0) { 65 | HLJTestViewController *viewController = [[HLJTestViewController alloc] init]; 66 | [self.navigationController pushViewController:viewController animated:YES]; 67 | }else if (indexPath.row == 1) { 68 | self.redView.hidden = !self.redView.hidden; 69 | }else if (indexPath.row == 2) { 70 | self.redView.alpha = 0.01; 71 | }else { 72 | self.redView.alpha = 1; 73 | } 74 | } 75 | 76 | #pragma mark - getters and setters 77 | - (UITableView *)tableView { 78 | if (!_tableView) { 79 | _tableView = [[UITableView alloc] init]; 80 | _tableView.dataSource = self; 81 | _tableView.delegate = self; 82 | } 83 | return _tableView; 84 | } 85 | 86 | - (UIView *)redView { 87 | if (!_redView) { 88 | _redView = [[UIView alloc] init]; 89 | _redView.backgroundColor = [UIColor redColor]; 90 | } 91 | return _redView; 92 | } 93 | 94 | @end 95 | -------------------------------------------------------------------------------- /Example/HLJStatistical.xcodeproj/xcshareddata/xcschemes/HLJStatistical-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /HLJStatistical/Classes/UIView+Statistical.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Statistical.m 3 | // HLJStatisticalDemo 4 | // 5 | // Created by 吴晓辉 on 2018/6/27. 6 | // Copyright © 2018年 婚礼纪. All rights reserved. 7 | // 8 | 9 | #import "UIView+Statistical.h" 10 | #import 11 | #import "HLJViewTrackModel.h" 12 | 13 | @interface UIView () 14 | 15 | @property (nonatomic ,strong,readwrite) HLJViewTrackModel *hlj_trackModel; 16 | @property (nonatomic ,assign) BOOL hlj_trackHasPerform; 17 | 18 | @end 19 | 20 | @implementation UIView (Statistical) 21 | 22 | + (void)exChanageMethodSystemSel:(SEL)systemSel swizzSel:(SEL)swizzSel{ 23 | //两个方法的Method 24 | Method systemMethod = class_getInstanceMethod([self class], systemSel); 25 | Method swizzMethod = class_getInstanceMethod([self class], swizzSel); 26 | //首先动态添加方法,实现是被交换的方法,返回值表示添加成功还是失败 27 | BOOL isAdd = class_addMethod(self, systemSel, method_getImplementation(swizzMethod), method_getTypeEncoding(swizzMethod)); 28 | if (isAdd) { 29 | //如果成功,说明类中不存在这个方法的实现 30 | //将被交换方法的实现替换到这个并不存在的实现 31 | class_replaceMethod(self, swizzSel, method_getImplementation(systemMethod), method_getTypeEncoding(systemMethod)); 32 | }else{ 33 | //否则,交换两个方法的实现 34 | method_exchangeImplementations(systemMethod, swizzMethod); 35 | } 36 | } 37 | 38 | //影响一个view是否可见的因素 39 | //1.frame的改变 40 | //2.bounds的改变 41 | //3.view或者父试图是否加载到Window上 42 | //4.Hidden的改变 43 | //5.Alpha的改变 44 | // 45 | 46 | + (void)load { 47 | static dispatch_once_t onceToken; 48 | dispatch_once(&onceToken, ^{ 49 | SEL setFrameSel = @selector(setFrame:); 50 | SEL swizzhSetFrameSel = @selector(hlj_setFrame:); 51 | [[self class] exChanageMethodSystemSel:setFrameSel swizzSel:swizzhSetFrameSel]; 52 | 53 | SEL setBoundsSel = @selector(setBounds:); 54 | SEL swizzhSetBoundsSel = @selector(hlj_setBounds:); 55 | [[self class] exChanageMethodSystemSel:setBoundsSel swizzSel:swizzhSetBoundsSel]; 56 | 57 | SEL didMoveToWindowSel = @selector(didMoveToWindow); 58 | SEL swizzhdidMoveToWindowSel = @selector(hlj_didMoveToWindow); 59 | [[self class] exChanageMethodSystemSel:didMoveToWindowSel swizzSel:swizzhdidMoveToWindowSel]; 60 | 61 | SEL setHiddenSel = @selector(setHidden:); 62 | SEL swizzhSetHiddenSel = @selector(hlj_setHidden:); 63 | [[self class] exChanageMethodSystemSel:setHiddenSel swizzSel:swizzhSetHiddenSel]; 64 | 65 | SEL setAlphaSel = @selector(setAlpha:); 66 | SEL swizzhSetAlphaSel = @selector(hlj_setAlpha:); 67 | [[self class] exChanageMethodSystemSel:setAlphaSel swizzSel:swizzhSetAlphaSel]; 68 | }); 69 | } 70 | 71 | - (void)hlj_didMoveToWindow { 72 | [self hlj_didMoveToWindow]; 73 | [self hlj_updateViewVisible]; 74 | } 75 | 76 | - (void)hlj_setFrame:(CGRect)frame { 77 | [self hlj_setFrame:frame]; 78 | [self hlj_updateViewVisible]; 79 | } 80 | 81 | - (void)hlj_setBounds:(CGRect)bounds { 82 | [self hlj_setBounds:bounds]; 83 | [self hlj_updateViewVisible]; 84 | } 85 | 86 | - (void)hlj_setHidden:(BOOL)hidden { 87 | [self hlj_setHidden:hidden]; 88 | [self hlj_updateViewVisible]; 89 | } 90 | 91 | - (void)hlj_setAlpha:(CGFloat)alpha { 92 | [self hlj_setAlpha:alpha]; 93 | [self hlj_updateViewVisible]; 94 | } 95 | 96 | #pragma mark - public methods 97 | - (void)hlj_setTrackTag:(NSString *)trackTag { 98 | [self hlj_setTrackTag:trackTag position:0 trackData:nil]; 99 | } 100 | 101 | - (void)hlj_setTrackTag:(NSString *)trackTag position:(NSInteger)position { 102 | [self hlj_setTrackTag:trackTag position:position trackData:nil]; 103 | } 104 | 105 | - (void)hlj_setTrackTag:(NSString *)trackTag position:(NSInteger)position trackData:(NSDictionary *)trackData { 106 | HLJViewTrackModel *trackModel = [[HLJViewTrackModel alloc] initWithTag:trackTag]; 107 | trackModel.position = position; 108 | trackModel.data = trackData; 109 | if ([self.hlj_trackModel isEqual:trackModel]) { 110 | return; 111 | } 112 | self.hlj_trackModel = trackModel; 113 | if (!trackModel) { 114 | return; 115 | } 116 | self.hlj_viewVisible = NO; 117 | [self hlj_updateViewVisible]; 118 | } 119 | 120 | #pragma mark - private methods 121 | - (void)hlj_updateViewVisible { 122 | if (self.hlj_trackHasPerform) { 123 | return; 124 | } 125 | self.hlj_trackHasPerform = YES; 126 | [self performSelector:@selector(hlj_calculateViewVisible) withObject:nil afterDelay:0 inModes:@[NSDefaultRunLoopMode]]; 127 | for (UIView *view in self.subviews) { 128 | [view hlj_updateViewVisible]; 129 | } 130 | } 131 | 132 | - (void)hlj_calculateViewVisible { 133 | self.hlj_trackHasPerform = NO; 134 | self.hlj_viewVisible = [self hlj_isDisplayedInScreen]; 135 | } 136 | 137 | - (BOOL)hlj_isDisplayedInScreen { 138 | if (self == nil) { 139 | return NO; 140 | } 141 | if (self.hidden) { 142 | return NO; 143 | } 144 | if (self.alpha <= 0.1) { 145 | return NO; 146 | } 147 | if (!self.window) { 148 | return NO; 149 | } 150 | if (self.superview && ![self.superview.nextResponder isKindOfClass:[UIViewController class]] && !self.superview.hlj_viewVisible) { 151 | return NO; 152 | } 153 | //iOS11 以下 特殊处理 UITableViewWrapperView 需要使用的supview 154 | //UITableviewWrapperview 的大小为tableView 在屏幕中出现第一个完整的屏幕大小的视图 155 | //并且会因为contentOffset的改变而改变,所以UITableviewWrapperview会滑出屏幕,这样因为self.superview.hlj_viewVisible 这个条件导致 他下面的子试图都被判定为不可见,因此将cell的父试图为UITableViewWrapperView的时候,使用tableView 计算 156 | UIView *view = self; 157 | if ([NSStringFromClass([self class]) isEqualToString:@"UITableViewWrapperView"]) { 158 | view = self.superview; 159 | } 160 | UIWindow * window=[[[UIApplication sharedApplication] delegate] window]; 161 | CGRect rect = [view convertRect:view.bounds toView:window]; 162 | CGRect screenRect = [UIScreen mainScreen].bounds; 163 | CGRect intersectionRect = CGRectIntersection(rect, screenRect); 164 | if (CGRectIsEmpty(intersectionRect) || CGRectIsNull(intersectionRect)) { 165 | return NO; 166 | } 167 | return YES; 168 | } 169 | 170 | - (void)hlj_viewStatistical { 171 | NSLog(@"hlj_trackTag:%@,position:%zd",self.hlj_trackModel.tag,self.hlj_trackModel.position); 172 | } 173 | 174 | - (void)setHlj_viewVisible:(BOOL)hlj_viewVisible { 175 | if (!self.hlj_viewVisible && hlj_viewVisible) { 176 | if (self.hlj_trackModel) { 177 | [self hlj_viewStatistical]; 178 | } 179 | } 180 | objc_setAssociatedObject(self, @selector(hlj_viewVisible), @(hlj_viewVisible), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 181 | } 182 | 183 | - (BOOL)hlj_viewVisible { 184 | return [objc_getAssociatedObject(self, @selector(hlj_viewVisible)) boolValue]; 185 | } 186 | 187 | - (HLJViewTrackModel *)hlj_trackModel { 188 | return objc_getAssociatedObject(self, @selector(hlj_trackModel)); 189 | } 190 | 191 | - (void)setHlj_trackModel:(HLJViewTrackModel *)hlj_trackModel { 192 | objc_setAssociatedObject(self, @selector(hlj_trackModel), hlj_trackModel, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 193 | } 194 | 195 | - (BOOL)hlj_trackHasPerform { 196 | return [objc_getAssociatedObject(self, @selector(hlj_trackHasPerform)) boolValue]; 197 | } 198 | 199 | - (void)setHlj_trackHasPerform:(BOOL)hlj_trackHasPerform { 200 | objc_setAssociatedObject(self, @selector(hlj_trackHasPerform), @(hlj_trackHasPerform), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 201 | } 202 | 203 | @end 204 | -------------------------------------------------------------------------------- /Example/HLJStatistical.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 11 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 12 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 13 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 14 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 15 | 6003F59E195388D20070C39A /* HLJAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* HLJAppDelegate.m */; }; 16 | 6003F5A7195388D20070C39A /* HLJViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* HLJViewController.m */; }; 17 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 18 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 19 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 20 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 21 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 22 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 23 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 24 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 25 | B913A23120F03FEF00EB477A /* .gitkeep in Resources */ = {isa = PBXBuildFile; fileRef = B913A22F20F03FEF00EB477A /* .gitkeep */; }; 26 | B913A23D20F0402500EB477A /* HLJTest1ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B913A23B20F0402500EB477A /* HLJTest1ViewController.m */; }; 27 | B913A23E20F0402500EB477A /* HLJTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B913A23C20F0402500EB477A /* HLJTestViewController.m */; }; 28 | F11758810B90FDCB6038108C /* Pods_HLJStatistical_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 687794E201809AA624C52459 /* Pods_HLJStatistical_Example.framework */; }; 29 | /* End PBXBuildFile section */ 30 | 31 | /* Begin PBXContainerItemProxy section */ 32 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = 6003F582195388D10070C39A /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = 6003F589195388D20070C39A; 37 | remoteInfo = HLJStatistical; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 303850BEF16EA8EDD33704E7 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 43 | 4269E6B4AF5CDFD4370BC4D3 /* HLJStatistical.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = HLJStatistical.podspec; path = ../HLJStatistical.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 44 | 6003F58A195388D20070C39A /* HLJStatistical_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HLJStatistical_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 46 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 47 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 48 | 6003F595195388D20070C39A /* HLJStatistical-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HLJStatistical-Info.plist"; sourceTree = ""; }; 49 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 50 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 51 | 6003F59B195388D20070C39A /* HLJStatistical-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "HLJStatistical-Prefix.pch"; sourceTree = ""; }; 52 | 6003F59C195388D20070C39A /* HLJAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HLJAppDelegate.h; sourceTree = ""; }; 53 | 6003F59D195388D20070C39A /* HLJAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HLJAppDelegate.m; sourceTree = ""; }; 54 | 6003F5A5195388D20070C39A /* HLJViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HLJViewController.h; sourceTree = ""; }; 55 | 6003F5A6195388D20070C39A /* HLJViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HLJViewController.m; sourceTree = ""; }; 56 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 57 | 6003F5AE195388D20070C39A /* HLJStatistical_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HLJStatistical_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 59 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 60 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 61 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 62 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 63 | 687794E201809AA624C52459 /* Pods_HLJStatistical_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HLJStatistical_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 65 | 7D2D2664ABA0CD7B75D23CF1 /* Pods_HLJStatistical_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HLJStatistical_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 67 | B913A22F20F03FEF00EB477A /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; 68 | B913A23320F0400A00EB477A /* HLJViewTrackModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HLJViewTrackModel.m; sourceTree = ""; }; 69 | B913A23420F0400A00EB477A /* UIView+Statistical.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+Statistical.h"; sourceTree = ""; }; 70 | B913A23520F0400A00EB477A /* HLJViewTrackModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HLJViewTrackModel.h; sourceTree = ""; }; 71 | B913A23620F0400A00EB477A /* UIView+Statistical.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+Statistical.m"; sourceTree = ""; }; 72 | B913A23920F0402500EB477A /* HLJTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HLJTestViewController.h; sourceTree = ""; }; 73 | B913A23A20F0402500EB477A /* HLJTest1ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HLJTest1ViewController.h; sourceTree = ""; }; 74 | B913A23B20F0402500EB477A /* HLJTest1ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HLJTest1ViewController.m; sourceTree = ""; }; 75 | B913A23C20F0402500EB477A /* HLJTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HLJTestViewController.m; sourceTree = ""; }; 76 | F9ED799F91573287AF5523FB /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 77 | FA3A60C421104F90524F3DD6 /* Pods-HLJStatistical_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HLJStatistical_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-HLJStatistical_Example/Pods-HLJStatistical_Example.release.xcconfig"; sourceTree = ""; }; 78 | FEE0A9BEFDAAB39FEB48E40A /* Pods-HLJStatistical_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HLJStatistical_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-HLJStatistical_Example/Pods-HLJStatistical_Example.debug.xcconfig"; sourceTree = ""; }; 79 | /* End PBXFileReference section */ 80 | 81 | /* Begin PBXFrameworksBuildPhase section */ 82 | 6003F587195388D20070C39A /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 87 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 88 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 89 | F11758810B90FDCB6038108C /* Pods_HLJStatistical_Example.framework in Frameworks */, 90 | ); 91 | runOnlyForDeploymentPostprocessing = 0; 92 | }; 93 | 6003F5AB195388D20070C39A /* Frameworks */ = { 94 | isa = PBXFrameworksBuildPhase; 95 | buildActionMask = 2147483647; 96 | files = ( 97 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 98 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 99 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | /* End PBXFrameworksBuildPhase section */ 104 | 105 | /* Begin PBXGroup section */ 106 | 6003F581195388D10070C39A = { 107 | isa = PBXGroup; 108 | children = ( 109 | B913A22E20F03FEF00EB477A /* Classes */, 110 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 111 | 6003F593195388D20070C39A /* Example for HLJStatistical */, 112 | 6003F5B5195388D20070C39A /* Tests */, 113 | 6003F58C195388D20070C39A /* Frameworks */, 114 | 6003F58B195388D20070C39A /* Products */, 115 | FD90429685E0F942FC0E9CAE /* Pods */, 116 | ); 117 | sourceTree = ""; 118 | }; 119 | 6003F58B195388D20070C39A /* Products */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 6003F58A195388D20070C39A /* HLJStatistical_Example.app */, 123 | 6003F5AE195388D20070C39A /* HLJStatistical_Tests.xctest */, 124 | ); 125 | name = Products; 126 | sourceTree = ""; 127 | }; 128 | 6003F58C195388D20070C39A /* Frameworks */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | 6003F58D195388D20070C39A /* Foundation.framework */, 132 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 133 | 6003F591195388D20070C39A /* UIKit.framework */, 134 | 6003F5AF195388D20070C39A /* XCTest.framework */, 135 | 687794E201809AA624C52459 /* Pods_HLJStatistical_Example.framework */, 136 | 7D2D2664ABA0CD7B75D23CF1 /* Pods_HLJStatistical_Tests.framework */, 137 | ); 138 | name = Frameworks; 139 | sourceTree = ""; 140 | }; 141 | 6003F593195388D20070C39A /* Example for HLJStatistical */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 6003F59C195388D20070C39A /* HLJAppDelegate.h */, 145 | 6003F59D195388D20070C39A /* HLJAppDelegate.m */, 146 | B913A23A20F0402500EB477A /* HLJTest1ViewController.h */, 147 | B913A23B20F0402500EB477A /* HLJTest1ViewController.m */, 148 | B913A23920F0402500EB477A /* HLJTestViewController.h */, 149 | B913A23C20F0402500EB477A /* HLJTestViewController.m */, 150 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 151 | 6003F5A5195388D20070C39A /* HLJViewController.h */, 152 | 6003F5A6195388D20070C39A /* HLJViewController.m */, 153 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 154 | 6003F5A8195388D20070C39A /* Images.xcassets */, 155 | 6003F594195388D20070C39A /* Supporting Files */, 156 | ); 157 | name = "Example for HLJStatistical"; 158 | path = HLJStatistical; 159 | sourceTree = ""; 160 | }; 161 | 6003F594195388D20070C39A /* Supporting Files */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | 6003F595195388D20070C39A /* HLJStatistical-Info.plist */, 165 | 6003F596195388D20070C39A /* InfoPlist.strings */, 166 | 6003F599195388D20070C39A /* main.m */, 167 | 6003F59B195388D20070C39A /* HLJStatistical-Prefix.pch */, 168 | ); 169 | name = "Supporting Files"; 170 | sourceTree = ""; 171 | }; 172 | 6003F5B5195388D20070C39A /* Tests */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 6003F5BB195388D20070C39A /* Tests.m */, 176 | 6003F5B6195388D20070C39A /* Supporting Files */, 177 | ); 178 | path = Tests; 179 | sourceTree = ""; 180 | }; 181 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 185 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 186 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 187 | ); 188 | name = "Supporting Files"; 189 | sourceTree = ""; 190 | }; 191 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | 4269E6B4AF5CDFD4370BC4D3 /* HLJStatistical.podspec */, 195 | 303850BEF16EA8EDD33704E7 /* README.md */, 196 | F9ED799F91573287AF5523FB /* LICENSE */, 197 | ); 198 | name = "Podspec Metadata"; 199 | sourceTree = ""; 200 | }; 201 | B913A22E20F03FEF00EB477A /* Classes */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | B913A23520F0400A00EB477A /* HLJViewTrackModel.h */, 205 | B913A23320F0400A00EB477A /* HLJViewTrackModel.m */, 206 | B913A23420F0400A00EB477A /* UIView+Statistical.h */, 207 | B913A23620F0400A00EB477A /* UIView+Statistical.m */, 208 | B913A22F20F03FEF00EB477A /* .gitkeep */, 209 | ); 210 | name = Classes; 211 | path = ../HLJStatistical/Classes; 212 | sourceTree = ""; 213 | }; 214 | FD90429685E0F942FC0E9CAE /* Pods */ = { 215 | isa = PBXGroup; 216 | children = ( 217 | FEE0A9BEFDAAB39FEB48E40A /* Pods-HLJStatistical_Example.debug.xcconfig */, 218 | FA3A60C421104F90524F3DD6 /* Pods-HLJStatistical_Example.release.xcconfig */, 219 | ); 220 | name = Pods; 221 | sourceTree = ""; 222 | }; 223 | /* End PBXGroup section */ 224 | 225 | /* Begin PBXNativeTarget section */ 226 | 6003F589195388D20070C39A /* HLJStatistical_Example */ = { 227 | isa = PBXNativeTarget; 228 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "HLJStatistical_Example" */; 229 | buildPhases = ( 230 | 71EF019A7F62F0B0693C348F /* [CP] Check Pods Manifest.lock */, 231 | 6003F586195388D20070C39A /* Sources */, 232 | 6003F587195388D20070C39A /* Frameworks */, 233 | 6003F588195388D20070C39A /* Resources */, 234 | 4FFAF113DCA549ED64D989C6 /* [CP] Embed Pods Frameworks */, 235 | D0FF01807BEFE5C2DC2955C6 /* [CP] Copy Pods Resources */, 236 | ); 237 | buildRules = ( 238 | ); 239 | dependencies = ( 240 | ); 241 | name = HLJStatistical_Example; 242 | productName = HLJStatistical; 243 | productReference = 6003F58A195388D20070C39A /* HLJStatistical_Example.app */; 244 | productType = "com.apple.product-type.application"; 245 | }; 246 | 6003F5AD195388D20070C39A /* HLJStatistical_Tests */ = { 247 | isa = PBXNativeTarget; 248 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "HLJStatistical_Tests" */; 249 | buildPhases = ( 250 | 6003F5AA195388D20070C39A /* Sources */, 251 | 6003F5AB195388D20070C39A /* Frameworks */, 252 | 6003F5AC195388D20070C39A /* Resources */, 253 | ); 254 | buildRules = ( 255 | ); 256 | dependencies = ( 257 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 258 | ); 259 | name = HLJStatistical_Tests; 260 | productName = HLJStatisticalTests; 261 | productReference = 6003F5AE195388D20070C39A /* HLJStatistical_Tests.xctest */; 262 | productType = "com.apple.product-type.bundle.unit-test"; 263 | }; 264 | /* End PBXNativeTarget section */ 265 | 266 | /* Begin PBXProject section */ 267 | 6003F582195388D10070C39A /* Project object */ = { 268 | isa = PBXProject; 269 | attributes = { 270 | CLASSPREFIX = HLJ; 271 | LastUpgradeCheck = 0720; 272 | ORGANIZATIONNAME = "吴晓辉"; 273 | TargetAttributes = { 274 | 6003F5AD195388D20070C39A = { 275 | TestTargetID = 6003F589195388D20070C39A; 276 | }; 277 | }; 278 | }; 279 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "HLJStatistical" */; 280 | compatibilityVersion = "Xcode 3.2"; 281 | developmentRegion = English; 282 | hasScannedForEncodings = 0; 283 | knownRegions = ( 284 | en, 285 | Base, 286 | ); 287 | mainGroup = 6003F581195388D10070C39A; 288 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 289 | projectDirPath = ""; 290 | projectRoot = ""; 291 | targets = ( 292 | 6003F589195388D20070C39A /* HLJStatistical_Example */, 293 | 6003F5AD195388D20070C39A /* HLJStatistical_Tests */, 294 | ); 295 | }; 296 | /* End PBXProject section */ 297 | 298 | /* Begin PBXResourcesBuildPhase section */ 299 | 6003F588195388D20070C39A /* Resources */ = { 300 | isa = PBXResourcesBuildPhase; 301 | buildActionMask = 2147483647; 302 | files = ( 303 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 304 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 305 | B913A23120F03FEF00EB477A /* .gitkeep in Resources */, 306 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 307 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 308 | ); 309 | runOnlyForDeploymentPostprocessing = 0; 310 | }; 311 | 6003F5AC195388D20070C39A /* Resources */ = { 312 | isa = PBXResourcesBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 316 | ); 317 | runOnlyForDeploymentPostprocessing = 0; 318 | }; 319 | /* End PBXResourcesBuildPhase section */ 320 | 321 | /* Begin PBXShellScriptBuildPhase section */ 322 | 4FFAF113DCA549ED64D989C6 /* [CP] Embed Pods Frameworks */ = { 323 | isa = PBXShellScriptBuildPhase; 324 | buildActionMask = 2147483647; 325 | files = ( 326 | ); 327 | inputPaths = ( 328 | "${SRCROOT}/Pods/Target Support Files/Pods-HLJStatistical_Example/Pods-HLJStatistical_Example-frameworks.sh", 329 | "${BUILT_PRODUCTS_DIR}/HLJStatistical/HLJStatistical.framework", 330 | "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework", 331 | ); 332 | name = "[CP] Embed Pods Frameworks"; 333 | outputPaths = ( 334 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/HLJStatistical.framework", 335 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework", 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HLJStatistical_Example/Pods-HLJStatistical_Example-frameworks.sh\"\n"; 340 | showEnvVarsInLog = 0; 341 | }; 342 | 71EF019A7F62F0B0693C348F /* [CP] Check Pods Manifest.lock */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 349 | "${PODS_ROOT}/Manifest.lock", 350 | ); 351 | name = "[CP] Check Pods Manifest.lock"; 352 | outputPaths = ( 353 | "$(DERIVED_FILE_DIR)/Pods-HLJStatistical_Example-checkManifestLockResult.txt", 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | shellPath = /bin/sh; 357 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 358 | showEnvVarsInLog = 0; 359 | }; 360 | D0FF01807BEFE5C2DC2955C6 /* [CP] Copy Pods Resources */ = { 361 | isa = PBXShellScriptBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | ); 365 | inputPaths = ( 366 | ); 367 | name = "[CP] Copy Pods Resources"; 368 | outputPaths = ( 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | shellPath = /bin/sh; 372 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HLJStatistical_Example/Pods-HLJStatistical_Example-resources.sh\"\n"; 373 | showEnvVarsInLog = 0; 374 | }; 375 | /* End PBXShellScriptBuildPhase section */ 376 | 377 | /* Begin PBXSourcesBuildPhase section */ 378 | 6003F586195388D20070C39A /* Sources */ = { 379 | isa = PBXSourcesBuildPhase; 380 | buildActionMask = 2147483647; 381 | files = ( 382 | 6003F59E195388D20070C39A /* HLJAppDelegate.m in Sources */, 383 | B913A23D20F0402500EB477A /* HLJTest1ViewController.m in Sources */, 384 | 6003F5A7195388D20070C39A /* HLJViewController.m in Sources */, 385 | 6003F59A195388D20070C39A /* main.m in Sources */, 386 | B913A23E20F0402500EB477A /* HLJTestViewController.m in Sources */, 387 | ); 388 | runOnlyForDeploymentPostprocessing = 0; 389 | }; 390 | 6003F5AA195388D20070C39A /* Sources */ = { 391 | isa = PBXSourcesBuildPhase; 392 | buildActionMask = 2147483647; 393 | files = ( 394 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 395 | ); 396 | runOnlyForDeploymentPostprocessing = 0; 397 | }; 398 | /* End PBXSourcesBuildPhase section */ 399 | 400 | /* Begin PBXTargetDependency section */ 401 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 402 | isa = PBXTargetDependency; 403 | target = 6003F589195388D20070C39A /* HLJStatistical_Example */; 404 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 405 | }; 406 | /* End PBXTargetDependency section */ 407 | 408 | /* Begin PBXVariantGroup section */ 409 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 410 | isa = PBXVariantGroup; 411 | children = ( 412 | 6003F597195388D20070C39A /* en */, 413 | ); 414 | name = InfoPlist.strings; 415 | sourceTree = ""; 416 | }; 417 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 418 | isa = PBXVariantGroup; 419 | children = ( 420 | 6003F5B9195388D20070C39A /* en */, 421 | ); 422 | name = InfoPlist.strings; 423 | sourceTree = ""; 424 | }; 425 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 426 | isa = PBXVariantGroup; 427 | children = ( 428 | 71719F9E1E33DC2100824A3D /* Base */, 429 | ); 430 | name = LaunchScreen.storyboard; 431 | sourceTree = ""; 432 | }; 433 | /* End PBXVariantGroup section */ 434 | 435 | /* Begin XCBuildConfiguration section */ 436 | 6003F5BD195388D20070C39A /* Debug */ = { 437 | isa = XCBuildConfiguration; 438 | buildSettings = { 439 | ALWAYS_SEARCH_USER_PATHS = NO; 440 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 441 | CLANG_CXX_LIBRARY = "libc++"; 442 | CLANG_ENABLE_MODULES = YES; 443 | CLANG_ENABLE_OBJC_ARC = YES; 444 | CLANG_WARN_BOOL_CONVERSION = YES; 445 | CLANG_WARN_CONSTANT_CONVERSION = YES; 446 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 447 | CLANG_WARN_EMPTY_BODY = YES; 448 | CLANG_WARN_ENUM_CONVERSION = YES; 449 | CLANG_WARN_INT_CONVERSION = YES; 450 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 451 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 452 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 453 | COPY_PHASE_STRIP = NO; 454 | ENABLE_TESTABILITY = YES; 455 | GCC_C_LANGUAGE_STANDARD = gnu99; 456 | GCC_DYNAMIC_NO_PIC = NO; 457 | GCC_OPTIMIZATION_LEVEL = 0; 458 | GCC_PREPROCESSOR_DEFINITIONS = ( 459 | "DEBUG=1", 460 | "$(inherited)", 461 | ); 462 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 463 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 464 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 465 | GCC_WARN_UNDECLARED_SELECTOR = YES; 466 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 467 | GCC_WARN_UNUSED_FUNCTION = YES; 468 | GCC_WARN_UNUSED_VARIABLE = YES; 469 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 470 | ONLY_ACTIVE_ARCH = YES; 471 | SDKROOT = iphoneos; 472 | TARGETED_DEVICE_FAMILY = "1,2"; 473 | }; 474 | name = Debug; 475 | }; 476 | 6003F5BE195388D20070C39A /* Release */ = { 477 | isa = XCBuildConfiguration; 478 | buildSettings = { 479 | ALWAYS_SEARCH_USER_PATHS = NO; 480 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 481 | CLANG_CXX_LIBRARY = "libc++"; 482 | CLANG_ENABLE_MODULES = YES; 483 | CLANG_ENABLE_OBJC_ARC = YES; 484 | CLANG_WARN_BOOL_CONVERSION = YES; 485 | CLANG_WARN_CONSTANT_CONVERSION = YES; 486 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 487 | CLANG_WARN_EMPTY_BODY = YES; 488 | CLANG_WARN_ENUM_CONVERSION = YES; 489 | CLANG_WARN_INT_CONVERSION = YES; 490 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 491 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 492 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 493 | COPY_PHASE_STRIP = YES; 494 | ENABLE_NS_ASSERTIONS = NO; 495 | GCC_C_LANGUAGE_STANDARD = gnu99; 496 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 497 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 498 | GCC_WARN_UNDECLARED_SELECTOR = YES; 499 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 500 | GCC_WARN_UNUSED_FUNCTION = YES; 501 | GCC_WARN_UNUSED_VARIABLE = YES; 502 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 503 | SDKROOT = iphoneos; 504 | TARGETED_DEVICE_FAMILY = "1,2"; 505 | VALIDATE_PRODUCT = YES; 506 | }; 507 | name = Release; 508 | }; 509 | 6003F5C0195388D20070C39A /* Debug */ = { 510 | isa = XCBuildConfiguration; 511 | baseConfigurationReference = FEE0A9BEFDAAB39FEB48E40A /* Pods-HLJStatistical_Example.debug.xcconfig */; 512 | buildSettings = { 513 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 514 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 515 | GCC_PREFIX_HEADER = "HLJStatistical/HLJStatistical-Prefix.pch"; 516 | INFOPLIST_FILE = "HLJStatistical/HLJStatistical-Info.plist"; 517 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 518 | MODULE_NAME = ExampleApp; 519 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 520 | PRODUCT_NAME = "$(TARGET_NAME)"; 521 | WRAPPER_EXTENSION = app; 522 | }; 523 | name = Debug; 524 | }; 525 | 6003F5C1195388D20070C39A /* Release */ = { 526 | isa = XCBuildConfiguration; 527 | baseConfigurationReference = FA3A60C421104F90524F3DD6 /* Pods-HLJStatistical_Example.release.xcconfig */; 528 | buildSettings = { 529 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 530 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 531 | GCC_PREFIX_HEADER = "HLJStatistical/HLJStatistical-Prefix.pch"; 532 | INFOPLIST_FILE = "HLJStatistical/HLJStatistical-Info.plist"; 533 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 534 | MODULE_NAME = ExampleApp; 535 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 536 | PRODUCT_NAME = "$(TARGET_NAME)"; 537 | WRAPPER_EXTENSION = app; 538 | }; 539 | name = Release; 540 | }; 541 | 6003F5C3195388D20070C39A /* Debug */ = { 542 | isa = XCBuildConfiguration; 543 | buildSettings = { 544 | BUNDLE_LOADER = "$(TEST_HOST)"; 545 | FRAMEWORK_SEARCH_PATHS = ( 546 | "$(SDKROOT)/Developer/Library/Frameworks", 547 | "$(inherited)", 548 | "$(DEVELOPER_FRAMEWORKS_DIR)", 549 | ); 550 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 551 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 552 | GCC_PREPROCESSOR_DEFINITIONS = ( 553 | "DEBUG=1", 554 | "$(inherited)", 555 | ); 556 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 557 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 558 | PRODUCT_NAME = "$(TARGET_NAME)"; 559 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HLJStatistical_Example.app/HLJStatistical_Example"; 560 | WRAPPER_EXTENSION = xctest; 561 | }; 562 | name = Debug; 563 | }; 564 | 6003F5C4195388D20070C39A /* Release */ = { 565 | isa = XCBuildConfiguration; 566 | buildSettings = { 567 | BUNDLE_LOADER = "$(TEST_HOST)"; 568 | FRAMEWORK_SEARCH_PATHS = ( 569 | "$(SDKROOT)/Developer/Library/Frameworks", 570 | "$(inherited)", 571 | "$(DEVELOPER_FRAMEWORKS_DIR)", 572 | ); 573 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 574 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 575 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 576 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 577 | PRODUCT_NAME = "$(TARGET_NAME)"; 578 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HLJStatistical_Example.app/HLJStatistical_Example"; 579 | WRAPPER_EXTENSION = xctest; 580 | }; 581 | name = Release; 582 | }; 583 | /* End XCBuildConfiguration section */ 584 | 585 | /* Begin XCConfigurationList section */ 586 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "HLJStatistical" */ = { 587 | isa = XCConfigurationList; 588 | buildConfigurations = ( 589 | 6003F5BD195388D20070C39A /* Debug */, 590 | 6003F5BE195388D20070C39A /* Release */, 591 | ); 592 | defaultConfigurationIsVisible = 0; 593 | defaultConfigurationName = Release; 594 | }; 595 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "HLJStatistical_Example" */ = { 596 | isa = XCConfigurationList; 597 | buildConfigurations = ( 598 | 6003F5C0195388D20070C39A /* Debug */, 599 | 6003F5C1195388D20070C39A /* Release */, 600 | ); 601 | defaultConfigurationIsVisible = 0; 602 | defaultConfigurationName = Release; 603 | }; 604 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "HLJStatistical_Tests" */ = { 605 | isa = XCConfigurationList; 606 | buildConfigurations = ( 607 | 6003F5C3195388D20070C39A /* Debug */, 608 | 6003F5C4195388D20070C39A /* Release */, 609 | ); 610 | defaultConfigurationIsVisible = 0; 611 | defaultConfigurationName = Release; 612 | }; 613 | /* End XCConfigurationList section */ 614 | }; 615 | rootObject = 6003F582195388D10070C39A /* Project object */; 616 | } 617 | --------------------------------------------------------------------------------