add ProductViewControll

This commit is contained in:
2014-08-08 12:17:43 +08:00
parent 71d51abafd
commit a7f10ddcbb
4 changed files with 82 additions and 0 deletions
+10
View File
@@ -25,6 +25,8 @@
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 */; };
A9AF6C3D199486CA0076C0EE /* ProductListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AF6C3B199486CA0076C0EE /* ProductListViewController.m */; };
A9AF6C3E199486CA0076C0EE /* ProductListViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9AF6C3C199486CA0076C0EE /* ProductListViewController.xib */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -63,6 +65,9 @@
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>"; };
A9AF6C3A199486CA0076C0EE /* ProductListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProductListViewController.h; sourceTree = "<group>"; };
A9AF6C3B199486CA0076C0EE /* ProductListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProductListViewController.m; sourceTree = "<group>"; };
A9AF6C3C199486CA0076C0EE /* ProductListViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ProductListViewController.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -172,6 +177,9 @@
A9AF6C30199484200076C0EE /* HomeViewController.h */,
A9AF6C31199484200076C0EE /* HomeViewController.m */,
A9AF6C32199484200076C0EE /* HomeViewController.xib */,
A9AF6C3A199486CA0076C0EE /* ProductListViewController.h */,
A9AF6C3B199486CA0076C0EE /* ProductListViewController.m */,
A9AF6C3C199486CA0076C0EE /* ProductListViewController.xib */,
);
path = MainViewControll;
sourceTree = "<group>";
@@ -256,6 +264,7 @@
A9AF6BF719947DD00076C0EE /* InfoPlist.strings in Resources */,
A9AF6C34199484200076C0EE /* HomeViewController.xib in Resources */,
A9AF6C0019947DD00076C0EE /* Main.storyboard in Resources */,
A9AF6C3E199486CA0076C0EE /* ProductListViewController.xib in Resources */,
A9AF6C2F199483520076C0EE /* MainViewController.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -275,6 +284,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A9AF6C3D199486CA0076C0EE /* ProductListViewController.m in Sources */,
A9AF6C0319947DD00076C0EE /* ViewController.m in Sources */,
A9AF6BFD19947DD00076C0EE /* AppDelegate.m in Sources */,
A9AF6BF919947DD00076C0EE /* main.m in Sources */,
@@ -0,0 +1,13 @@
//
// ProductListViewController.h
// ManagerDemo
//
// Created by xmfish on 14-8-8.
// Copyright (c) 2014年 ash. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ProductListViewController : UIViewController
@end
@@ -0,0 +1,38 @@
//
// ProductListViewController.m
// ManagerDemo
//
// Created by xmfish on 14-8-8.
// Copyright (c) 2014年 ash. All rights reserved.
//
#import "ProductListViewController.h"
@interface ProductListViewController ()
@end
@implementation ProductListViewController
- (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="ProductListViewController">
<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>