Skip to content

Commit

Permalink
0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
coderyi committed Jun 4, 2016
1 parent 435c89b commit 599044a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions JPFPSStatus.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "JPFPSStatus"
s.version = "0.0.1"
s.version = "0.0.2"
s.summary = "JPFPSStatus - Show FPS Status on StatusBar"
s.homepage = "https://github.com/joggerplus/JPFPSStatus"
s.license = "MIT"
s.authors = { "coderyi" => "[email protected]" }
s.source = { :git => "https://github.com/joggerplus/JPFPSStatus.git", :tag => "0.0.1" }
s.source = { :git => "https://github.com/joggerplus/JPFPSStatus.git", :tag => "0.0.2" }
s.frameworks = 'Foundation', 'UIKit'
s.platform = :ios, '7.0'
s.source_files = 'JPFPSStatus/JPFPSStatus/**/*.{h,m,png}'
Expand Down
Binary file not shown.
3 changes: 3 additions & 0 deletions JPFPSStatus/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

#import "AppDelegate.h"
#import "ViewController.h"
#import "JPFPSStatus.h"
@interface AppDelegate ()

Expand All @@ -17,9 +18,11 @@ @implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
self.window.rootViewController=[[ViewController alloc] init];
#if defined(DEBUG)||defined(_DEBUG)
[[JPFPSStatus sharedInstance] open];
#endif

return YES;
}

Expand Down
13 changes: 0 additions & 13 deletions JPFPSStatus/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<scenes>
<!--View Controller-->
Expand All @@ -17,19 +16,7 @@
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="................" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hBa-yo-VYG">
<rect key="frame" x="186" y="330" width="228" height="48"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailingMargin" secondItem="hBa-yo-VYG" secondAttribute="trailing" id="Mfq-Rh-bWu"/>
<constraint firstItem="hBa-yo-VYG" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="Zce-8R-TZq"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
Expand Down
6 changes: 6 additions & 0 deletions JPFPSStatus/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ @implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
self.view.backgroundColor=[UIColor whiteColor];

UILabel *label=[[UILabel alloc] initWithFrame:CGRectMake(0, 300, [[UIScreen mainScreen] bounds].size.width, 40)];
[self.view addSubview:label];
label.textAlignment=NSTextAlignmentCenter;
label.text=@"...............";
}

- (void)didReceiveMemoryWarning {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Show FPS Status on StatusBar

```ruby
platform :ios, '7.0'
pod 'JPFPSStatus', '~> 0.0.1'
pod 'JPFPSStatus', '~> 0.0.2'
```


Expand Down
2 changes: 1 addition & 1 deletion README_Chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ JPFPSStatus是用来显示FPS状态在iOS状态栏,FPS是一秒钟渲染多少

```ruby
platform :ios, '7.0'
pod 'JPFPSStatus', '~> 0.0.1'
pod 'JPFPSStatus', '~> 0.0.2'
```


Expand Down

0 comments on commit 599044a

Please sign in to comment.