├── Example
├── StretchyHeaders
│ ├── en.lproj
│ │ └── InfoPlist.strings
│ ├── Assets
│ │ └── header-background@2x.png
│ ├── StretchyHeaderCollectionViewLayout.h
│ ├── AppDelegate.h
│ ├── main.m
│ ├── StretchyHeaders-Prefix.pch
│ ├── Images.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ └── LaunchImage.launchimage
│ │ │ └── Contents.json
│ ├── ViewController.h
│ ├── StretchyHeaders-Info.plist
│ ├── Base.lproj
│ │ └── Main.storyboard
│ ├── StretchyHeaderCollectionViewLayout.m
│ ├── AppDelegate.m
│ └── ViewController.m
├── StretchyHeadersTests
│ ├── en.lproj
│ │ └── InfoPlist.strings
│ ├── StretchyHeadersTests-Info.plist
│ └── StretchyHeadersTests.m
└── StretchyHeaders.xcodeproj
│ ├── project.xcworkspace
│ └── contents.xcworkspacedata
│ └── project.pbxproj
├── Screenshot.gif
├── .gitignore
├── StretchyHeaderCollectionViewLayout.h
├── README.md
├── LICENSE
└── StretchyHeaderCollectionViewLayout.m
/Example/StretchyHeaders/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/Screenshot.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nrj/StretchyHeaderCollectionViewLayout/HEAD/Screenshot.gif
--------------------------------------------------------------------------------
/Example/StretchyHeadersTests/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/Assets/header-background@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nrj/StretchyHeaderCollectionViewLayout/HEAD/Example/StretchyHeaders/Assets/header-background@2x.png
--------------------------------------------------------------------------------
/Example/StretchyHeaders.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | .DS_Store
3 | */build/*
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | profile
14 | *.moved-aside
15 | DerivedData
16 | .idea/
17 | *.hmap
18 | *.xccheckout
19 |
20 | #CocoaPods
21 | Pods
22 |
--------------------------------------------------------------------------------
/StretchyHeaderCollectionViewLayout.h:
--------------------------------------------------------------------------------
1 | //
2 | // StretchyHeaderCollectionViewLayout.h
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface StretchyHeaderCollectionViewLayout : UICollectionViewFlowLayout
12 | @end
13 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | StretchyHeaderCollectionViewLayout
2 | ============================
3 |
4 | UICollectionView layout with a stretchable, Twitter-like header.
5 |
6 | 
7 |
8 | Read more at [blog.nick.je/stretchy-uicollectionview-headers/](http://blog.nick.je/stretchy-uicollectionview-headers/)
9 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/StretchyHeaderCollectionViewLayout.h:
--------------------------------------------------------------------------------
1 | //
2 | // StretchyHeaderCollectionViewLayout.h
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface StretchyHeaderCollectionViewLayout : UICollectionViewFlowLayout
12 | @end
13 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | #import "AppDelegate.h"
12 |
13 | int main(int argc, char * argv[])
14 | {
15 | @autoreleasepool {
16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/StretchyHeaders-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 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/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 | "idiom" : "iphone",
15 | "size" : "60x60",
16 | "scale" : "2x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Example/StretchyHeaders/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 | }
--------------------------------------------------------------------------------
/Example/StretchyHeaders/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | extern NSString * const kCellIdent;
10 | extern NSString * const kHeaderIdent;
11 |
12 | @interface ViewController : UIViewController {
13 |
14 | BOOL isScrolled;
15 | }
16 |
17 | @property (nonatomic, readonly) UICollectionView *collectionView;
18 | @property (nonatomic, readonly) UICollectionReusableView *header;
19 |
20 | @end
21 |
--------------------------------------------------------------------------------
/Example/StretchyHeadersTests/StretchyHeadersTests-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | nrj.${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 |
--------------------------------------------------------------------------------
/Example/StretchyHeadersTests/StretchyHeadersTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // StretchyHeadersTests.m
3 | // StretchyHeadersTests
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface StretchyHeadersTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation StretchyHeadersTests
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 | The MIT License (MIT)
2 |
3 | Copyright (c) 2013 nick jensen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | 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, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/StretchyHeaders-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ${PRODUCT_NAME}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleIdentifier
12 | nrj.${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 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/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 |
--------------------------------------------------------------------------------
/StretchyHeaderCollectionViewLayout.m:
--------------------------------------------------------------------------------
1 | //
2 | // StretchyHeaderCollectionViewLayout.m
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import "StretchyHeaderCollectionViewLayout.h"
10 |
11 | @implementation StretchyHeaderCollectionViewLayout
12 |
13 | - (BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds {
14 |
15 | return YES;
16 | }
17 |
18 | - (UICollectionViewScrollDirection)scrollDirection {
19 |
20 | return UICollectionViewScrollDirectionVertical;
21 | }
22 |
23 | - (NSArray *)layoutAttributesForElementsInRect:(CGRect)rect {
24 |
25 | UICollectionView *collectionView = [self collectionView];
26 | UIEdgeInsets insets = [collectionView contentInset];
27 | CGPoint offset = [collectionView contentOffset];
28 | CGFloat minY = -insets.top;
29 |
30 | NSArray *attributes = [super layoutAttributesForElementsInRect:rect];
31 |
32 | if (offset.y < minY) {
33 |
34 | CGSize headerSize = [self headerReferenceSize];
35 | CGFloat deltaY = fabsf(offset.y - minY);
36 |
37 | for (UICollectionViewLayoutAttributes *attrs in attributes) {
38 |
39 | if ([attrs representedElementKind] == UICollectionElementKindSectionHeader) {
40 |
41 | CGRect headerRect = [attrs frame];
42 | headerRect.size.height = MAX(minY, headerSize.height + deltaY);
43 | headerRect.origin.y = headerRect.origin.y - deltaY;
44 | [attrs setFrame:headerRect];
45 | break;
46 | }
47 | }
48 | }
49 |
50 | return attributes;
51 | }
52 |
53 | @end
54 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/StretchyHeaderCollectionViewLayout.m:
--------------------------------------------------------------------------------
1 | //
2 | // StretchyHeaderCollectionViewLayout.m
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import "StretchyHeaderCollectionViewLayout.h"
10 |
11 | @implementation StretchyHeaderCollectionViewLayout
12 |
13 | - (BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds {
14 |
15 | return YES;
16 | }
17 |
18 | - (UICollectionViewScrollDirection)scrollDirection {
19 |
20 | return UICollectionViewScrollDirectionVertical;
21 | }
22 |
23 | - (NSArray *)layoutAttributesForElementsInRect:(CGRect)rect {
24 |
25 | UICollectionView *collectionView = [self collectionView];
26 | UIEdgeInsets insets = [collectionView contentInset];
27 | CGPoint offset = [collectionView contentOffset];
28 | CGFloat minY = -insets.top;
29 |
30 | NSArray *attributes = [super layoutAttributesForElementsInRect:rect];
31 |
32 | if (offset.y < minY) {
33 |
34 | CGSize headerSize = [self headerReferenceSize];
35 | CGFloat deltaY = fabsf(offset.y - minY);
36 |
37 | for (UICollectionViewLayoutAttributes *attrs in attributes) {
38 |
39 | if ([attrs representedElementKind] == UICollectionElementKindSectionHeader) {
40 |
41 | CGRect headerRect = [attrs frame];
42 | headerRect.size.height = MAX(minY, headerSize.height + deltaY);
43 | headerRect.origin.y = headerRect.origin.y - deltaY;
44 | [attrs setFrame:headerRect];
45 | break;
46 | }
47 | }
48 | }
49 |
50 | return attributes;
51 | }
52 |
53 | @end
54 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @implementation AppDelegate
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 |
--------------------------------------------------------------------------------
/Example/StretchyHeaders/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // StretchyHeaders
4 | //
5 | // Created by Nick Jensen on 12/26/13.
6 | // Copyright (c) 2013 Nick Jensen. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 | #import "StretchyHeaderCollectionViewLayout.h"
11 |
12 | NSString * const kCellIdent = @"Cell";
13 | NSString * const kHeaderIdent = @"Header";
14 |
15 | @implementation ViewController
16 |
17 | @synthesize collectionView, header;
18 |
19 | - (void)loadView {
20 |
21 | [super loadView];
22 |
23 | CGRect bounds;
24 | bounds = [[self view] bounds];
25 |
26 | StretchyHeaderCollectionViewLayout *stretchyLayout;
27 | stretchyLayout = [[StretchyHeaderCollectionViewLayout alloc] init];
28 | [stretchyLayout setSectionInset:UIEdgeInsetsMake(10.0, 10.0, 10.0, 10.0)];
29 | [stretchyLayout setItemSize:CGSizeMake(300.0, 494.0)];
30 | [stretchyLayout setHeaderReferenceSize:CGSizeMake(320.0, 160.0)];
31 |
32 | collectionView = [[UICollectionView alloc] initWithFrame:bounds collectionViewLayout:stretchyLayout];
33 | [collectionView setBackgroundColor:[UIColor clearColor]];
34 | [collectionView setAlwaysBounceVertical:YES];
35 | [collectionView setShowsVerticalScrollIndicator:NO];
36 | [collectionView setDataSource:self];
37 | [collectionView setDelegate:self];
38 |
39 | [[self view] addSubview:collectionView];
40 | [collectionView release];
41 | [stretchyLayout release];
42 |
43 | [collectionView registerClass:[UICollectionViewCell class]
44 | forCellWithReuseIdentifier:kCellIdent];
45 |
46 | [collectionView registerClass:[UICollectionReusableView class]
47 | forSupplementaryViewOfKind:UICollectionElementKindSectionHeader
48 | withReuseIdentifier:kHeaderIdent];
49 | }
50 |
51 | - (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)cv {
52 |
53 | return 1;
54 | }
55 |
56 | - (NSInteger)collectionView:(UICollectionView *)cv numberOfItemsInSection:(NSInteger)section {
57 |
58 | return 1;
59 | }
60 |
61 | - (UICollectionReusableView *)collectionView:(UICollectionView *)cv viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath {
62 |
63 | if (!header) {
64 |
65 | header = [collectionView dequeueReusableSupplementaryViewOfKind:kind
66 | withReuseIdentifier:kHeaderIdent
67 | forIndexPath:indexPath];
68 | CGRect bounds;
69 | bounds = [header bounds];
70 |
71 | UIImageView *imageView;
72 | imageView = [[UIImageView alloc] initWithFrame:bounds];
73 | [imageView setImage:[UIImage imageNamed:@"header-background"]];
74 | [imageView setContentMode:UIViewContentModeScaleAspectFill];
75 | [imageView setAutoresizingMask:UIViewAutoresizingFlexibleHeight];
76 | [imageView setClipsToBounds:YES];
77 | [header addSubview:imageView];
78 | [imageView release];
79 | }
80 |
81 | return header;
82 | }
83 |
84 | - (UICollectionViewCell *)collectionView:(UICollectionView *)cv cellForItemAtIndexPath:(NSIndexPath *)indexPath {
85 |
86 | UICollectionViewCell *cell;
87 | cell = [collectionView dequeueReusableCellWithReuseIdentifier:kCellIdent
88 | forIndexPath:indexPath];
89 |
90 | NSDictionary *attributes = [NSDictionary dictionaryWithObjectsAndKeys:
91 | (id)[UIFont fontWithName:@"HelveticaNeue-Thin" size:30.0f], NSFontAttributeName,
92 | (id)[UIColor lightGrayColor], NSForegroundColorAttributeName, nil];
93 |
94 | NSAttributedString *attrText;
95 | attrText = [[NSAttributedString alloc] initWithString:@"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
96 | attributes:attributes];
97 | UILabel *label = [[UILabel alloc] init];
98 | [label setBackgroundColor:[UIColor clearColor]];
99 | [label setNumberOfLines:0];
100 | [label setAttributedText:attrText];
101 | [cell addSubview:label];
102 |
103 | CGRect textRect = CGRectZero;
104 | textRect.size = [label sizeThatFits:[cell bounds].size];
105 | [label setFrame:textRect];
106 |
107 | [attrText release];
108 | [label release];
109 |
110 | return cell;
111 | }
112 |
113 | - (UIStatusBarStyle)preferredStatusBarStyle {
114 |
115 | return UIStatusBarStyleLightContent;
116 | }
117 |
118 | @end
--------------------------------------------------------------------------------
/Example/StretchyHeaders.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 0B375754186CD31E00CD500D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B375753186CD31E00CD500D /* Foundation.framework */; };
11 | 0B375756186CD31E00CD500D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B375755186CD31E00CD500D /* CoreGraphics.framework */; };
12 | 0B375758186CD31E00CD500D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B375757186CD31E00CD500D /* UIKit.framework */; };
13 | 0B37575E186CD31E00CD500D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0B37575C186CD31E00CD500D /* InfoPlist.strings */; };
14 | 0B375760186CD31E00CD500D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B37575F186CD31E00CD500D /* main.m */; };
15 | 0B375764186CD31E00CD500D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B375763186CD31E00CD500D /* AppDelegate.m */; };
16 | 0B375767186CD31E00CD500D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0B375765186CD31E00CD500D /* Main.storyboard */; };
17 | 0B37576A186CD31E00CD500D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B375769186CD31E00CD500D /* ViewController.m */; };
18 | 0B37576C186CD31E00CD500D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0B37576B186CD31E00CD500D /* Images.xcassets */; };
19 | 0B375773186CD31E00CD500D /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B375772186CD31E00CD500D /* XCTest.framework */; };
20 | 0B375774186CD31E00CD500D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B375753186CD31E00CD500D /* Foundation.framework */; };
21 | 0B375775186CD31E00CD500D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B375757186CD31E00CD500D /* UIKit.framework */; };
22 | 0B37577D186CD31E00CD500D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0B37577B186CD31E00CD500D /* InfoPlist.strings */; };
23 | 0B37577F186CD31E00CD500D /* StretchyHeadersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B37577E186CD31E00CD500D /* StretchyHeadersTests.m */; };
24 | 0B37578A186CD36E00CD500D /* StretchyHeaderCollectionViewLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B375789186CD36E00CD500D /* StretchyHeaderCollectionViewLayout.m */; };
25 | 0B37578C186CD38F00CD500D /* header-background@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0B37578B186CD38F00CD500D /* header-background@2x.png */; };
26 | /* End PBXBuildFile section */
27 |
28 | /* Begin PBXContainerItemProxy section */
29 | 0B375776186CD31E00CD500D /* PBXContainerItemProxy */ = {
30 | isa = PBXContainerItemProxy;
31 | containerPortal = 0B375748186CD31E00CD500D /* Project object */;
32 | proxyType = 1;
33 | remoteGlobalIDString = 0B37574F186CD31E00CD500D;
34 | remoteInfo = StretchyHeaders;
35 | };
36 | /* End PBXContainerItemProxy section */
37 |
38 | /* Begin PBXFileReference section */
39 | 0B375750186CD31E00CD500D /* StretchyHeaders.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = StretchyHeaders.app; sourceTree = BUILT_PRODUCTS_DIR; };
40 | 0B375753186CD31E00CD500D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
41 | 0B375755186CD31E00CD500D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
42 | 0B375757186CD31E00CD500D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
43 | 0B37575B186CD31E00CD500D /* StretchyHeaders-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "StretchyHeaders-Info.plist"; sourceTree = ""; };
44 | 0B37575D186CD31E00CD500D /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
45 | 0B37575F186CD31E00CD500D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
46 | 0B375761186CD31E00CD500D /* StretchyHeaders-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "StretchyHeaders-Prefix.pch"; sourceTree = ""; };
47 | 0B375762186CD31E00CD500D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
48 | 0B375763186CD31E00CD500D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
49 | 0B375766186CD31E00CD500D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
50 | 0B375768186CD31E00CD500D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
51 | 0B375769186CD31E00CD500D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
52 | 0B37576B186CD31E00CD500D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
53 | 0B375771186CD31E00CD500D /* StretchyHeadersTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StretchyHeadersTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
54 | 0B375772186CD31E00CD500D /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
55 | 0B37577A186CD31E00CD500D /* StretchyHeadersTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "StretchyHeadersTests-Info.plist"; sourceTree = ""; };
56 | 0B37577C186CD31E00CD500D /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
57 | 0B37577E186CD31E00CD500D /* StretchyHeadersTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StretchyHeadersTests.m; sourceTree = ""; };
58 | 0B375788186CD36E00CD500D /* StretchyHeaderCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StretchyHeaderCollectionViewLayout.h; sourceTree = ""; };
59 | 0B375789186CD36E00CD500D /* StretchyHeaderCollectionViewLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StretchyHeaderCollectionViewLayout.m; sourceTree = ""; };
60 | 0B37578B186CD38F00CD500D /* header-background@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "header-background@2x.png"; path = "Assets/header-background@2x.png"; sourceTree = ""; };
61 | /* End PBXFileReference section */
62 |
63 | /* Begin PBXFrameworksBuildPhase section */
64 | 0B37574D186CD31E00CD500D /* Frameworks */ = {
65 | isa = PBXFrameworksBuildPhase;
66 | buildActionMask = 2147483647;
67 | files = (
68 | 0B375756186CD31E00CD500D /* CoreGraphics.framework in Frameworks */,
69 | 0B375758186CD31E00CD500D /* UIKit.framework in Frameworks */,
70 | 0B375754186CD31E00CD500D /* Foundation.framework in Frameworks */,
71 | );
72 | runOnlyForDeploymentPostprocessing = 0;
73 | };
74 | 0B37576E186CD31E00CD500D /* Frameworks */ = {
75 | isa = PBXFrameworksBuildPhase;
76 | buildActionMask = 2147483647;
77 | files = (
78 | 0B375773186CD31E00CD500D /* XCTest.framework in Frameworks */,
79 | 0B375775186CD31E00CD500D /* UIKit.framework in Frameworks */,
80 | 0B375774186CD31E00CD500D /* Foundation.framework in Frameworks */,
81 | );
82 | runOnlyForDeploymentPostprocessing = 0;
83 | };
84 | /* End PBXFrameworksBuildPhase section */
85 |
86 | /* Begin PBXGroup section */
87 | 0B375747186CD31E00CD500D = {
88 | isa = PBXGroup;
89 | children = (
90 | 0B375759186CD31E00CD500D /* StretchyHeaders */,
91 | 0B375778186CD31E00CD500D /* StretchyHeadersTests */,
92 | 0B375752186CD31E00CD500D /* Frameworks */,
93 | 0B375751186CD31E00CD500D /* Products */,
94 | );
95 | sourceTree = "";
96 | };
97 | 0B375751186CD31E00CD500D /* Products */ = {
98 | isa = PBXGroup;
99 | children = (
100 | 0B375750186CD31E00CD500D /* StretchyHeaders.app */,
101 | 0B375771186CD31E00CD500D /* StretchyHeadersTests.xctest */,
102 | );
103 | name = Products;
104 | sourceTree = "";
105 | };
106 | 0B375752186CD31E00CD500D /* Frameworks */ = {
107 | isa = PBXGroup;
108 | children = (
109 | 0B375753186CD31E00CD500D /* Foundation.framework */,
110 | 0B375755186CD31E00CD500D /* CoreGraphics.framework */,
111 | 0B375757186CD31E00CD500D /* UIKit.framework */,
112 | 0B375772186CD31E00CD500D /* XCTest.framework */,
113 | );
114 | name = Frameworks;
115 | sourceTree = "";
116 | };
117 | 0B375759186CD31E00CD500D /* StretchyHeaders */ = {
118 | isa = PBXGroup;
119 | children = (
120 | 0B375762186CD31E00CD500D /* AppDelegate.h */,
121 | 0B375763186CD31E00CD500D /* AppDelegate.m */,
122 | 0B375768186CD31E00CD500D /* ViewController.h */,
123 | 0B375769186CD31E00CD500D /* ViewController.m */,
124 | 0B375788186CD36E00CD500D /* StretchyHeaderCollectionViewLayout.h */,
125 | 0B375789186CD36E00CD500D /* StretchyHeaderCollectionViewLayout.m */,
126 | 0B37575A186CD31E00CD500D /* Supporting Files */,
127 | );
128 | path = StretchyHeaders;
129 | sourceTree = "";
130 | };
131 | 0B37575A186CD31E00CD500D /* Supporting Files */ = {
132 | isa = PBXGroup;
133 | children = (
134 | 0B37576B186CD31E00CD500D /* Images.xcassets */,
135 | 0B37575B186CD31E00CD500D /* StretchyHeaders-Info.plist */,
136 | 0B37578B186CD38F00CD500D /* header-background@2x.png */,
137 | 0B375765186CD31E00CD500D /* Main.storyboard */,
138 | 0B37575C186CD31E00CD500D /* InfoPlist.strings */,
139 | 0B37575F186CD31E00CD500D /* main.m */,
140 | 0B375761186CD31E00CD500D /* StretchyHeaders-Prefix.pch */,
141 | );
142 | name = "Supporting Files";
143 | sourceTree = "";
144 | };
145 | 0B375778186CD31E00CD500D /* StretchyHeadersTests */ = {
146 | isa = PBXGroup;
147 | children = (
148 | 0B37577E186CD31E00CD500D /* StretchyHeadersTests.m */,
149 | 0B375779186CD31E00CD500D /* Supporting Files */,
150 | );
151 | path = StretchyHeadersTests;
152 | sourceTree = "";
153 | };
154 | 0B375779186CD31E00CD500D /* Supporting Files */ = {
155 | isa = PBXGroup;
156 | children = (
157 | 0B37577A186CD31E00CD500D /* StretchyHeadersTests-Info.plist */,
158 | 0B37577B186CD31E00CD500D /* InfoPlist.strings */,
159 | );
160 | name = "Supporting Files";
161 | sourceTree = "";
162 | };
163 | /* End PBXGroup section */
164 |
165 | /* Begin PBXNativeTarget section */
166 | 0B37574F186CD31E00CD500D /* StretchyHeaders */ = {
167 | isa = PBXNativeTarget;
168 | buildConfigurationList = 0B375782186CD31E00CD500D /* Build configuration list for PBXNativeTarget "StretchyHeaders" */;
169 | buildPhases = (
170 | 0B37574C186CD31E00CD500D /* Sources */,
171 | 0B37574D186CD31E00CD500D /* Frameworks */,
172 | 0B37574E186CD31E00CD500D /* Resources */,
173 | );
174 | buildRules = (
175 | );
176 | dependencies = (
177 | );
178 | name = StretchyHeaders;
179 | productName = StretchyHeaders;
180 | productReference = 0B375750186CD31E00CD500D /* StretchyHeaders.app */;
181 | productType = "com.apple.product-type.application";
182 | };
183 | 0B375770186CD31E00CD500D /* StretchyHeadersTests */ = {
184 | isa = PBXNativeTarget;
185 | buildConfigurationList = 0B375785186CD31E00CD500D /* Build configuration list for PBXNativeTarget "StretchyHeadersTests" */;
186 | buildPhases = (
187 | 0B37576D186CD31E00CD500D /* Sources */,
188 | 0B37576E186CD31E00CD500D /* Frameworks */,
189 | 0B37576F186CD31E00CD500D /* Resources */,
190 | );
191 | buildRules = (
192 | );
193 | dependencies = (
194 | 0B375777186CD31E00CD500D /* PBXTargetDependency */,
195 | );
196 | name = StretchyHeadersTests;
197 | productName = StretchyHeadersTests;
198 | productReference = 0B375771186CD31E00CD500D /* StretchyHeadersTests.xctest */;
199 | productType = "com.apple.product-type.bundle.unit-test";
200 | };
201 | /* End PBXNativeTarget section */
202 |
203 | /* Begin PBXProject section */
204 | 0B375748186CD31E00CD500D /* Project object */ = {
205 | isa = PBXProject;
206 | attributes = {
207 | LastUpgradeCheck = 0500;
208 | ORGANIZATIONNAME = "Nick Jensen";
209 | TargetAttributes = {
210 | 0B375770186CD31E00CD500D = {
211 | TestTargetID = 0B37574F186CD31E00CD500D;
212 | };
213 | };
214 | };
215 | buildConfigurationList = 0B37574B186CD31E00CD500D /* Build configuration list for PBXProject "StretchyHeaders" */;
216 | compatibilityVersion = "Xcode 3.2";
217 | developmentRegion = English;
218 | hasScannedForEncodings = 0;
219 | knownRegions = (
220 | en,
221 | Base,
222 | );
223 | mainGroup = 0B375747186CD31E00CD500D;
224 | productRefGroup = 0B375751186CD31E00CD500D /* Products */;
225 | projectDirPath = "";
226 | projectRoot = "";
227 | targets = (
228 | 0B37574F186CD31E00CD500D /* StretchyHeaders */,
229 | 0B375770186CD31E00CD500D /* StretchyHeadersTests */,
230 | );
231 | };
232 | /* End PBXProject section */
233 |
234 | /* Begin PBXResourcesBuildPhase section */
235 | 0B37574E186CD31E00CD500D /* Resources */ = {
236 | isa = PBXResourcesBuildPhase;
237 | buildActionMask = 2147483647;
238 | files = (
239 | 0B37576C186CD31E00CD500D /* Images.xcassets in Resources */,
240 | 0B37575E186CD31E00CD500D /* InfoPlist.strings in Resources */,
241 | 0B375767186CD31E00CD500D /* Main.storyboard in Resources */,
242 | 0B37578C186CD38F00CD500D /* header-background@2x.png in Resources */,
243 | );
244 | runOnlyForDeploymentPostprocessing = 0;
245 | };
246 | 0B37576F186CD31E00CD500D /* Resources */ = {
247 | isa = PBXResourcesBuildPhase;
248 | buildActionMask = 2147483647;
249 | files = (
250 | 0B37577D186CD31E00CD500D /* InfoPlist.strings in Resources */,
251 | );
252 | runOnlyForDeploymentPostprocessing = 0;
253 | };
254 | /* End PBXResourcesBuildPhase section */
255 |
256 | /* Begin PBXSourcesBuildPhase section */
257 | 0B37574C186CD31E00CD500D /* Sources */ = {
258 | isa = PBXSourcesBuildPhase;
259 | buildActionMask = 2147483647;
260 | files = (
261 | 0B37576A186CD31E00CD500D /* ViewController.m in Sources */,
262 | 0B375764186CD31E00CD500D /* AppDelegate.m in Sources */,
263 | 0B375760186CD31E00CD500D /* main.m in Sources */,
264 | 0B37578A186CD36E00CD500D /* StretchyHeaderCollectionViewLayout.m in Sources */,
265 | );
266 | runOnlyForDeploymentPostprocessing = 0;
267 | };
268 | 0B37576D186CD31E00CD500D /* Sources */ = {
269 | isa = PBXSourcesBuildPhase;
270 | buildActionMask = 2147483647;
271 | files = (
272 | 0B37577F186CD31E00CD500D /* StretchyHeadersTests.m in Sources */,
273 | );
274 | runOnlyForDeploymentPostprocessing = 0;
275 | };
276 | /* End PBXSourcesBuildPhase section */
277 |
278 | /* Begin PBXTargetDependency section */
279 | 0B375777186CD31E00CD500D /* PBXTargetDependency */ = {
280 | isa = PBXTargetDependency;
281 | target = 0B37574F186CD31E00CD500D /* StretchyHeaders */;
282 | targetProxy = 0B375776186CD31E00CD500D /* PBXContainerItemProxy */;
283 | };
284 | /* End PBXTargetDependency section */
285 |
286 | /* Begin PBXVariantGroup section */
287 | 0B37575C186CD31E00CD500D /* InfoPlist.strings */ = {
288 | isa = PBXVariantGroup;
289 | children = (
290 | 0B37575D186CD31E00CD500D /* en */,
291 | );
292 | name = InfoPlist.strings;
293 | sourceTree = "";
294 | };
295 | 0B375765186CD31E00CD500D /* Main.storyboard */ = {
296 | isa = PBXVariantGroup;
297 | children = (
298 | 0B375766186CD31E00CD500D /* Base */,
299 | );
300 | name = Main.storyboard;
301 | sourceTree = "";
302 | };
303 | 0B37577B186CD31E00CD500D /* InfoPlist.strings */ = {
304 | isa = PBXVariantGroup;
305 | children = (
306 | 0B37577C186CD31E00CD500D /* en */,
307 | );
308 | name = InfoPlist.strings;
309 | sourceTree = "";
310 | };
311 | /* End PBXVariantGroup section */
312 |
313 | /* Begin XCBuildConfiguration section */
314 | 0B375780186CD31E00CD500D /* Debug */ = {
315 | isa = XCBuildConfiguration;
316 | buildSettings = {
317 | ALWAYS_SEARCH_USER_PATHS = NO;
318 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
319 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
320 | CLANG_CXX_LIBRARY = "libc++";
321 | CLANG_ENABLE_MODULES = YES;
322 | CLANG_ENABLE_OBJC_ARC = YES;
323 | CLANG_WARN_BOOL_CONVERSION = YES;
324 | CLANG_WARN_CONSTANT_CONVERSION = YES;
325 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
326 | CLANG_WARN_EMPTY_BODY = YES;
327 | CLANG_WARN_ENUM_CONVERSION = YES;
328 | CLANG_WARN_INT_CONVERSION = YES;
329 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
330 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
331 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
332 | COPY_PHASE_STRIP = NO;
333 | GCC_C_LANGUAGE_STANDARD = gnu99;
334 | GCC_DYNAMIC_NO_PIC = NO;
335 | GCC_OPTIMIZATION_LEVEL = 0;
336 | GCC_PREPROCESSOR_DEFINITIONS = (
337 | "DEBUG=1",
338 | "$(inherited)",
339 | );
340 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
341 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
342 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
343 | GCC_WARN_UNDECLARED_SELECTOR = YES;
344 | GCC_WARN_UNINITIALIZED_AUTOS = YES;
345 | GCC_WARN_UNUSED_FUNCTION = YES;
346 | GCC_WARN_UNUSED_VARIABLE = YES;
347 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
348 | ONLY_ACTIVE_ARCH = YES;
349 | SDKROOT = iphoneos;
350 | };
351 | name = Debug;
352 | };
353 | 0B375781186CD31E00CD500D /* Release */ = {
354 | isa = XCBuildConfiguration;
355 | buildSettings = {
356 | ALWAYS_SEARCH_USER_PATHS = NO;
357 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
358 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
359 | CLANG_CXX_LIBRARY = "libc++";
360 | CLANG_ENABLE_MODULES = YES;
361 | CLANG_ENABLE_OBJC_ARC = YES;
362 | CLANG_WARN_BOOL_CONVERSION = YES;
363 | CLANG_WARN_CONSTANT_CONVERSION = YES;
364 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
365 | CLANG_WARN_EMPTY_BODY = YES;
366 | CLANG_WARN_ENUM_CONVERSION = YES;
367 | CLANG_WARN_INT_CONVERSION = YES;
368 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
369 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
370 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
371 | COPY_PHASE_STRIP = YES;
372 | ENABLE_NS_ASSERTIONS = NO;
373 | GCC_C_LANGUAGE_STANDARD = gnu99;
374 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
375 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
376 | GCC_WARN_UNDECLARED_SELECTOR = YES;
377 | GCC_WARN_UNINITIALIZED_AUTOS = YES;
378 | GCC_WARN_UNUSED_FUNCTION = YES;
379 | GCC_WARN_UNUSED_VARIABLE = YES;
380 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
381 | SDKROOT = iphoneos;
382 | VALIDATE_PRODUCT = YES;
383 | };
384 | name = Release;
385 | };
386 | 0B375783186CD31E00CD500D /* Debug */ = {
387 | isa = XCBuildConfiguration;
388 | buildSettings = {
389 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
390 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
391 | CLANG_ENABLE_OBJC_ARC = NO;
392 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
393 | GCC_PREFIX_HEADER = "StretchyHeaders/StretchyHeaders-Prefix.pch";
394 | INFOPLIST_FILE = "StretchyHeaders/StretchyHeaders-Info.plist";
395 | PRODUCT_NAME = "$(TARGET_NAME)";
396 | WRAPPER_EXTENSION = app;
397 | };
398 | name = Debug;
399 | };
400 | 0B375784186CD31E00CD500D /* Release */ = {
401 | isa = XCBuildConfiguration;
402 | buildSettings = {
403 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
404 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
405 | CLANG_ENABLE_OBJC_ARC = NO;
406 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
407 | GCC_PREFIX_HEADER = "StretchyHeaders/StretchyHeaders-Prefix.pch";
408 | INFOPLIST_FILE = "StretchyHeaders/StretchyHeaders-Info.plist";
409 | PRODUCT_NAME = "$(TARGET_NAME)";
410 | WRAPPER_EXTENSION = app;
411 | };
412 | name = Release;
413 | };
414 | 0B375786186CD31E00CD500D /* Debug */ = {
415 | isa = XCBuildConfiguration;
416 | buildSettings = {
417 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
418 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/StretchyHeaders.app/StretchyHeaders";
419 | FRAMEWORK_SEARCH_PATHS = (
420 | "$(SDKROOT)/Developer/Library/Frameworks",
421 | "$(inherited)",
422 | "$(DEVELOPER_FRAMEWORKS_DIR)",
423 | );
424 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
425 | GCC_PREFIX_HEADER = "StretchyHeaders/StretchyHeaders-Prefix.pch";
426 | GCC_PREPROCESSOR_DEFINITIONS = (
427 | "DEBUG=1",
428 | "$(inherited)",
429 | );
430 | INFOPLIST_FILE = "StretchyHeadersTests/StretchyHeadersTests-Info.plist";
431 | PRODUCT_NAME = "$(TARGET_NAME)";
432 | TEST_HOST = "$(BUNDLE_LOADER)";
433 | WRAPPER_EXTENSION = xctest;
434 | };
435 | name = Debug;
436 | };
437 | 0B375787186CD31E00CD500D /* Release */ = {
438 | isa = XCBuildConfiguration;
439 | buildSettings = {
440 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
441 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/StretchyHeaders.app/StretchyHeaders";
442 | FRAMEWORK_SEARCH_PATHS = (
443 | "$(SDKROOT)/Developer/Library/Frameworks",
444 | "$(inherited)",
445 | "$(DEVELOPER_FRAMEWORKS_DIR)",
446 | );
447 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
448 | GCC_PREFIX_HEADER = "StretchyHeaders/StretchyHeaders-Prefix.pch";
449 | INFOPLIST_FILE = "StretchyHeadersTests/StretchyHeadersTests-Info.plist";
450 | PRODUCT_NAME = "$(TARGET_NAME)";
451 | TEST_HOST = "$(BUNDLE_LOADER)";
452 | WRAPPER_EXTENSION = xctest;
453 | };
454 | name = Release;
455 | };
456 | /* End XCBuildConfiguration section */
457 |
458 | /* Begin XCConfigurationList section */
459 | 0B37574B186CD31E00CD500D /* Build configuration list for PBXProject "StretchyHeaders" */ = {
460 | isa = XCConfigurationList;
461 | buildConfigurations = (
462 | 0B375780186CD31E00CD500D /* Debug */,
463 | 0B375781186CD31E00CD500D /* Release */,
464 | );
465 | defaultConfigurationIsVisible = 0;
466 | defaultConfigurationName = Release;
467 | };
468 | 0B375782186CD31E00CD500D /* Build configuration list for PBXNativeTarget "StretchyHeaders" */ = {
469 | isa = XCConfigurationList;
470 | buildConfigurations = (
471 | 0B375783186CD31E00CD500D /* Debug */,
472 | 0B375784186CD31E00CD500D /* Release */,
473 | );
474 | defaultConfigurationIsVisible = 0;
475 | };
476 | 0B375785186CD31E00CD500D /* Build configuration list for PBXNativeTarget "StretchyHeadersTests" */ = {
477 | isa = XCConfigurationList;
478 | buildConfigurations = (
479 | 0B375786186CD31E00CD500D /* Debug */,
480 | 0B375787186CD31E00CD500D /* Release */,
481 | );
482 | defaultConfigurationIsVisible = 0;
483 | };
484 | /* End XCConfigurationList section */
485 | };
486 | rootObject = 0B375748186CD31E00CD500D /* Project object */;
487 | }
488 |
--------------------------------------------------------------------------------