Skip to content

Commit

Permalink
Refactored project file
Browse files Browse the repository at this point in the history
  • Loading branch information
reefaq committed May 9, 2011
1 parent 5df8f9a commit d758d09
Show file tree
Hide file tree
Showing 18 changed files with 11 additions and 465 deletions.
4 changes: 2 additions & 2 deletions Classes/DataViewController.m
Expand Up @@ -7,7 +7,7 @@
//

#import "DataViewController.h"
#import "SlidingViewAppDelegate.h"
#import "StackScrollViewAppDelegate.h"
#import "UIViewWithShadow.h"
#import "RootViewController.h"
#import "SlideViewController.h"
Expand Down Expand Up @@ -95,7 +95,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
DataViewController *dataViewController = [[DataViewController alloc] initWithFrame:CGRectMake(0, 0, 477, self.view.frame.size.height)];
[[SlidingViewAppDelegate instance].rootViewController.slideViewController addViewInSlider:dataViewController invokeByController:self isSlideStartView:FALSE];
[[StackScrollViewAppDelegate instance].rootViewController.slideViewController addViewInSlider:dataViewController invokeByController:self isSlideStartView:FALSE];
}


Expand Down
4 changes: 2 additions & 2 deletions Classes/MenuViewController.m
Expand Up @@ -8,7 +8,7 @@

#import "MenuViewController.h"
#import "DataViewController.h"
#import "SlidingViewAppDelegate.h"
#import "StackScrollViewAppDelegate.h"
#import "RootViewController.h"
#import "SlideViewController.h"

Expand Down Expand Up @@ -109,7 +109,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
DataViewController *dataViewController = [[DataViewController alloc] initWithFrame:CGRectMake(0, 0, 477, self.view.frame.size.height)];
[[SlidingViewAppDelegate instance].rootViewController.slideViewController addViewInSlider:dataViewController invokeByController:self isSlideStartView:TRUE];
[[StackScrollViewAppDelegate instance].rootViewController.slideViewController addViewInSlider:dataViewController invokeByController:self isSlideStartView:TRUE];
}


Expand Down
24 changes: 0 additions & 24 deletions Classes/SlidingViewAppDelegate.h

This file was deleted.

78 changes: 0 additions & 78 deletions Classes/SlidingViewAppDelegate.m

This file was deleted.

16 changes: 7 additions & 9 deletions MainWindow.xib 100755 → 100644
Expand Up @@ -2,17 +2,16 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1056</int>
<string key="IBDocument.SystemVersion">10J567</string>
<string key="IBDocument.SystemVersion">10J869</string>
<string key="IBDocument.InterfaceBuilderVersion">823</string>
<string key="IBDocument.AppKitVersion">1038.35</string>
<string key="IBDocument.HIToolboxVersion">462.00</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">132</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="2"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand All @@ -38,10 +37,9 @@
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
<object class="IBUIWindow" id="62075450">
<reference key="NSNextResponder"/>
<nil key="NSNextResponder"/>
<int key="NSvFlags">292</int>
<string key="NSFrameSize">{768, 1024}</string>
<reference key="NSSuperview"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
Expand Down Expand Up @@ -128,7 +126,7 @@
<string>UIResponder</string>
<string>{{200, 0}, {783, 856}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>SlidingViewAppDelegate</string>
<string>StackScrollViewAppDelegate</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
Expand Down Expand Up @@ -162,7 +160,7 @@
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">SlidingViewAppDelegate</string>
<string key="className">StackScrollViewAppDelegate</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -197,8 +195,8 @@
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/SlidingViewAppDelegate.h</string>
<string key="majorKey">IBUserSource</string>
<string key="minorKey"/>
</object>
</object>
</object>
Expand Down
37 changes: 0 additions & 37 deletions SlidingView-Info.plist

This file was deleted.

0 comments on commit d758d09

Please sign in to comment.