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
#docs-editor { | |
background-color: white !important; | |
} | |
.kix-paginateddocumentplugin.kix-paginateddocumentplugin-compact-mode { | |
box-shadow: none; | |
} | |
.navigation-widget { | |
border-right: 1px solid #ddd; |
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
#define MAINLABEL_TAG 1 | |
#define SECONDLABEL_TAG 2 | |
#define PHOTO_TAG 3 | |
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
static NSString *CellIdentifier = @"ImageOnRightCell"; | |
UILabel *mainLabel, *secondLabel; | |
UIImageView *photo; |
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
#import <PureLayout/PureLayout.h> | |
@interface UIView (Border) | |
- (void)addBorder:(ALEdge)side withColor:(UIColor *)borderColor width:(CGFloat)width; | |
@end | |
@implementation UIView (Border) |
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
// | |
// UILabel+AprilFools.m | |
// | |
// Created by Florent Crivello on 4/1/14. | |
// | |
#import "UILabel+AprilFools.h" | |
#import "objc/runtime.h" | |
#import "objc/message.h" |
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
- (NSArray*)spirralArrayFromGridOfWidth:(int)width height:(int)height startline:(int)line column:(int)column{ | |
NSMutableArray *returnArray = [NSMutableArray new]; | |
int currentDirectionIndex = 0; | |
int currentInt; | |
int nextPivotal = 3; | |
int numOfPivotal = 1; | |
line++; | |
for(int i=1;i<=width*height; i++){ | |
if(nextPivotal == i){ |
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
- (int) biggestSum:(NSArray*)array{ | |
int final = 0; | |
int tempfinal = 0; | |
for(int i = 0; i < array.count; i++){ | |
tempfinal = MAX(tempfinal+[((NSNumber*)array[i]) intValue],0); | |
final = MAX(final,tempfinal); | |
} | |
return final; | |
} |