forked from Simbul/baker
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
570160e
commit ed0bc4d
Showing
56 changed files
with
1,255 additions
and
1,073 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,8 +34,9 @@ | |
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "60x60", | ||
"idiom" : "iphone", | ||
"filename" : "[email protected]", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions
27
Baker/BakerAssets.xcassets/LaunchImage.launchimage/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+15.4 KB
Baker/BakerAssets.xcassets/LaunchImage.launchimage/iPhone-Landscape-iOS7-R55.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.19 KB
Baker/BakerAssets.xcassets/LaunchImage.launchimage/iPhone-Portrait-iOS7-R47.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.2 KB
Baker/BakerAssets.xcassets/LaunchImage.launchimage/iPhone-Portrait-iOS7-R55.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 0 additions & 38 deletions
38
Baker/BakerAssets.xcassets/shelf-bg-landscape.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-15 KB
Baker/BakerAssets.xcassets/shelf-bg-landscape.imageset/shelf-bg-landscape-568h.png
Binary file not shown.
Binary file removed
BIN
-35.4 KB
...BakerAssets.xcassets/shelf-bg-landscape.imageset/shelf-bg-landscape@2x~ipad.png
Binary file not shown.
Binary file removed
BIN
-10.1 KB
...kerAssets.xcassets/shelf-bg-landscape.imageset/shelf-bg-landscape@2x~iphone.png
Binary file not shown.
Binary file removed
BIN
-11 KB
Baker/BakerAssets.xcassets/shelf-bg-landscape.imageset/shelf-bg-landscape~ipad.png
Binary file not shown.
Binary file removed
BIN
-8.59 KB
.../BakerAssets.xcassets/shelf-bg-landscape.imageset/shelf-bg-landscape~iphone.png
Binary file not shown.
38 changes: 0 additions & 38 deletions
38
Baker/BakerAssets.xcassets/shelf-bg-portrait.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-15.4 KB
Baker/BakerAssets.xcassets/shelf-bg-portrait.imageset/shelf-bg-portrait-568h.png
Binary file not shown.
Binary file removed
BIN
-37.5 KB
...r/BakerAssets.xcassets/shelf-bg-portrait.imageset/shelf-bg-portrait@2x~ipad.png
Binary file not shown.
Binary file removed
BIN
-15 KB
...BakerAssets.xcassets/shelf-bg-portrait.imageset/shelf-bg-portrait@2x~iphone.png
Binary file not shown.
Binary file removed
BIN
-15.9 KB
Baker/BakerAssets.xcassets/shelf-bg-portrait.imageset/shelf-bg-portrait~ipad.png
Binary file not shown.
Binary file removed
BIN
-8.55 KB
Baker/BakerAssets.xcassets/shelf-bg-portrait.imageset/shelf-bg-portrait~iphone.png
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
Baker/BakerAssets.xcassets/shelf-header.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "1x", | ||
"filename" : "shelf-header.png" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x", | ||
"filename" : "[email protected]" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x", | ||
"filename" : "[email protected]" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// | ||
// BakerAPI.h | ||
// Baker | ||
// | ||
// ========================================================================================== | ||
// | ||
// Copyright (c) 2014, Pieter Claerhout | ||
// All rights reserved. | ||
// | ||
// Redistribution and use in source and binary forms, with or without modification, are | ||
// permitted provided that the following conditions are met: | ||
// | ||
// Redistributions of source code must retain the above copyright notice, this list of | ||
// conditions and the following disclaimer. | ||
// Redistributions in binary form must reproduce the above copyright notice, this list of | ||
// conditions and the following disclaimer in the documentation and/or other materials | ||
// provided with the distribution. | ||
// Neither the name of the Baker Framework nor the names of its contributors may be used to | ||
// endorse or promote products derived from this software without specific prior written | ||
// permission. | ||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY | ||
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT | ||
// SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface BKRShelfHeaderView : UICollectionReusableView | ||
|
||
@property (nonatomic, strong) UIImageView *headerImage; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// | ||
// BakerAPI.h | ||
// Baker | ||
// | ||
// ========================================================================================== | ||
// | ||
// Copyright (c) 2014, Pieter Claerhout | ||
// All rights reserved. | ||
// | ||
// Redistribution and use in source and binary forms, with or without modification, are | ||
// permitted provided that the following conditions are met: | ||
// | ||
// Redistributions of source code must retain the above copyright notice, this list of | ||
// conditions and the following disclaimer. | ||
// Redistributions in binary form must reproduce the above copyright notice, this list of | ||
// conditions and the following disclaimer in the documentation and/or other materials | ||
// provided with the distribution. | ||
// Neither the name of the Baker Framework nor the names of its contributors may be used to | ||
// endorse or promote products derived from this software without specific prior written | ||
// permission. | ||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY | ||
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT | ||
// SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
// | ||
|
||
#import "BKRShelfHeaderView.h" | ||
|
||
@implementation BKRShelfHeaderView | ||
|
||
- (id)initWithFrame:(CGRect)frame { | ||
self = [super initWithFrame:frame]; | ||
if (self) { | ||
|
||
_headerImage = [[UIImageView alloc] initWithFrame:self.frame]; | ||
_headerImage.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth; | ||
_headerImage.contentMode = UIViewContentModeScaleAspectFit; | ||
_headerImage.image = [UIImage imageNamed:@"shelf-header"]; | ||
|
||
[self addSubview:_headerImage]; | ||
|
||
} | ||
return self; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.