Skip to content

Commit

Permalink
Merge pull request #3 from honishi/feature/minor-update
Browse files Browse the repository at this point in the history
minor updates
  • Loading branch information
joecarney committed Sep 25, 2013
2 parents 1e35c04 + f9c6dc8 commit 6ef9422
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
Binary file removed .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
JCGridMenu/*.xcodeproj/*
!JCGridMenu/*.xcodeproj/project.pbxproj
!JCGridMenu/*.xcworkspace/contents.xcworkspacedata
Binary file removed JCGridMenu/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions JCGridMenu/JCGridMenu.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@
80B3D48415B945930069C6C2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_ENUM_CONVERSION = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "JCGridMenu/JCGridMenu-Prefix.pch";
INFOPLIST_FILE = "JCGridMenu/JCGridMenu-Info.plist";
Expand All @@ -750,6 +751,7 @@
80B3D48515B945930069C6C2 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_ENUM_CONVERSION = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "JCGridMenu/JCGridMenu-Prefix.pch";
INFOPLIST_FILE = "JCGridMenu/JCGridMenu-Info.plist";
Expand Down
Binary file removed Universal/.DS_Store
Binary file not shown.
Binary file removed Universal/Images/.DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions Universal/Library/UILabel+JCUI.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ - (UILabel *)buttonText:(NSString *)text withFrame:(CGRect)frame
[label setNumberOfLines:1];
[label setValue:text forKey:@"text"];
[label setTextColor:[UIColor colorWithWhite:1.0 alpha:0.9]];
[label setTextAlignment:UITextAlignmentLeft];
[label setTextAlignment:NSTextAlignmentLeft];
[label setBackgroundColor:[UIColor clearColor]];
[label setFont:[UIFont systemFontOfSize:13.0f]];
[label setShadowColor:[UIColor colorWithWhite:0.0f alpha:0.2f]];
Expand All @@ -29,7 +29,7 @@ - (UILabel *)demoTitle:(NSString *)text frame:(CGRect)frame
[label setNumberOfLines:1000];
[label setValue:text forKey:@"text"];
[label setTextColor:[UIColor colorWithWhite:0.0 alpha:0.9]];
[label setTextAlignment:UITextAlignmentLeft];
[label setTextAlignment:NSTextAlignmentLeft];
[label setBackgroundColor:[UIColor clearColor]];
[label setFont:[UIFont systemFontOfSize:24.0f]];
[label setShadowColor:[UIColor colorWithWhite:1.0f alpha:0.4f]];
Expand All @@ -44,7 +44,7 @@ - (UILabel *)demoText:(NSString *)text frame:(CGRect)frame
[label setNumberOfLines:1000];
[label setValue:text forKey:@"text"];
[label setTextColor:[UIColor colorWithWhite:0.0 alpha:0.7]];
[label setTextAlignment:UITextAlignmentLeft];
[label setTextAlignment:NSTextAlignmentLeft];
[label setBackgroundColor:[UIColor clearColor]];
[label setFont:[UIFont systemFontOfSize:14.0f]];
[label setShadowColor:[UIColor colorWithWhite:1.0f alpha:0.4f]];
Expand Down
12 changes: 6 additions & 6 deletions Universal/Views/JCGridMenuView.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ - (void)show

[UIView animateWithDuration:0.2
delay:0.0
options: UIViewAnimationCurveEaseIn
options: UIViewAnimationOptionCurveEaseIn
animations:^{
[self.layer setPosition:CGPointMake(xStart+44, yStart)];
[_button setSelected:[_row isSelected]];
Expand All @@ -96,7 +96,7 @@ - (void)show

[UIView animateWithDuration:0.2
delay:0.0
options: UIViewAnimationCurveLinear
options: UIViewAnimationOptionCurveLinear
animations:^{
[self.layer setPosition:CGPointMake(xEnd, yEnd)];
}
Expand All @@ -112,7 +112,7 @@ - (void)hide

[UIView animateWithDuration:0.4
delay:0.0
options: UIViewAnimationCurveEaseIn
options: UIViewAnimationOptionCurveEaseIn
animations:^{
[self.layer setPosition:CGPointMake(_hideX, _hideY)];
}
Expand Down Expand Up @@ -225,7 +225,7 @@ - (void)expand:(NSInteger)indexRow

[UIView animateWithDuration:0.2
delay:0.0
options: UIViewAnimationCurveEaseIn
options: UIViewAnimationOptionCurveEaseIn
animations:^{
[self.layer setPosition:CGPointMake((centerX -_expandWidth) +44, centerY)];
}
Expand Down Expand Up @@ -254,7 +254,7 @@ - (void)seperate:(BOOL)isSeperate

[UIView animateWithDuration:0.2
delay:0.0
options: UIViewAnimationCurveEaseIn
options: UIViewAnimationOptionCurveEaseIn
animations:^{
[self.layer setPosition:CGPointMake(centerX, centerY)];
}
Expand All @@ -278,7 +278,7 @@ - (void)reset
if (needsReset) {
[UIView animateWithDuration:0.2
delay:0.0
options: UIViewAnimationCurveEaseIn
options: UIViewAnimationOptionCurveEaseIn
animations:^{

if ([_row hideOnExpand]) {
Expand Down

0 comments on commit 6ef9422

Please sign in to comment.