Skip to content

Commit

Permalink
Rename view controller
Browse files Browse the repository at this point in the history
* ViewController -> ExampleViewController
  • Loading branch information
Jake Boxer committed Apr 4, 2012
1 parent 50f54bb commit 9eca5fd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
230BAE48152BE54700CE26EC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 230BAE47152BE54700CE26EC /* main.m */; };
230BAE4C152BE54700CE26EC /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 230BAE4B152BE54700CE26EC /* AppDelegate.m */; };
230BAE4F152BE54700CE26EC /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 230BAE4D152BE54700CE26EC /* MainStoryboard.storyboard */; };
230BAE52152BE54700CE26EC /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 230BAE51152BE54700CE26EC /* ViewController.m */; };
230BAE52152BE54700CE26EC /* ExampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 230BAE51152BE54700CE26EC /* ExampleViewController.m */; };
230BAE59152BE56E00CE26EC /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 230BAE58152BE56E00CE26EC /* AddressBook.framework */; };
230BAE64152BE68800CE26EC /* JBDeviceOwner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 230BAE63152BE68800CE26EC /* JBDeviceOwner.framework */; };
/* End PBXBuildFile section */
Expand All @@ -31,8 +31,8 @@
230BAE4A152BE54700CE26EC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
230BAE4B152BE54700CE26EC /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
230BAE4E152BE54700CE26EC /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; };
230BAE50152BE54700CE26EC /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
230BAE51152BE54700CE26EC /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
230BAE50152BE54700CE26EC /* ExampleViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExampleViewController.h; sourceTree = "<group>"; };
230BAE51152BE54700CE26EC /* ExampleViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleViewController.m; sourceTree = "<group>"; };
230BAE58152BE56E00CE26EC /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; };
230BAE63152BE68800CE26EC /* JBDeviceOwner.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = JBDeviceOwner.framework; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -88,8 +88,8 @@
230BAE4A152BE54700CE26EC /* AppDelegate.h */,
230BAE4B152BE54700CE26EC /* AppDelegate.m */,
230BAE4D152BE54700CE26EC /* MainStoryboard.storyboard */,
230BAE50152BE54700CE26EC /* ViewController.h */,
230BAE51152BE54700CE26EC /* ViewController.m */,
230BAE50152BE54700CE26EC /* ExampleViewController.h */,
230BAE51152BE54700CE26EC /* ExampleViewController.m */,
230BAE42152BE54700CE26EC /* Supporting Files */,
);
path = JBDeviceOwnerExample;
Expand Down Expand Up @@ -171,7 +171,7 @@
files = (
230BAE48152BE54700CE26EC /* main.m in Sources */,
230BAE4C152BE54700CE26EC /* AppDelegate.m in Sources */,
230BAE52152BE54700CE26EC /* ViewController.m in Sources */,
230BAE52152BE54700CE26EC /* ExampleViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController
@interface ExampleViewController : UIViewController

@property (weak, nonatomic) IBOutlet UITextField *firstNameTextField;
@property (weak, nonatomic) IBOutlet UITextField *lastNameTextField;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
// Copyright (c) 2012 Jake Boxer. All rights reserved.
//

#import "ViewController.h"
#import "ExampleViewController.h"
#import <JBDeviceOwner/JBDeviceOwner.h>

@implementation ViewController
@implementation ExampleViewController

@synthesize firstNameTextField;
@synthesize lastNameTextField;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1179"/>
</dependencies>
<scenes>
<!--View Controller-->
<!--Example View Controller-->
<scene sceneID="5">
<objects>
<placeholder placeholderIdentifier="IBFirstResponder" id="4" sceneMemberID="firstResponder"/>
<viewController id="2" customClass="ViewController" sceneMemberID="viewController">
<viewController id="2" customClass="ExampleViewController" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="3">
<rect key="frame" x="0.0" y="20" width="320" height="460"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
Expand Down Expand Up @@ -80,17 +80,6 @@
</objects>
</scene>
</scenes>
<classes>
<class className="ViewController" superclassName="UIViewController">
<source key="sourceIdentifier" type="project" relativePath="./Classes/ViewController.h"/>
<relationships>
<relationship kind="outlet" name="emailTextField" candidateClass="UITextField"/>
<relationship kind="outlet" name="firstNameTextField" candidateClass="UITextField"/>
<relationship kind="outlet" name="lastNameTextField" candidateClass="UITextField"/>
<relationship kind="outlet" name="phoneTextField" candidateClass="UITextField"/>
</relationships>
</class>
</classes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
Expand Down

0 comments on commit 9eca5fd

Please sign in to comment.