Skip to content

Commit

Permalink
outsource youknowone#133 to FoundationExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Dec 4, 2013
1 parent 7830a19 commit bbb8d8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
platform :ios, '5.0'

pod 'FoundationExtension', '~> 0.44'
pod 'FoundationExtension', '~> 0.46'
pod 'SevenSwitch', '~> 1.3.0'
pod 'GIKPopoverBackgroundView/Core'
pod 'UIKitResources/UIAccessoryButton'
Expand Down
6 changes: 3 additions & 3 deletions UI7Kit.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "UI7Kit"
s.version = "0.9.11"
s.version = "0.9.12"
s.summary = "UI7Kit is a GUI toolkit to implement iOS7 look & feel UIKit under iOS5/iOS6. It is also supported that patching UIKit to UI7Kit in runtime."
s.homepage = "https://github.com/youknowone/UI7Kit"
s.screenshots = "https://raw.github.com/youknowone/UI7Kit/master/UI7Kit.png",
s.license = "2-clause BSD"
s.author = { "Jeong YunWon" => "jeong@youknowone.org" }
s.source = { :git => "https://github.com/youknowone/UI7Kit.git", :tag => "0.9.11" }
s.source = { :git => "https://github.com/youknowone/UI7Kit.git", :tag => "0.9.12" }

s.platform = :ios, '5.0'
s.header_dir = "UI7Kit"
Expand Down Expand Up @@ -101,7 +101,7 @@ Pod::Spec.new do |s|
#include <UIKitExtension/UIKitExtension.h>
#include <UI7Kit/UI7Kit.h>
'
core.dependency 'FoundationExtension', '~> 0.44'
core.dependency 'FoundationExtension', '~> 0.46'
core.dependency 'cdebug'
core.dependency 'UI7Kit/UI7Color'
end
Expand Down
8 changes: 1 addition & 7 deletions UI7Kit/UI7PickerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
#import "UI7TableView.h"
#import "UI7TableViewCell.h"

#ifdef __IPHONE_6_0
# define ALIGN_CENTER NSTextAlignmentCenter
#else
# define ALIGN_CENTER UITextAlignmentCenter
#endif

CGFloat UI7PickerLikeViewRowHeight = 36.0f;

@interface UI7PickerLikeView () {
Expand Down Expand Up @@ -292,7 +286,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
if (cell == nil) {
cell = (id)[UI7TableViewCell cellWithStyle:UITableViewCellStyleDefault reuseIdentifier:identifier];
cell.textLabel.textAlignment = ALIGN_CENTER;
cell.textLabel.textAlignment = NSTextAlignmentCenter;
cell.selectedBackgroundView = [UIColor clearColor].image.view;
cell.backgroundColor = [UIColor clearColor];
cell.textLabel.font = [UI7Font iOS7SystemFontOfSize:cell.textLabel.font.pointSize attribute:UI7FontAttributeLight]; // weird behavior
Expand Down

0 comments on commit bbb8d8f

Please sign in to comment.