Skip to content

Commit

Permalink
Remove unneeded example
Browse files Browse the repository at this point in the history
  • Loading branch information
gskbyte committed Feb 29, 2016
1 parent fda99a3 commit a02bd92
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 44 deletions.
6 changes: 0 additions & 6 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
C03FC5061C8348150015FAAA /* GSKTabsStretchyHeaderView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C03FC5001C8348150015FAAA /* GSKTabsStretchyHeaderView.xib */; };
C03FC5091C8349440015FAAA /* GSKExampleDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = C03FC5081C8349440015FAAA /* GSKExampleDataSource.m */; };
C086E0031C846309002A54C1 /* GSKExampleNavigationBarViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C086E0021C846309002A54C1 /* GSKExampleNavigationBarViewController.m */; };
C086E0061C84631C002A54C1 /* GSKExampleDismissableNavigationBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = C086E0051C84631C002A54C1 /* GSKExampleDismissableNavigationBarController.m */; };
C086E00A1C846C5E002A54C1 /* GSKExampleBaseTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C086E0091C846C5E002A54C1 /* GSKExampleBaseTableViewController.m */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -119,8 +118,6 @@
C03FC5081C8349440015FAAA /* GSKExampleDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GSKExampleDataSource.m; sourceTree = "<group>"; };
C086E0011C846309002A54C1 /* GSKExampleNavigationBarViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GSKExampleNavigationBarViewController.h; sourceTree = "<group>"; };
C086E0021C846309002A54C1 /* GSKExampleNavigationBarViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GSKExampleNavigationBarViewController.m; sourceTree = "<group>"; };
C086E0041C84631C002A54C1 /* GSKExampleDismissableNavigationBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GSKExampleDismissableNavigationBarController.h; sourceTree = "<group>"; };
C086E0051C84631C002A54C1 /* GSKExampleDismissableNavigationBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GSKExampleDismissableNavigationBarController.m; sourceTree = "<group>"; };
C086E0081C846C5E002A54C1 /* GSKExampleBaseTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GSKExampleBaseTableViewController.h; sourceTree = "<group>"; };
C086E0091C846C5E002A54C1 /* GSKExampleBaseTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GSKExampleBaseTableViewController.m; sourceTree = "<group>"; };
D1AD58004EA1E848A413AC19 /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -269,8 +266,6 @@
C03FC4FB1C8348150015FAAA /* GSKExampleTabsViewController.m */,
C086E0011C846309002A54C1 /* GSKExampleNavigationBarViewController.h */,
C086E0021C846309002A54C1 /* GSKExampleNavigationBarViewController.m */,
C086E0041C84631C002A54C1 /* GSKExampleDismissableNavigationBarController.h */,
C086E0051C84631C002A54C1 /* GSKExampleDismissableNavigationBarController.m */,
);
name = "View Controllers";
sourceTree = "<group>";
Expand Down Expand Up @@ -563,7 +558,6 @@
C03FC4ED1C81B3250015FAAA /* GSKExampleTableViewController.m in Sources */,
C03FC4EC1C81B3250015FAAA /* GSKExampleCollectionViewController.m in Sources */,
C086E0031C846309002A54C1 /* GSKExampleNavigationBarViewController.m in Sources */,
C086E0061C84631C002A54C1 /* GSKExampleDismissableNavigationBarController.m in Sources */,
C086E00A1C846C5E002A54C1 /* GSKExampleBaseTableViewController.m in Sources */,
C03FC4E41C81B1E30015FAAA /* GSKExampleListViewController.m in Sources */,
6003F59A195388D20070C39A /* main.m in Sources */,
Expand Down

This file was deleted.

This file was deleted.

6 changes: 1 addition & 5 deletions Example/GSKStretchyHeaderView/GSKExampleListViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#import "GSKExampleTabsViewController.h"
#import "GSKExampleNavigationBarViewController.h"
#import "GSKExampleDismissableNavigationBarController.h"

@interface GSKExampleListViewController () <GSKExampleDataCellDelegate>
@property (nonatomic) NSArray *exampleDatas;
Expand Down Expand Up @@ -40,10 +39,7 @@ - (void)viewDidLoad {
GSKExampleData *navBar = [GSKExampleData dataWithTitle:@"Under navigation bar"
viewControllerClass:[GSKExampleNavigationBarViewController class]];

GSKExampleData *dismissableNavbar = [GSKExampleData dataWithTitle:@"Hidden navigation bar"
viewControllerClass:[GSKExampleDismissableNavigationBarController class]];

self.exampleDatas = @[data, spoty, nib, tabs, navBar, dismissableNavbar];
self.exampleDatas = @[data, spoty, nib, tabs, navBar];
}

- (void)viewWillAppear:(BOOL)animated {
Expand Down
4 changes: 2 additions & 2 deletions Example/GSKStretchyHeaderView/GSKNibStretchyHeaderView.xib
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="A cool user's profile" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ePj-xy-EI5">
<rect key="frame" x="8" y="289" width="580" height="21"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="A cool user's profile" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ePj-xy-EI5">
<rect key="frame" x="225" y="300" width="151" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/GSKStretchyHeaderView.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ NS_ASSUME_NONNULL_BEGIN

@property (nonatomic) IBInspectable CGFloat maximumContentHeight; // defaults to initial frame height
@property (nonatomic) IBInspectable CGFloat minimumContentHeight; // defaults to 0
@property (nonatomic) IBInspectable UIEdgeInsets contentInset; // default UIEdgeInsetsZero
@property (nonatomic) IBInspectable UIEdgeInsets contentInsetz; // default UIEdgeInsetsZero

@property (nonatomic, weak) id<GSKStretchyHeaderViewStretchDelegate> stretchDelegate;
@property (nonatomic) IBInspectable BOOL stretchContentView; // default YES
Expand Down

0 comments on commit a02bd92

Please sign in to comment.