mirror of
https://github.com/wu736139669/ManagerDemo.git
synced 2026-08-07 06:14:48 +00:00
add homeviewcontroll
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
A9AF6C1819947DD10076C0EE /* ManagerDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AF6C1719947DD10076C0EE /* ManagerDemoTests.m */; };
|
||||
A9AF6C2E199483520076C0EE /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AF6C2C199483520076C0EE /* MainViewController.m */; };
|
||||
A9AF6C2F199483520076C0EE /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9AF6C2D199483520076C0EE /* MainViewController.xib */; };
|
||||
A9AF6C33199484200076C0EE /* HomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AF6C31199484200076C0EE /* HomeViewController.m */; };
|
||||
A9AF6C34199484200076C0EE /* HomeViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9AF6C32199484200076C0EE /* HomeViewController.xib */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
@@ -58,6 +60,9 @@
|
||||
A9AF6C2B199483520076C0EE /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
|
||||
A9AF6C2C199483520076C0EE /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
|
||||
A9AF6C2D199483520076C0EE /* MainViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainViewController.xib; sourceTree = "<group>"; };
|
||||
A9AF6C30199484200076C0EE /* HomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeViewController.h; sourceTree = "<group>"; };
|
||||
A9AF6C31199484200076C0EE /* HomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeViewController.m; sourceTree = "<group>"; };
|
||||
A9AF6C32199484200076C0EE /* HomeViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = HomeViewController.xib; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
@@ -164,6 +169,9 @@
|
||||
A9AF6C2B199483520076C0EE /* MainViewController.h */,
|
||||
A9AF6C2C199483520076C0EE /* MainViewController.m */,
|
||||
A9AF6C2D199483520076C0EE /* MainViewController.xib */,
|
||||
A9AF6C30199484200076C0EE /* HomeViewController.h */,
|
||||
A9AF6C31199484200076C0EE /* HomeViewController.m */,
|
||||
A9AF6C32199484200076C0EE /* HomeViewController.xib */,
|
||||
);
|
||||
path = MainViewControll;
|
||||
sourceTree = "<group>";
|
||||
@@ -246,6 +254,7 @@
|
||||
files = (
|
||||
A9AF6C0519947DD00076C0EE /* Images.xcassets in Resources */,
|
||||
A9AF6BF719947DD00076C0EE /* InfoPlist.strings in Resources */,
|
||||
A9AF6C34199484200076C0EE /* HomeViewController.xib in Resources */,
|
||||
A9AF6C0019947DD00076C0EE /* Main.storyboard in Resources */,
|
||||
A9AF6C2F199483520076C0EE /* MainViewController.xib in Resources */,
|
||||
);
|
||||
@@ -269,6 +278,7 @@
|
||||
A9AF6C0319947DD00076C0EE /* ViewController.m in Sources */,
|
||||
A9AF6BFD19947DD00076C0EE /* AppDelegate.m in Sources */,
|
||||
A9AF6BF919947DD00076C0EE /* main.m in Sources */,
|
||||
A9AF6C33199484200076C0EE /* HomeViewController.m in Sources */,
|
||||
A9AF6C2E199483520076C0EE /* MainViewController.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// HomeViewController.h
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-8.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface HomeViewController : UIViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// HomeViewController.m
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-8.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "HomeViewController.h"
|
||||
|
||||
@interface HomeViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation HomeViewController
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||||
{
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
// Custom initialization
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view from its nib.
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4469" systemVersion="13A476u" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3694"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="HomeViewController">
|
||||
<connections>
|
||||
<outlet property="view" destination="1" id="3"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="1">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
||||
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
Reference in New Issue
Block a user