This file contains hidden or 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
Notices for libraries | |
TBXML | |
Copyright 2012 71Squared All rights reserved. | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains hidden or 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
require 'rubygems' | |
require 'active_support/core_ext' | |
class Fixnum | |
def score | |
self * 20 | |
end | |
def and | |
self |
This file contains hidden or 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
require 'rubygems' | |
require 'json' | |
require 'plist' | |
require 'open-uri' | |
File.open("/Users/aaron/Desktop/tweets.plist", 'w') {|f| JSON.parse(open("http://api.twitter.com/1/statuses/user_timeline.json?screen_name=cocoacontrols").read).to_plist} |
This file contains hidden or 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
- (void)drawRect:(CGRect)rect { | |
CGContextRef context = UIGraphicsGetCurrentContext(); | |
CGFloat minx = CGRectGetMinX(rect); | |
CGFloat midx = CGRectGetMidX(rect); | |
CGFloat maxx = CGRectGetMaxX(rect); | |
CGFloat miny = CGRectGetMinY(rect); | |
CGFloat midy = CGRectGetMidY(rect); | |
CGFloat maxy = CGRectGetMaxY(rect); | |
This file contains hidden or 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
diff --git a/Classes/RoundedUITableView.m b/Classes/RoundedUITableView.m | |
index 80eddf1..53904a9 100644 | |
--- a/Classes/RoundedUITableView.m | |
+++ b/Classes/RoundedUITableView.m | |
@@ -30,6 +30,7 @@ | |
#import "RoundedUITableView.h" | |
#import <QuartzCore/QuartzCore.h> | |
+#define kCornerRadius 6.f | |
This file contains hidden or 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
-- (id)initWithFrame:(CGRect)frame { | |
- if (self = [super initWithFrame:frame]) { | |
+- (id)initWithFrame:(CGRect)frame style:(UITableViewStyle)aTableStyle { | |
+ if (self = [super initWithFrame:frame style:aTableStyle]) { | |
[self setupView]; | |
} |
This file contains hidden or 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
diff --git a/Classes/MenuViewController.m b/Classes/MenuViewController.m | |
index 7254ccc..47fd8df 100755 | |
--- a/Classes/MenuViewController.m | |
+++ b/Classes/MenuViewController.m | |
@@ -28,14 +28,7 @@ | |
[_tableView setDataSource:self]; | |
[_tableView setBackgroundColor:[UIColor clearColor]]; | |
_tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 1)]; | |
- [self.view addSubview:_tableView]; | |
- |