├── TRZSlideLicenseViewController
├── en.lproj
│ └── InfoPlist.strings
├── Images.xcassets
│ ├── AppIcon.appiconset
│ │ ├── SLVC_icn_app_120@2x.png
│ │ └── Contents.json
│ └── LaunchImage.launchimage
│ │ └── Contents.json
├── TRZTableViewController.h
├── TRZAppDelegate.h
├── main.m
├── TRZSlideLicenseViewController-Prefix.pch
├── TRZSlideLicenseViewController-Info.plist
├── LaunchScreen.storyboard
├── TRZAppDelegate.m
├── TRZTableViewController.m
├── Pods-acknowledgements.plist
└── Base.lproj
│ └── Main.storyboard
├── TRZSlideLicenseViewControllerTests
├── en.lproj
│ └── InfoPlist.strings
├── TRZSlideLicenseViewControllerTests-Info.plist
└── TRZSlideLicenseViewControllerTests.m
├── ghassets
└── TRZSlideLicenseViewController.gif
├── TRZSlideLicenseViewController.xcodeproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
├── xcuserdata
│ └── yam.xcuserdatad
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── TRZSlideLicenseViewController.xcscheme
└── project.pbxproj
├── .gitignore
├── src
├── TRZLicenseView.h
├── TRZSlideLicenseScrollView.h
├── TRZLicenseView.m
├── TRZSlideLicenseViewController.h
├── TRZSlideLicenseScrollView.m
├── TRZSlideLicenseViewController.m
└── TRZLicenseView.xib
├── TRZSlideLicenseViewController.podspec
├── LICENSE
└── README.md
/TRZSlideLicenseViewController/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewControllerTests/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/ghassets/TRZSlideLicenseViewController.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/86/TRZSlideLicenseViewController/HEAD/ghassets/TRZSlideLicenseViewController.gif
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/Images.xcassets/AppIcon.appiconset/SLVC_icn_app_120@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/86/TRZSlideLicenseViewController/HEAD/TRZSlideLicenseViewController/Images.xcassets/AppIcon.appiconset/SLVC_icn_app_120@2x.png
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # CocoaPods
2 | #
3 | # We recommend against adding the Pods directory to your .gitignore. However
4 | # you should judge for yourself, the pros and cons are mentioned at:
5 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control?
6 | #
7 | # Pods/
8 |
9 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/TRZTableViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // TRZTableViewController.h
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/05/31.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface TRZTableViewController : UITableViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/TRZAppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // TRZAppDelegate.h
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface TRZAppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | #import "TRZAppDelegate.h"
12 |
13 | int main(int argc, char * argv[])
14 | {
15 | @autoreleasepool {
16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([TRZAppDelegate class]));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/TRZSlideLicenseViewController-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
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/src/TRZLicenseView.h:
--------------------------------------------------------------------------------
1 | //
2 | // TRZLicenseView.h
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface TRZLicenseView : UIView
12 |
13 | @property (weak, nonatomic) IBOutlet UITextView *libTitle;
14 | @property (weak, nonatomic) IBOutlet UITextView *libText;
15 | @property (weak, nonatomic) IBOutlet UILabel *curPage;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/src/TRZSlideLicenseScrollView.h:
--------------------------------------------------------------------------------
1 | //
2 | // TRZSlideLicenseScrollView.h
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface TRZSlideLicenseScrollView : UIScrollView
12 |
13 | @property (nonatomic) UIColor *titleColor;
14 | @property (nonatomic) UIColor *textColor;
15 |
16 | - (id)initWithFrame:(CGRect)frame licenses:(NSArray*)licenses;
17 |
18 | @end
19 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "40x40",
11 | "scale" : "2x"
12 | },
13 | {
14 | "size" : "60x60",
15 | "idiom" : "iphone",
16 | "filename" : "SLVC_icn_app_120@2x.png",
17 | "scale" : "2x"
18 | }
19 | ],
20 | "info" : {
21 | "version" : 1,
22 | "author" : "xcode"
23 | }
24 | }
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/Images.xcassets/LaunchImage.launchimage/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "orientation" : "portrait",
5 | "idiom" : "iphone",
6 | "extent" : "full-screen",
7 | "minimum-system-version" : "7.0",
8 | "scale" : "2x"
9 | },
10 | {
11 | "orientation" : "portrait",
12 | "idiom" : "iphone",
13 | "subtype" : "retina4",
14 | "extent" : "full-screen",
15 | "minimum-system-version" : "7.0",
16 | "scale" : "2x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/src/TRZLicenseView.m:
--------------------------------------------------------------------------------
1 | //
2 | // TRZLicenseView.m
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import "TRZLicenseView.h"
10 |
11 | @implementation TRZLicenseView
12 |
13 | - (id)initWithFrame:(CGRect)frame
14 | {
15 | self = [super initWithFrame:frame];
16 | if (self) {
17 | // Initialization code
18 | UIView *view = [[[NSBundle bundleForClass:self.class] loadNibNamed:@"TRZLicenseView" owner:self options:nil] objectAtIndex:0];
19 | view.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);
20 | [self addSubview:view];
21 | }
22 | return self;
23 | }
24 |
25 | @end
26 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController.podspec:
--------------------------------------------------------------------------------
1 | Pod::Spec.new do |s|
2 | s.name = "TRZSlideLicenseViewController"
3 | s.version = "0.9.6"
4 | s.summary = "iOS horizontal scroll view controller for displaying the licenses"
5 | s.homepage = "https://github.com/86/TRZSlideLicenseViewController"
6 | s.author = { "86" => "triaedz@gmail.com" }
7 | s.social_media_url = "https://twitter.com/86"
8 | s.license = { :type => "MIT", :file => "LICENSE" }
9 | s.source = {
10 | :git => "https://github.com/86/TRZSlideLicenseViewController.git",
11 | :tag => s.version.to_s
12 | }
13 | s.platform = :ios, "7.0"
14 | s.source_files = "src/**/*.{h,m}"
15 | s.resources = "src/**/*.xib"
16 | s.requires_arc = true
17 | end
18 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController.xcodeproj/xcuserdata/yam.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | TRZSlideLicenseViewController.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 2873966F19015FAF003C27B2
16 |
17 | primary
18 |
19 |
20 | 2873969019015FAF003C27B2
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewControllerTests/TRZSlideLicenseViewControllerTests-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | triaedz.${PRODUCT_NAME:rfc1034identifier}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundlePackageType
14 | BNDL
15 | CFBundleShortVersionString
16 | 1.0
17 | CFBundleSignature
18 | ????
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewControllerTests/TRZSlideLicenseViewControllerTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // TRZSlideLicenseViewControllerTests.m
3 | // TRZSlideLicenseViewControllerTests
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface TRZSlideLicenseViewControllerTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation TRZSlideLicenseViewControllerTests
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 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014, 86 (http://86.triaedz.com)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
20 |
--------------------------------------------------------------------------------
/src/TRZSlideLicenseViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // TRZSlideLicenseViewController2.h
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/23.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | typedef NS_ENUM(NSUInteger, TRZSlideLicenseViewHeaderType) {
12 | TRZSlideLicenseViewHeaderTypeDefault = 0,
13 | TRZSlideLicenseViewHeaderTypeNone,
14 | TRZSlideLicenseViewHeaderTypeCustom,
15 | };
16 |
17 | typedef NS_ENUM(NSUInteger, TRZSlideLicenseViewFooterType) {
18 | TRZSlideLicenseViewFooterTypeDefault = 0,
19 | TRZSlideLicenseViewFooterTypeNone,
20 | TRZSlideLicenseViewFooterTypeCustom,
21 | };
22 |
23 | @interface TRZSlideLicenseViewController : UIViewController
24 |
25 | @property (nonatomic) NSString *podsPlistName;
26 |
27 | @property (nonatomic) TRZSlideLicenseViewHeaderType headerType;
28 | @property (nonatomic) NSString *headerTitle;
29 | @property (nonatomic) NSString *headerText;
30 |
31 | @property (nonatomic) TRZSlideLicenseViewFooterType footerType;
32 | @property (nonatomic) NSString *footerTitle;
33 | @property (nonatomic) NSString *footerText;
34 |
35 | // Color of the license titles. (Default: Red)
36 | @property (nonatomic) UIColor *titleColor;
37 |
38 | // Color of the license text. (Default: Dark Grey)
39 | @property (nonatomic) UIColor *textColor;
40 |
41 | @end
42 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/TRZSlideLicenseViewController-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ${PRODUCT_NAME}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleIdentifier
12 | triaedz.${PRODUCT_NAME:rfc1034identifier}
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 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/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 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/TRZAppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // TRZAppDelegate.m
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import "TRZAppDelegate.h"
10 |
11 | @implementation TRZAppDelegate
12 |
13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
14 | {
15 | // Override point for customization after application launch.
16 | return YES;
17 | }
18 |
19 | - (void)applicationWillResignActive:(UIApplication *)application
20 | {
21 | // 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.
22 | // 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.
23 | }
24 |
25 | - (void)applicationDidEnterBackground:(UIApplication *)application
26 | {
27 | // 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.
28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
29 | }
30 |
31 | - (void)applicationWillEnterForeground:(UIApplication *)application
32 | {
33 | // 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.
34 | }
35 |
36 | - (void)applicationDidBecomeActive:(UIApplication *)application
37 | {
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 | {
43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
44 | }
45 |
46 | @end
47 |
--------------------------------------------------------------------------------
/src/TRZSlideLicenseScrollView.m:
--------------------------------------------------------------------------------
1 | //
2 | // TRZSlideLicenseScrollView.m
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/18.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import "TRZSlideLicenseScrollView.h"
10 | #import "TRZLicenseView.h"
11 |
12 | @interface TRZSlideLicenseScrollView ()
13 |
14 | @property (nonatomic) NSArray *licenses;
15 | @property (nonatomic) NSArray *licenseViews;
16 |
17 | @end
18 |
19 |
20 | @implementation TRZSlideLicenseScrollView
21 |
22 | - (id)initWithFrame:(CGRect)frame licenses:(NSArray*)licenses {
23 | self = [super initWithFrame:frame];
24 | if (self) {
25 | // Initialization code
26 | _licenses = licenses;
27 | [self initScrollView];
28 | }
29 | return self;
30 | }
31 |
32 | - (void)initScrollView {
33 | self.pagingEnabled = YES;
34 | self.alwaysBounceVertical = NO;
35 | self.alwaysBounceHorizontal = YES;
36 | self.directionalLockEnabled = YES;
37 | self.bouncesZoom = NO;
38 | self.contentSize = CGSizeMake(_licenses.count * self.frame.size.width, self.frame.size.height - 64);
39 | NSMutableArray *licenseViews = [NSMutableArray array];
40 | for (int i = 0; i < _licenses.count; i++) {
41 | CGRect frame = CGRectMake(self.frame.size.width * i, 0, self.frame.size.width, self.frame.size.height - 64);
42 | TRZLicenseView *licenseView = [[TRZLicenseView alloc] initWithFrame:frame];
43 | licenseView.libTitle.text = _licenses[i][@"Title"];
44 | [licenseView.libTitle sizeToFit];
45 | licenseView.libText.text = _licenses[i][@"FooterText"];
46 | licenseView.libText.layoutManager.allowsNonContiguousLayout = NO;
47 | NSString *page = [NSString stringWithFormat:@"%d/%lu",i + 1, (unsigned long)_licenses.count];
48 | licenseView.curPage.text = page;
49 | [self addSubview:licenseView];
50 | [licenseViews addObject:licenseView];
51 | }
52 | self.licenseViews = licenseViews;
53 | }
54 |
55 |
56 | #pragma mark - Setter
57 |
58 | - (void)setTitleColor:(UIColor *)color
59 | {
60 | if (color != _titleColor) {
61 | _titleColor = color;
62 |
63 | // Update the color of all
64 | for (TRZLicenseView *licenseView in self.licenseViews) {
65 | licenseView.libTitle.textColor = _titleColor;
66 | }
67 | }
68 | }
69 |
70 | - (void)setTextColor:(UIColor *)color
71 | {
72 | if (color != _textColor) {
73 | _textColor = color;
74 |
75 | // Update the color of all
76 | for (TRZLicenseView *licenseView in self.licenseViews) {
77 | licenseView.libText.textColor = _textColor;
78 | licenseView.curPage.textColor = _textColor;
79 | }
80 | }
81 | }
82 |
83 | @end
84 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController.xcodeproj/xcuserdata/yam.xcuserdatad/xcschemes/TRZSlideLicenseViewController.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
42 |
43 |
49 |
50 |
51 |
52 |
61 |
62 |
68 |
69 |
70 |
71 |
72 |
73 |
79 |
80 |
86 |
87 |
88 |
89 |
91 |
92 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/TRZTableViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // TRZTableViewController.m
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/05/31.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import "TRZTableViewController.h"
10 | #import "TRZSlideLicenseViewController.h"
11 |
12 | @interface TRZTableViewController ()
13 |
14 | @end
15 |
16 | @implementation TRZTableViewController
17 |
18 | - (id)initWithStyle:(UITableViewStyle)style
19 | {
20 | self = [super initWithStyle:style];
21 | if (self) {
22 | // Custom initialization
23 | }
24 | return self;
25 | }
26 |
27 | - (void)viewDidLoad
28 | {
29 | [super viewDidLoad];
30 | }
31 |
32 | - (void)didReceiveMemoryWarning
33 | {
34 | [super didReceiveMemoryWarning];
35 | // Dispose of any resources that can be recreated.
36 | }
37 |
38 | #pragma mark - Navigation
39 |
40 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
41 | {
42 | if ([segue.identifier isEqualToString:@"default"]) {
43 | TRZSlideLicenseViewController *controller = segue.destinationViewController;
44 | controller.podsPlistName = @"Pods-acknowledgements.plist";
45 | controller.navigationItem.title = [self.tableView cellForRowAtIndexPath:[self.tableView indexPathForSelectedRow]].textLabel.text;
46 |
47 | } else if ([segue.identifier isEqualToString:@"removeHeaderFooterPage"]) {
48 | TRZSlideLicenseViewController *controller = segue.destinationViewController;
49 | controller.podsPlistName = @"Pods-acknowledgements.plist";
50 | controller.navigationItem.title = [self.tableView cellForRowAtIndexPath:[self.tableView indexPathForSelectedRow]].textLabel.text;
51 |
52 | // remove header and footer page
53 | controller.headerType = TRZSlideLicenseViewHeaderTypeNone;
54 | controller.footerType = TRZSlideLicenseViewFooterTypeNone;
55 |
56 | } else if ([segue.identifier isEqualToString:@"customizeHeaderFooterText"]) {
57 | TRZSlideLicenseViewController *controller = segue.destinationViewController;
58 | controller.podsPlistName = @"Pods-acknowledgements.plist";
59 | controller.navigationItem.title = [self.tableView cellForRowAtIndexPath:[self.tableView indexPathForSelectedRow]].textLabel.text;
60 |
61 | // Cutomize header and footer text
62 | controller.headerType = TRZSlideLicenseViewHeaderTypeCustom;
63 | controller.headerTitle = @"Libraries We Use";
64 | controller.headerText = @"This application makes use of the third party libraries on the following page (➟).\n\nWe thank the open source community for all of their contributions.";
65 |
66 | controller.footerType = TRZSlideLicenseViewFooterTypeCustom;
67 | controller.footerTitle = @"Special Thanks";
68 | controller.footerText = @"These libraries are managed by CocoaPods (http://cocoapods.org).\n\nWe love CocoaPods and the contributors to the CocoaPods projects.";
69 |
70 | } else if ([segue.identifier isEqualToString:@"changeColors"]) {
71 | TRZSlideLicenseViewController *controller = segue.destinationViewController;
72 | controller.podsPlistName = @"Pods-acknowledgements.plist";
73 | controller.navigationItem.title = [self.tableView cellForRowAtIndexPath:[self.tableView indexPathForSelectedRow]].textLabel.text;
74 | controller.headerType = TRZSlideLicenseViewHeaderTypeCustom;
75 | controller.headerTitle = @"Libraries We Use";
76 | controller.headerText = @"This application makes use of the third party libraries on the following page (➟).\n\nWe thank the open source community for all of their contributions.";
77 | controller.footerType = TRZSlideLicenseViewFooterTypeCustom;
78 | controller.footerTitle = @"Special Thanks";
79 | controller.footerText = @"These libraries are managed by CocoaPods (http://cocoapods.org).\n\nWe love CocoaPods and the contributors to the CocoaPods projects.";
80 |
81 | // Change colors
82 | controller.view.backgroundColor = [UIColor darkGrayColor];
83 | controller.view.tintColor = [UIColor colorWithRed:0.9 green:0.4 blue:0.4 alpha:1.0];
84 | controller.titleColor = [UIColor whiteColor];
85 | controller.textColor = [UIColor lightGrayColor];
86 | }
87 | }
88 |
89 | @end
90 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # TRZSlideLicenseViewController
2 |
3 |
4 | **TRZSlideLicenseViewController is a iOS horizontal scroll view controller for displaying the licenses managed by CocoaPods.**
5 |
6 | 
7 |
8 | ## Requirements
9 |
10 | * iOS 7.0 or later
11 | * [CocoaPods](http://cocoapods.org)
12 |
13 | ## Installation
14 |
15 | Add the following line to your `Podfile`.
16 |
17 | ```ruby
18 | pod 'TRZSlideLicenseViewController'
19 | ```
20 |
21 | ## Usage
22 |
23 | #### Add a Pods-acknowledgements.plist to your project
24 |
25 | 1. Add a ``Pods-acknowledgements.plist`` from your Pods directory to your project.
26 |
27 | #### Loadig a view from a Storyboard
28 |
29 | 1. Add a new view controller to your storyboard.
30 | 2. Input ``TRZSlideLicenseViewController`` to custom class field in the identity inspector of the view controller.
31 | 3. Make a push segue connection from a source view controller in the navigation controller’s stack to the ``TRZSlideLicenseViewController``.
32 | 4. Input a segue identifier in the attributes inspector of the segue settings.
33 | 5. Implemente the ``prepareForSegue`` in the source view controller class file.
34 |
35 | ```objective-c
36 | #import "TRZSlideLicenseViewController.h"
37 |
38 | ...
39 |
40 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
41 | {
42 | if ([segue.identifier isEqualToString:@"segueIdentifier"]) {
43 | TRZSlideLicenseViewController *controller = segue.destinationViewController;
44 | controller.podsPlistName = @"Pods-acknowledgements.plist";
45 | controller.navigationItem.title = @"Sample Licenses";
46 | }
47 | }
48 |
49 | ```
50 |
51 | #### Creating a View Programmatically
52 |
53 | 1. Implement to a source view controller in the navigation controller’s stack as follows.
54 |
55 | ```objective-c
56 | #import "TRZSlideLicenseViewController.h"
57 |
58 | ...
59 |
60 | TRZSlideLicenseViewController *controller = [[TRZSlideLicenseViewController alloc] init];
61 | controller.podsPlistName = @"Pods-acknowledgements.plist";
62 | controller.navigationItem.title = @"Sample Licenses";
63 | [self.navigationController pushViewController:controller animated:YES];
64 | ```
65 |
66 | ## Options
67 |
68 | ### Cutomize the style of the header and footer page
69 |
70 | Set the following value to ``headerType`` or ``footerType`` property of the ``TRZSlideLicenseViewController``.
71 |
72 | #### TRZSlideLicenseViewHeaderType
73 |
74 | | Value | Description |
75 | |:------|:------------|
76 | | ``TRZSlideLicenseViewHeaderTypeDefault`` |Default. Do-nothing. Displays CocoaPods generated title and text: "Acknowledgements", "This application makes use of the following third party libraries:".|
77 | |``TRZSlideLicenseViewHeaderTypeNone`` |Remove the header page.|
78 | |``TRZSlideLicenseViewHeaderTypeCustom`` |Displays a custom text. Set a text to `headerTitle`, `headerText` of the controller property.|
79 |
80 | #### TRZSlideLicenseViewFooterType
81 |
82 | | Value | Description |
83 | |:------|:------------|
84 | | ``TRZSlideLicenseViewFooterTypeDefault`` |Default. Do-nothing. Displays CocoaPods generated text: "Generated by CocoaPods - http://cocoapods.org".|
85 | |``TRZSlideLicenseViewFooterTypeNone`` |Remove the footer page.|
86 | |``TRZSlideLicenseViewFooterTypeCustom`` |Displays a custom text. Set a text to ``footerTitle``, ``footerText`` of the controller property.|
87 |
88 |
89 | ### Customize the title and text color
90 |
91 | Set a ``UIColor`` to the ``titleColor`` or ``textColor`` property of the ``TRZSlideLicenseViewController``.
92 |
93 | ### Example
94 |
95 | ```objective-c
96 | ...
97 |
98 | TRZSlideLicenseViewController *controller = [[TRZSlideLicenseViewController alloc] init];
99 | controller.podsPlistName = @"Pods-TESTTRZSlideView-acknowledgements.plist";
100 | controller.navigationItem.title = @"Sample Licenses";
101 |
102 | // Customize the header title and text.
103 | controller.headerType = TRZSlideLicenseViewHeaderTypeCustom;
104 | controller.headerTitle = @"Libraries We Use";
105 | controller.headerText = @"This application makes use of the third party libraries on the following page (➟).\n\nWe thank the open source community for all of their contributions.";
106 |
107 | // Remove the footer page.
108 | controller.footerType = TRZSlideLicenseViewFooterTypeNone;
109 |
110 | // Customize the colors
111 | controller.view.backgroundColor = [UIColor darkGrayColor];
112 | controller.view.tintColor = [UIColor colorWithRed:0.9 green:0.4 blue:0.4 alpha:1.0];
113 | controller.titleColor = [UIColor whiteColor];
114 | controller.textColor = [UIColor lightGrayColor];
115 |
116 | [self.navigationController pushViewController:controller animated:YES];
117 | ```
118 |
119 | ## License
120 |
121 | MIT License
122 |
123 |
124 |
125 |
--------------------------------------------------------------------------------
/src/TRZSlideLicenseViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // TRZSlideLicenseViewController2.m
3 | // TRZSlideLicenseViewController
4 | //
5 | // Created by yam on 2014/04/23.
6 | // Copyright (c) 2014年 yam. All rights reserved.
7 | //
8 |
9 | #import "TRZSlideLicenseViewController.h"
10 | #import "TRZSlideLicenseScrollView.h"
11 |
12 | @interface TRZSlideLicenseViewController ()
13 |
14 | @property (nonatomic) NSArray *licenses;
15 | @property (nonatomic) TRZSlideLicenseScrollView *scrolView;
16 |
17 | @end
18 |
19 |
20 | @implementation TRZSlideLicenseViewController
21 |
22 | - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
23 | {
24 | self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
25 | if (self) {
26 | // Custom initialization
27 | [self initProperty];
28 | }
29 | return self;
30 | }
31 |
32 | - (id)initWithCoder:(NSCoder *)aDecoder {
33 | if ((self = [super initWithCoder:aDecoder])) {
34 | [self initProperty];
35 | }
36 | return self;
37 | }
38 |
39 | - (void)initProperty {
40 | _podsPlistName = @"";
41 | _headerType = TRZSlideLicenseViewHeaderTypeDefault;
42 | _headerTitle = @"";
43 | _headerText = @"";
44 | _footerType = TRZSlideLicenseViewFooterTypeDefault;
45 | _footerTitle = @"";
46 | _footerText = @"";
47 | }
48 |
49 | - (void)loadView {
50 | CGRect screenBounds = [[UIScreen mainScreen] bounds];
51 | UIView *contentView = [[UIView alloc] initWithFrame:screenBounds];
52 | contentView.backgroundColor = [UIColor whiteColor];
53 | self.view = contentView;
54 | }
55 |
56 | - (void)viewDidLoad
57 | {
58 | [super viewDidLoad];
59 | if (_podsPlistName) {
60 | [self loadPodsPlist];
61 | } else {
62 | NSLog(@"podsPlistName not specified.");
63 | }
64 | if (_licenses) {
65 | TRZSlideLicenseScrollView *slideLicenseScrollView = [[TRZSlideLicenseScrollView alloc] initWithFrame:self.view.frame licenses:_licenses];
66 | slideLicenseScrollView.delegate = self;
67 | slideLicenseScrollView.titleColor = _titleColor;
68 | slideLicenseScrollView.textColor = _textColor;
69 | _scrolView = slideLicenseScrollView;
70 | [self.view addSubview:slideLicenseScrollView];
71 | } else {
72 | NSLog(@"licenses data not found.");
73 | }
74 | }
75 |
76 | - (void)didReceiveMemoryWarning
77 | {
78 | [super didReceiveMemoryWarning];
79 | // Dispose of any resources that can be recreated.
80 | }
81 |
82 |
83 | #pragma mark - scrollView delegate
84 |
85 | - (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset {
86 | if (fabs(velocity.x) > 4) {
87 | scrollView.pagingEnabled = NO;
88 | } else if (velocity.x == 0) {
89 | if (!scrollView.pagingEnabled) {
90 | scrollView.pagingEnabled = YES;
91 | }
92 | }
93 | }
94 |
95 | - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
96 | if (!scrollView.pagingEnabled) {
97 | scrollView.pagingEnabled = YES;
98 | }
99 |
100 | CGFloat endPoint = scrollView.contentOffset.x;
101 | CGFloat width = scrollView.frame.size.width;
102 | int quo = endPoint / width;
103 | CGFloat mod = fmod(endPoint, width);
104 | CGFloat tgtPoint;
105 | if (mod) {
106 | if (mod > width / 2) {
107 | tgtPoint = width * (quo + 1);
108 | } else {
109 | tgtPoint = width * quo;
110 | }
111 | [scrollView scrollRectToVisible:CGRectMake(tgtPoint, scrollView.contentOffset.y, scrollView.frame.size.width, scrollView.frame.size.height) animated:YES];
112 | }
113 | }
114 |
115 |
116 | #pragma mark - load Pods plist
117 |
118 | - (void)loadPodsPlist {
119 | NSString *filePath = [[NSBundle mainBundle] pathForResource:_podsPlistName ofType:nil];
120 | NSData *plistData = [NSData dataWithContentsOfFile:filePath];
121 | NSPropertyListFormat format = NSPropertyListXMLFormat_v1_0;
122 | NSError *error;
123 | id dict = [NSPropertyListSerialization propertyListWithData:plistData options:(NSPropertyListReadOptions)NSPropertyListImmutable format:&format error:&error];
124 | if (!dict) {
125 | return;
126 | }
127 | NSMutableArray *preferenceSpecifiers = [NSMutableArray arrayWithArray:dict[@"PreferenceSpecifiers"]];
128 | switch (_headerType) {
129 | case TRZSlideLicenseViewHeaderTypeNone:
130 | [preferenceSpecifiers removeObjectAtIndex:0];
131 | break;
132 | case TRZSlideLicenseViewHeaderTypeCustom:
133 | preferenceSpecifiers[0] = @{ @"Title" : _headerTitle, @"FooterText" : _headerText};
134 | break;
135 | case TRZSlideLicenseViewHeaderTypeDefault:
136 | break;
137 | }
138 | switch (_footerType) {
139 | case TRZSlideLicenseViewFooterTypeNone:
140 | [preferenceSpecifiers removeLastObject];
141 | break;
142 | case TRZSlideLicenseViewFooterTypeCustom:
143 | preferenceSpecifiers[[preferenceSpecifiers count] - 1] = @{ @"Title" : _footerTitle, @"FooterText" : _footerText};
144 | break;
145 | case TRZSlideLicenseViewFooterTypeDefault:
146 | break;
147 | }
148 | _licenses = preferenceSpecifiers;
149 | }
150 |
151 | #pragma mark - Setter
152 |
153 | - (void)setTitleColor:(UIColor *)color
154 | {
155 | if (color != _titleColor) {
156 | _titleColor = color;
157 |
158 | // Update title color of scrollview.
159 | self.scrolView.titleColor = _titleColor;
160 | }
161 | }
162 |
163 | - (void)setTextColor:(UIColor *)color
164 | {
165 | if (color != _textColor) {
166 | _textColor = color;
167 |
168 | // Update title color of scrollview.
169 | self.scrolView.textColor = _textColor;
170 | }
171 | }
172 |
173 | @end
174 |
--------------------------------------------------------------------------------
/src/TRZLicenseView.xib:
--------------------------------------------------------------------------------
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 |
32 |
33 |
34 |
35 |
36 |
37 | Copyright (c) 2014, 86 (http://86.triaedz.com)
38 |
39 | Permission is hereby granted, free of charge, to any person obtaining a copy
40 | of this software and associated documentation files (the "Software"), to deal
41 | in the Software without restriction, including without limitation the rights
42 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43 | copies of the Software, and to permit persons to whom the Software is
44 | furnished to do so, subject to the following conditions:
45 |
46 | The above copyright notice and this permission notice shall be included in all
47 | copies or substantial portions of the Software.
48 |
49 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55 | SOFTWARE.
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/Pods-acknowledgements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreferenceSpecifiers
6 |
7 |
8 | FooterText
9 | This application makes use of the following third party libraries:
10 | Title
11 | Acknowledgements
12 | Type
13 | PSGroupSpecifier
14 |
15 |
16 | FooterText
17 | Copyright (c) 2013, fladdict, azu
18 | All rights reserved.
19 |
20 | Redistribution and use in source and binary forms, with or without
21 | modification, are permitted provided that the following conditions are met:
22 |
23 | * Redistributions of source code must retain the above copyright notice, this
24 | list of conditions and the following disclaimer.
25 | * Redistributions in binary form must reproduce the above copyright
26 | notice, this list of conditions and the following disclaimer in the
27 | documentation and/or other materials provided with the distribution.
28 | * Neither the name of fladdict nor the names of its
29 | contributors may be used to endorse or promote products derived from this
30 | software without specific prior written permission.
31 |
32 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
36 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
37 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
38 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
40 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
41 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42 |
43 | Title
44 | AAMFeedback
45 | Type
46 | PSGroupSpecifier
47 |
48 |
49 | FooterText
50 | Copyright (c) 2013 AFNetworking (http://afnetworking.com/)
51 |
52 | Permission is hereby granted, free of charge, to any person obtaining a copy
53 | of this software and associated documentation files (the "Software"), to deal
54 | in the Software without restriction, including without limitation the rights
55 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
56 | copies of the Software, and to permit persons to whom the Software is
57 | furnished to do so, subject to the following conditions:
58 |
59 | The above copyright notice and this permission notice shall be included in
60 | all copies or substantial portions of the Software.
61 |
62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
66 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
67 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
68 | THE SOFTWARE.
69 |
70 | Title
71 | AFNetworking
72 | Type
73 | PSGroupSpecifier
74 |
75 |
76 | FooterText
77 | The MIT License (MIT)
78 |
79 | Copyright (c) 2013 Christian Schwarz
80 |
81 | Permission is hereby granted, free of charge, to any person obtaining a copy of
82 | this software and associated documentation files (the "Software"), to deal in
83 | the Software without restriction, including without limitation the rights to
84 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
85 | the Software, and to permit persons to whom the Software is furnished to do so,
86 | subject to the following conditions:
87 |
88 | The above copyright notice and this permission notice shall be included in all
89 | copies or substantial portions of the Software.
90 |
91 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
92 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
93 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
94 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
95 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
96 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
97 | Title
98 | CSNotificationView
99 | Type
100 | PSGroupSpecifier
101 |
102 |
103 | FooterText
104 | Copyright (c) 2012 Gangverk ehf. http://gangverk.is
105 |
106 | Permission is hereby granted, free of charge, to any person obtaining a copy
107 | of this software and associated documentation files (the "Software"), to deal
108 | in the Software without restriction, including without limitation the rights
109 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
110 | copies of the Software, and to permit persons to whom the Software is
111 | furnished to do so, subject to the following conditions:
112 |
113 | The above copyright notice and this permission notice shall be included in
114 | all copies or substantial portions of the Software.
115 |
116 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
117 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
118 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
119 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
120 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
121 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
122 | THE SOFTWARE.
123 | Title
124 | GVUserDefaults
125 | Type
126 | PSGroupSpecifier
127 |
128 |
129 | FooterText
130 | Copyright (c) 2013 IFTTT Inc
131 |
132 | Permission is hereby granted, free of charge, to any person obtaining
133 | a copy of this software and associated documentation files (the
134 | "Software"), to deal in the Software without restriction, including
135 | without limitation the rights to use, copy, modify, merge, publish,
136 | distribute, sublicense, and/or sell copies of the Software, and to
137 | permit persons to whom the Software is furnished to do so, subject to
138 | the following conditions:
139 |
140 | The above copyright notice and this permission notice shall be
141 | included in all copies or substantial portions of the Software.
142 |
143 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
144 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
145 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
146 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
147 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
148 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
149 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
150 |
151 | Title
152 | JazzHands
153 | Type
154 | PSGroupSpecifier
155 |
156 |
157 | FooterText
158 | Copyright (c) 2013 Matej Bukovinski
159 |
160 | Permission is hereby granted, free of charge, to any person obtaining a copy
161 | of this software and associated documentation files (the "Software"), to deal
162 | in the Software without restriction, including without limitation the rights
163 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
164 | copies of the Software, and to permit persons to whom the Software is
165 | furnished to do so, subject to the following conditions:
166 |
167 | The above copyright notice and this permission notice shall be included in
168 | all copies or substantial portions of the Software.
169 |
170 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
171 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
172 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
173 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
174 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
175 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
176 | THE SOFTWARE.
177 | Title
178 | MBProgressHUD
179 | Type
180 | PSGroupSpecifier
181 |
182 |
183 | FooterText
184 | The MIT License (MIT)
185 |
186 | Copyright (c) 2014 Daniel García - Produkt
187 |
188 | Permission is hereby granted, free of charge, to any person obtaining a copy of
189 | this software and associated documentation files (the "Software"), to deal in
190 | the Software without restriction, including without limitation the rights to
191 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
192 | the Software, and to permit persons to whom the Software is furnished to do so,
193 | subject to the following conditions:
194 |
195 | The above copyright notice and this permission notice shall be included in all
196 | copies or substantial portions of the Software.
197 |
198 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
199 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
200 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
201 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
202 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
203 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
204 |
205 | Title
206 | PDKTStickySectionHeadersCollectionViewLayout
207 | Type
208 | PSGroupSpecifier
209 |
210 |
211 | FooterText
212 | Copyright 2011 ESCOZ Inc - http://escoz.com
213 |
214 | --------
215 |
216 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
217 | file except in compliance with the License. You may obtain a copy of the License at
218 |
219 | http://www.apache.org/licenses/LICENSE-2.0
220 |
221 | Unless required by applicable law or agreed to in writing, software distributed under
222 | the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
223 | ANY KIND, either express or implied. See the License for the specific language governing
224 | permissions and limitations under the License.
225 |
226 |
227 | Title
228 | QuickDialog
229 | Type
230 | PSGroupSpecifier
231 |
232 |
233 | FooterText
234 | Copyright (c) 2014, 86 (http://86.triaedz.com)
235 |
236 | Permission is hereby granted, free of charge, to any person obtaining a copy
237 | of this software and associated documentation files (the "Software"), to deal
238 | in the Software without restriction, including without limitation the rights
239 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
240 | copies of the Software, and to permit persons to whom the Software is
241 | furnished to do so, subject to the following conditions:
242 |
243 | The above copyright notice and this permission notice shall be included in all
244 | copies or substantial portions of the Software.
245 |
246 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
247 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
248 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
249 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
250 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
251 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
252 | SOFTWARE.
253 |
254 | Title
255 | TRZSlideLicenseViewController
256 | Type
257 | PSGroupSpecifier
258 |
259 |
260 | FooterText
261 | Generated by CocoaPods - http://cocoapods.org
262 | Title
263 |
264 | Type
265 | PSGroupSpecifier
266 |
267 |
268 | StringsTable
269 | Acknowledgements
270 | Title
271 | Acknowledgements
272 |
273 |
274 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController/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 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
--------------------------------------------------------------------------------
/TRZSlideLicenseViewController.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 280B40F01938E00200C50815 /* TRZTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 280B40EF1938E00200C50815 /* TRZTableViewController.m */; };
11 | 2832AED8190C29A400F5935E /* Pods-acknowledgements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 2832AED7190C29A400F5935E /* Pods-acknowledgements.plist */; };
12 | 286303821C89C615007DA287 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 286303811C89C615007DA287 /* LaunchScreen.storyboard */; };
13 | 2873967419015FAF003C27B2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2873967319015FAF003C27B2 /* Foundation.framework */; };
14 | 2873967619015FAF003C27B2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2873967519015FAF003C27B2 /* CoreGraphics.framework */; };
15 | 2873967819015FAF003C27B2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2873967719015FAF003C27B2 /* UIKit.framework */; };
16 | 2873967E19015FAF003C27B2 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2873967C19015FAF003C27B2 /* InfoPlist.strings */; };
17 | 2873968019015FAF003C27B2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2873967F19015FAF003C27B2 /* main.m */; };
18 | 2873968419015FAF003C27B2 /* TRZAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 2873968319015FAF003C27B2 /* TRZAppDelegate.m */; };
19 | 2873968C19015FAF003C27B2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2873968B19015FAF003C27B2 /* Images.xcassets */; };
20 | 2873969319015FAF003C27B2 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2873969219015FAF003C27B2 /* XCTest.framework */; };
21 | 2873969419015FAF003C27B2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2873967319015FAF003C27B2 /* Foundation.framework */; };
22 | 2873969519015FAF003C27B2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2873967719015FAF003C27B2 /* UIKit.framework */; };
23 | 2873969D19015FAF003C27B2 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2873969B19015FAF003C27B2 /* InfoPlist.strings */; };
24 | 2873969F19015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2873969E19015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.m */; };
25 | 287396AE19016754003C27B2 /* TRZSlideLicenseScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 287396AD19016754003C27B2 /* TRZSlideLicenseScrollView.m */; };
26 | 287396B0190170A1003C27B2 /* TRZLicenseView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 287396AF190170A1003C27B2 /* TRZLicenseView.xib */; };
27 | 287396B319017400003C27B2 /* TRZLicenseView.m in Sources */ = {isa = PBXBuildFile; fileRef = 287396B219017400003C27B2 /* TRZLicenseView.m */; };
28 | 287442C81906C9CB0028C785 /* TRZSlideLicenseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 287442C71906C9CB0028C785 /* TRZSlideLicenseViewController.m */; };
29 | 28E6DD191B52A5CA00A9CD1E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 28E6DD171B52A5CA00A9CD1E /* Main.storyboard */; };
30 | /* End PBXBuildFile section */
31 |
32 | /* Begin PBXContainerItemProxy section */
33 | 2873969619015FAF003C27B2 /* PBXContainerItemProxy */ = {
34 | isa = PBXContainerItemProxy;
35 | containerPortal = 2873966819015FAF003C27B2 /* Project object */;
36 | proxyType = 1;
37 | remoteGlobalIDString = 2873966F19015FAF003C27B2;
38 | remoteInfo = TRZSlideLicenseViewController;
39 | };
40 | /* End PBXContainerItemProxy section */
41 |
42 | /* Begin PBXFileReference section */
43 | 280B40EE1938E00200C50815 /* TRZTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TRZTableViewController.h; sourceTree = ""; };
44 | 280B40EF1938E00200C50815 /* TRZTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TRZTableViewController.m; sourceTree = ""; };
45 | 2832AED7190C29A400F5935E /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = ""; };
46 | 286303811C89C615007DA287 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = ""; };
47 | 2873967019015FAF003C27B2 /* SlideLicenses.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SlideLicenses.app; sourceTree = BUILT_PRODUCTS_DIR; };
48 | 2873967319015FAF003C27B2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
49 | 2873967519015FAF003C27B2 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
50 | 2873967719015FAF003C27B2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
51 | 2873967B19015FAF003C27B2 /* TRZSlideLicenseViewController-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TRZSlideLicenseViewController-Info.plist"; sourceTree = ""; };
52 | 2873967D19015FAF003C27B2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
53 | 2873967F19015FAF003C27B2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
54 | 2873968119015FAF003C27B2 /* TRZSlideLicenseViewController-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TRZSlideLicenseViewController-Prefix.pch"; sourceTree = ""; };
55 | 2873968219015FAF003C27B2 /* TRZAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRZAppDelegate.h; sourceTree = ""; };
56 | 2873968319015FAF003C27B2 /* TRZAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TRZAppDelegate.m; sourceTree = ""; };
57 | 2873968B19015FAF003C27B2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
58 | 2873969119015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TRZSlideLicenseViewControllerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
59 | 2873969219015FAF003C27B2 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
60 | 2873969A19015FAF003C27B2 /* TRZSlideLicenseViewControllerTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TRZSlideLicenseViewControllerTests-Info.plist"; sourceTree = ""; };
61 | 2873969C19015FAF003C27B2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
62 | 2873969E19015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TRZSlideLicenseViewControllerTests.m; sourceTree = ""; };
63 | 287396AC19016754003C27B2 /* TRZSlideLicenseScrollView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TRZSlideLicenseScrollView.h; sourceTree = ""; };
64 | 287396AD19016754003C27B2 /* TRZSlideLicenseScrollView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TRZSlideLicenseScrollView.m; sourceTree = ""; };
65 | 287396AF190170A1003C27B2 /* TRZLicenseView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TRZLicenseView.xib; sourceTree = ""; };
66 | 287396B119017400003C27B2 /* TRZLicenseView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TRZLicenseView.h; sourceTree = ""; };
67 | 287396B219017400003C27B2 /* TRZLicenseView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TRZLicenseView.m; sourceTree = ""; };
68 | 287442C61906C9CB0028C785 /* TRZSlideLicenseViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TRZSlideLicenseViewController.h; sourceTree = ""; };
69 | 287442C71906C9CB0028C785 /* TRZSlideLicenseViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TRZSlideLicenseViewController.m; sourceTree = ""; };
70 | 28E6DD181B52A5CA00A9CD1E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = TRZSlideLicenseViewController/Base.lproj/Main.storyboard; sourceTree = ""; };
71 | /* End PBXFileReference section */
72 |
73 | /* Begin PBXFrameworksBuildPhase section */
74 | 2873966D19015FAF003C27B2 /* Frameworks */ = {
75 | isa = PBXFrameworksBuildPhase;
76 | buildActionMask = 2147483647;
77 | files = (
78 | 2873967619015FAF003C27B2 /* CoreGraphics.framework in Frameworks */,
79 | 2873967819015FAF003C27B2 /* UIKit.framework in Frameworks */,
80 | 2873967419015FAF003C27B2 /* Foundation.framework in Frameworks */,
81 | );
82 | runOnlyForDeploymentPostprocessing = 0;
83 | };
84 | 2873968E19015FAF003C27B2 /* Frameworks */ = {
85 | isa = PBXFrameworksBuildPhase;
86 | buildActionMask = 2147483647;
87 | files = (
88 | 2873969319015FAF003C27B2 /* XCTest.framework in Frameworks */,
89 | 2873969519015FAF003C27B2 /* UIKit.framework in Frameworks */,
90 | 2873969419015FAF003C27B2 /* Foundation.framework in Frameworks */,
91 | );
92 | runOnlyForDeploymentPostprocessing = 0;
93 | };
94 | /* End PBXFrameworksBuildPhase section */
95 |
96 | /* Begin PBXGroup section */
97 | 2873966719015FAF003C27B2 = {
98 | isa = PBXGroup;
99 | children = (
100 | 287396A819015FBA003C27B2 /* src */,
101 | 2873967919015FAF003C27B2 /* TRZSlideLicenseViewControllerDemo */,
102 | 2873969819015FAF003C27B2 /* TRZSlideLicenseViewControllerTests */,
103 | 2873967219015FAF003C27B2 /* Frameworks */,
104 | 2873967119015FAF003C27B2 /* Products */,
105 | );
106 | sourceTree = "";
107 | };
108 | 2873967119015FAF003C27B2 /* Products */ = {
109 | isa = PBXGroup;
110 | children = (
111 | 2873967019015FAF003C27B2 /* SlideLicenses.app */,
112 | 2873969119015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.xctest */,
113 | );
114 | name = Products;
115 | sourceTree = "";
116 | };
117 | 2873967219015FAF003C27B2 /* Frameworks */ = {
118 | isa = PBXGroup;
119 | children = (
120 | 2873967319015FAF003C27B2 /* Foundation.framework */,
121 | 2873967519015FAF003C27B2 /* CoreGraphics.framework */,
122 | 2873967719015FAF003C27B2 /* UIKit.framework */,
123 | 2873969219015FAF003C27B2 /* XCTest.framework */,
124 | );
125 | name = Frameworks;
126 | sourceTree = "";
127 | };
128 | 2873967919015FAF003C27B2 /* TRZSlideLicenseViewControllerDemo */ = {
129 | isa = PBXGroup;
130 | children = (
131 | 2832AED7190C29A400F5935E /* Pods-acknowledgements.plist */,
132 | 28E6DD171B52A5CA00A9CD1E /* Main.storyboard */,
133 | 286303811C89C615007DA287 /* LaunchScreen.storyboard */,
134 | 2873968219015FAF003C27B2 /* TRZAppDelegate.h */,
135 | 2873968319015FAF003C27B2 /* TRZAppDelegate.m */,
136 | 280B40EE1938E00200C50815 /* TRZTableViewController.h */,
137 | 280B40EF1938E00200C50815 /* TRZTableViewController.m */,
138 | 2873968B19015FAF003C27B2 /* Images.xcassets */,
139 | 2873967A19015FAF003C27B2 /* Supporting Files */,
140 | );
141 | name = TRZSlideLicenseViewControllerDemo;
142 | path = TRZSlideLicenseViewController;
143 | sourceTree = "";
144 | };
145 | 2873967A19015FAF003C27B2 /* Supporting Files */ = {
146 | isa = PBXGroup;
147 | children = (
148 | 2873967B19015FAF003C27B2 /* TRZSlideLicenseViewController-Info.plist */,
149 | 2873967C19015FAF003C27B2 /* InfoPlist.strings */,
150 | 2873967F19015FAF003C27B2 /* main.m */,
151 | 2873968119015FAF003C27B2 /* TRZSlideLicenseViewController-Prefix.pch */,
152 | );
153 | name = "Supporting Files";
154 | sourceTree = "";
155 | };
156 | 2873969819015FAF003C27B2 /* TRZSlideLicenseViewControllerTests */ = {
157 | isa = PBXGroup;
158 | children = (
159 | 2873969E19015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.m */,
160 | 2873969919015FAF003C27B2 /* Supporting Files */,
161 | );
162 | path = TRZSlideLicenseViewControllerTests;
163 | sourceTree = "";
164 | };
165 | 2873969919015FAF003C27B2 /* Supporting Files */ = {
166 | isa = PBXGroup;
167 | children = (
168 | 2873969A19015FAF003C27B2 /* TRZSlideLicenseViewControllerTests-Info.plist */,
169 | 2873969B19015FAF003C27B2 /* InfoPlist.strings */,
170 | );
171 | name = "Supporting Files";
172 | sourceTree = "";
173 | };
174 | 287396A819015FBA003C27B2 /* src */ = {
175 | isa = PBXGroup;
176 | children = (
177 | 287442C61906C9CB0028C785 /* TRZSlideLicenseViewController.h */,
178 | 287442C71906C9CB0028C785 /* TRZSlideLicenseViewController.m */,
179 | 287396AC19016754003C27B2 /* TRZSlideLicenseScrollView.h */,
180 | 287396AD19016754003C27B2 /* TRZSlideLicenseScrollView.m */,
181 | 287396B119017400003C27B2 /* TRZLicenseView.h */,
182 | 287396B219017400003C27B2 /* TRZLicenseView.m */,
183 | 287396AF190170A1003C27B2 /* TRZLicenseView.xib */,
184 | );
185 | path = src;
186 | sourceTree = "";
187 | };
188 | /* End PBXGroup section */
189 |
190 | /* Begin PBXNativeTarget section */
191 | 2873966F19015FAF003C27B2 /* TRZSlideLicenseViewController */ = {
192 | isa = PBXNativeTarget;
193 | buildConfigurationList = 287396A219015FAF003C27B2 /* Build configuration list for PBXNativeTarget "TRZSlideLicenseViewController" */;
194 | buildPhases = (
195 | 2873966C19015FAF003C27B2 /* Sources */,
196 | 2873966D19015FAF003C27B2 /* Frameworks */,
197 | 2873966E19015FAF003C27B2 /* Resources */,
198 | );
199 | buildRules = (
200 | );
201 | dependencies = (
202 | );
203 | name = TRZSlideLicenseViewController;
204 | productName = TRZSlideLicenseViewController;
205 | productReference = 2873967019015FAF003C27B2 /* SlideLicenses.app */;
206 | productType = "com.apple.product-type.application";
207 | };
208 | 2873969019015FAF003C27B2 /* TRZSlideLicenseViewControllerTests */ = {
209 | isa = PBXNativeTarget;
210 | buildConfigurationList = 287396A519015FAF003C27B2 /* Build configuration list for PBXNativeTarget "TRZSlideLicenseViewControllerTests" */;
211 | buildPhases = (
212 | 2873968D19015FAF003C27B2 /* Sources */,
213 | 2873968E19015FAF003C27B2 /* Frameworks */,
214 | 2873968F19015FAF003C27B2 /* Resources */,
215 | );
216 | buildRules = (
217 | );
218 | dependencies = (
219 | 2873969719015FAF003C27B2 /* PBXTargetDependency */,
220 | );
221 | name = TRZSlideLicenseViewControllerTests;
222 | productName = TRZSlideLicenseViewControllerTests;
223 | productReference = 2873969119015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.xctest */;
224 | productType = "com.apple.product-type.bundle.unit-test";
225 | };
226 | /* End PBXNativeTarget section */
227 |
228 | /* Begin PBXProject section */
229 | 2873966819015FAF003C27B2 /* Project object */ = {
230 | isa = PBXProject;
231 | attributes = {
232 | CLASSPREFIX = TRZ;
233 | LastUpgradeCheck = 0510;
234 | ORGANIZATIONNAME = yam;
235 | TargetAttributes = {
236 | 2873969019015FAF003C27B2 = {
237 | TestTargetID = 2873966F19015FAF003C27B2;
238 | };
239 | };
240 | };
241 | buildConfigurationList = 2873966B19015FAF003C27B2 /* Build configuration list for PBXProject "TRZSlideLicenseViewController" */;
242 | compatibilityVersion = "Xcode 3.2";
243 | developmentRegion = English;
244 | hasScannedForEncodings = 0;
245 | knownRegions = (
246 | en,
247 | Base,
248 | );
249 | mainGroup = 2873966719015FAF003C27B2;
250 | productRefGroup = 2873967119015FAF003C27B2 /* Products */;
251 | projectDirPath = "";
252 | projectRoot = "";
253 | targets = (
254 | 2873966F19015FAF003C27B2 /* TRZSlideLicenseViewController */,
255 | 2873969019015FAF003C27B2 /* TRZSlideLicenseViewControllerTests */,
256 | );
257 | };
258 | /* End PBXProject section */
259 |
260 | /* Begin PBXResourcesBuildPhase section */
261 | 2873966E19015FAF003C27B2 /* Resources */ = {
262 | isa = PBXResourcesBuildPhase;
263 | buildActionMask = 2147483647;
264 | files = (
265 | 28E6DD191B52A5CA00A9CD1E /* Main.storyboard in Resources */,
266 | 2873968C19015FAF003C27B2 /* Images.xcassets in Resources */,
267 | 287396B0190170A1003C27B2 /* TRZLicenseView.xib in Resources */,
268 | 286303821C89C615007DA287 /* LaunchScreen.storyboard in Resources */,
269 | 2832AED8190C29A400F5935E /* Pods-acknowledgements.plist in Resources */,
270 | 2873967E19015FAF003C27B2 /* InfoPlist.strings in Resources */,
271 | );
272 | runOnlyForDeploymentPostprocessing = 0;
273 | };
274 | 2873968F19015FAF003C27B2 /* Resources */ = {
275 | isa = PBXResourcesBuildPhase;
276 | buildActionMask = 2147483647;
277 | files = (
278 | 2873969D19015FAF003C27B2 /* InfoPlist.strings in Resources */,
279 | );
280 | runOnlyForDeploymentPostprocessing = 0;
281 | };
282 | /* End PBXResourcesBuildPhase section */
283 |
284 | /* Begin PBXSourcesBuildPhase section */
285 | 2873966C19015FAF003C27B2 /* Sources */ = {
286 | isa = PBXSourcesBuildPhase;
287 | buildActionMask = 2147483647;
288 | files = (
289 | 2873968019015FAF003C27B2 /* main.m in Sources */,
290 | 287442C81906C9CB0028C785 /* TRZSlideLicenseViewController.m in Sources */,
291 | 287396B319017400003C27B2 /* TRZLicenseView.m in Sources */,
292 | 287396AE19016754003C27B2 /* TRZSlideLicenseScrollView.m in Sources */,
293 | 2873968419015FAF003C27B2 /* TRZAppDelegate.m in Sources */,
294 | 280B40F01938E00200C50815 /* TRZTableViewController.m in Sources */,
295 | );
296 | runOnlyForDeploymentPostprocessing = 0;
297 | };
298 | 2873968D19015FAF003C27B2 /* Sources */ = {
299 | isa = PBXSourcesBuildPhase;
300 | buildActionMask = 2147483647;
301 | files = (
302 | 2873969F19015FAF003C27B2 /* TRZSlideLicenseViewControllerTests.m in Sources */,
303 | );
304 | runOnlyForDeploymentPostprocessing = 0;
305 | };
306 | /* End PBXSourcesBuildPhase section */
307 |
308 | /* Begin PBXTargetDependency section */
309 | 2873969719015FAF003C27B2 /* PBXTargetDependency */ = {
310 | isa = PBXTargetDependency;
311 | target = 2873966F19015FAF003C27B2 /* TRZSlideLicenseViewController */;
312 | targetProxy = 2873969619015FAF003C27B2 /* PBXContainerItemProxy */;
313 | };
314 | /* End PBXTargetDependency section */
315 |
316 | /* Begin PBXVariantGroup section */
317 | 2873967C19015FAF003C27B2 /* InfoPlist.strings */ = {
318 | isa = PBXVariantGroup;
319 | children = (
320 | 2873967D19015FAF003C27B2 /* en */,
321 | );
322 | name = InfoPlist.strings;
323 | sourceTree = "";
324 | };
325 | 2873969B19015FAF003C27B2 /* InfoPlist.strings */ = {
326 | isa = PBXVariantGroup;
327 | children = (
328 | 2873969C19015FAF003C27B2 /* en */,
329 | );
330 | name = InfoPlist.strings;
331 | sourceTree = "";
332 | };
333 | 28E6DD171B52A5CA00A9CD1E /* Main.storyboard */ = {
334 | isa = PBXVariantGroup;
335 | children = (
336 | 28E6DD181B52A5CA00A9CD1E /* Base */,
337 | );
338 | name = Main.storyboard;
339 | path = ..;
340 | sourceTree = "";
341 | };
342 | /* End PBXVariantGroup section */
343 |
344 | /* Begin XCBuildConfiguration section */
345 | 287396A019015FAF003C27B2 /* Debug */ = {
346 | isa = XCBuildConfiguration;
347 | buildSettings = {
348 | ALWAYS_SEARCH_USER_PATHS = NO;
349 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
350 | CLANG_CXX_LIBRARY = "libc++";
351 | CLANG_ENABLE_MODULES = YES;
352 | CLANG_ENABLE_OBJC_ARC = YES;
353 | CLANG_WARN_BOOL_CONVERSION = YES;
354 | CLANG_WARN_CONSTANT_CONVERSION = YES;
355 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
356 | CLANG_WARN_EMPTY_BODY = YES;
357 | CLANG_WARN_ENUM_CONVERSION = YES;
358 | CLANG_WARN_INT_CONVERSION = YES;
359 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
360 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
361 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
362 | COPY_PHASE_STRIP = NO;
363 | GCC_C_LANGUAGE_STANDARD = gnu99;
364 | GCC_DYNAMIC_NO_PIC = NO;
365 | GCC_OPTIMIZATION_LEVEL = 0;
366 | GCC_PREPROCESSOR_DEFINITIONS = (
367 | "DEBUG=1",
368 | "$(inherited)",
369 | );
370 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
371 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
372 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
373 | GCC_WARN_UNDECLARED_SELECTOR = YES;
374 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
375 | GCC_WARN_UNUSED_FUNCTION = YES;
376 | GCC_WARN_UNUSED_VARIABLE = YES;
377 | IPHONEOS_DEPLOYMENT_TARGET = 7.1;
378 | ONLY_ACTIVE_ARCH = YES;
379 | SDKROOT = iphoneos;
380 | };
381 | name = Debug;
382 | };
383 | 287396A119015FAF003C27B2 /* Release */ = {
384 | isa = XCBuildConfiguration;
385 | buildSettings = {
386 | ALWAYS_SEARCH_USER_PATHS = NO;
387 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
388 | CLANG_CXX_LIBRARY = "libc++";
389 | CLANG_ENABLE_MODULES = YES;
390 | CLANG_ENABLE_OBJC_ARC = YES;
391 | CLANG_WARN_BOOL_CONVERSION = YES;
392 | CLANG_WARN_CONSTANT_CONVERSION = YES;
393 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
394 | CLANG_WARN_EMPTY_BODY = YES;
395 | CLANG_WARN_ENUM_CONVERSION = YES;
396 | CLANG_WARN_INT_CONVERSION = YES;
397 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
398 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
399 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
400 | COPY_PHASE_STRIP = YES;
401 | ENABLE_NS_ASSERTIONS = NO;
402 | GCC_C_LANGUAGE_STANDARD = gnu99;
403 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
404 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
405 | GCC_WARN_UNDECLARED_SELECTOR = YES;
406 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
407 | GCC_WARN_UNUSED_FUNCTION = YES;
408 | GCC_WARN_UNUSED_VARIABLE = YES;
409 | IPHONEOS_DEPLOYMENT_TARGET = 7.1;
410 | SDKROOT = iphoneos;
411 | VALIDATE_PRODUCT = YES;
412 | };
413 | name = Release;
414 | };
415 | 287396A319015FAF003C27B2 /* Debug */ = {
416 | isa = XCBuildConfiguration;
417 | buildSettings = {
418 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
419 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
420 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
421 | GCC_PREFIX_HEADER = "TRZSlideLicenseViewController/TRZSlideLicenseViewController-Prefix.pch";
422 | INFOPLIST_FILE = "TRZSlideLicenseViewController/TRZSlideLicenseViewController-Info.plist";
423 | PRODUCT_NAME = SlideLicenses;
424 | WRAPPER_EXTENSION = app;
425 | };
426 | name = Debug;
427 | };
428 | 287396A419015FAF003C27B2 /* Release */ = {
429 | isa = XCBuildConfiguration;
430 | buildSettings = {
431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
432 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
433 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
434 | GCC_PREFIX_HEADER = "TRZSlideLicenseViewController/TRZSlideLicenseViewController-Prefix.pch";
435 | INFOPLIST_FILE = "TRZSlideLicenseViewController/TRZSlideLicenseViewController-Info.plist";
436 | PRODUCT_NAME = SlideLicenses;
437 | WRAPPER_EXTENSION = app;
438 | };
439 | name = Release;
440 | };
441 | 287396A619015FAF003C27B2 /* Debug */ = {
442 | isa = XCBuildConfiguration;
443 | buildSettings = {
444 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TRZSlideLicenseViewController.app/TRZSlideLicenseViewController";
445 | FRAMEWORK_SEARCH_PATHS = (
446 | "$(SDKROOT)/Developer/Library/Frameworks",
447 | "$(inherited)",
448 | "$(DEVELOPER_FRAMEWORKS_DIR)",
449 | );
450 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
451 | GCC_PREFIX_HEADER = "TRZSlideLicenseViewController/TRZSlideLicenseViewController-Prefix.pch";
452 | GCC_PREPROCESSOR_DEFINITIONS = (
453 | "DEBUG=1",
454 | "$(inherited)",
455 | );
456 | INFOPLIST_FILE = "TRZSlideLicenseViewControllerTests/TRZSlideLicenseViewControllerTests-Info.plist";
457 | PRODUCT_NAME = "$(TARGET_NAME)";
458 | TEST_HOST = "$(BUNDLE_LOADER)";
459 | WRAPPER_EXTENSION = xctest;
460 | };
461 | name = Debug;
462 | };
463 | 287396A719015FAF003C27B2 /* Release */ = {
464 | isa = XCBuildConfiguration;
465 | buildSettings = {
466 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TRZSlideLicenseViewController.app/TRZSlideLicenseViewController";
467 | FRAMEWORK_SEARCH_PATHS = (
468 | "$(SDKROOT)/Developer/Library/Frameworks",
469 | "$(inherited)",
470 | "$(DEVELOPER_FRAMEWORKS_DIR)",
471 | );
472 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
473 | GCC_PREFIX_HEADER = "TRZSlideLicenseViewController/TRZSlideLicenseViewController-Prefix.pch";
474 | INFOPLIST_FILE = "TRZSlideLicenseViewControllerTests/TRZSlideLicenseViewControllerTests-Info.plist";
475 | PRODUCT_NAME = "$(TARGET_NAME)";
476 | TEST_HOST = "$(BUNDLE_LOADER)";
477 | WRAPPER_EXTENSION = xctest;
478 | };
479 | name = Release;
480 | };
481 | /* End XCBuildConfiguration section */
482 |
483 | /* Begin XCConfigurationList section */
484 | 2873966B19015FAF003C27B2 /* Build configuration list for PBXProject "TRZSlideLicenseViewController" */ = {
485 | isa = XCConfigurationList;
486 | buildConfigurations = (
487 | 287396A019015FAF003C27B2 /* Debug */,
488 | 287396A119015FAF003C27B2 /* Release */,
489 | );
490 | defaultConfigurationIsVisible = 0;
491 | defaultConfigurationName = Release;
492 | };
493 | 287396A219015FAF003C27B2 /* Build configuration list for PBXNativeTarget "TRZSlideLicenseViewController" */ = {
494 | isa = XCConfigurationList;
495 | buildConfigurations = (
496 | 287396A319015FAF003C27B2 /* Debug */,
497 | 287396A419015FAF003C27B2 /* Release */,
498 | );
499 | defaultConfigurationIsVisible = 0;
500 | defaultConfigurationName = Release;
501 | };
502 | 287396A519015FAF003C27B2 /* Build configuration list for PBXNativeTarget "TRZSlideLicenseViewControllerTests" */ = {
503 | isa = XCConfigurationList;
504 | buildConfigurations = (
505 | 287396A619015FAF003C27B2 /* Debug */,
506 | 287396A719015FAF003C27B2 /* Release */,
507 | );
508 | defaultConfigurationIsVisible = 0;
509 | defaultConfigurationName = Release;
510 | };
511 | /* End XCConfigurationList section */
512 | };
513 | rootObject = 2873966819015FAF003C27B2 /* Project object */;
514 | }
515 |
--------------------------------------------------------------------------------