Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiletAbylov committed Apr 19, 2012
1 parent e471dbd commit 43a1461
Show file tree
Hide file tree
Showing 19 changed files with 1,133 additions and 7 deletions.
13 changes: 13 additions & 0 deletions RootController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// RootController.h
// Tili
//
// Created by Adilet Abylov on 18.04.12.
// Copyright (c) 2012 none. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RootController : UINavigationController

@end
54 changes: 54 additions & 0 deletions RootController.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
//
// RootController.m
// Tili
//
// Created by Adilet Abylov on 18.04.12.
// Copyright (c) 2012 none. All rights reserved.
//

#import "RootController.h"
#import "SearchViewController.h"

@implementation RootController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}

- (void)didReceiveMemoryWarning
{
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];

// Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

- (void)viewDidLoad
{
[super viewDidLoad];
SearchViewController *mainView = [[SearchViewController alloc] initWithNibName:@"SearchViewController" bundle:nil];
[self pushViewController:mainView animated:YES];

}

- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
149 changes: 149 additions & 0 deletions RootController.xib
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1280</int>
<string key="IBDocument.SystemVersion">11D50</string>
<string key="IBDocument.InterfaceBuilderVersion">1938</string>
<string key="IBDocument.AppKitVersion">1138.32</string>
<string key="IBDocument.HIToolboxVersion">568.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">933</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBUINavigationItem</string>
<string>IBUIViewController</string>
<string>IBUINavigationBar</string>
<string>IBUINavigationController</string>
<string>IBProxyObject</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</array>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
<integer value="1" key="NS.object.0"/>
</object>
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<object class="IBProxyObject" id="372490531">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="975951072">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUINavigationController" id="182411725">
<object class="IBUISimulatedNavigationBarMetrics" key="IBUISimulatedTopBarMetrics">
<bool key="IBUIPrompted">NO</bool>
</object>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="IBUIInterfaceOrientation">1</int>
<int key="interfaceOrientation">1</int>
</object>
<bool key="IBUIDefinesPresentationContext">YES</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
<object class="IBUINavigationBar" key="IBUINavigationBar" id="612374833">
<nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{0, -44}, {0, 44}}</string>
<string key="NSReuseIdentifierKey">_NS:451</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<bool key="IBUIMultipleTouchEnabled">YES</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<array class="NSMutableArray" key="IBUIViewControllers">
<object class="IBUIViewController" id="730299350">
<object class="IBUINavigationItem" key="IBUINavigationItem" id="1014161862">
<string key="IBUITitle">OLOLO</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<reference key="IBUIParentViewController" ref="182411725"/>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="IBUIInterfaceOrientation">1</int>
<int key="interfaceOrientation">1</int>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
</array>
</object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords"/>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
<object class="IBObjectRecord">
<int key="objectID">0</int>
<array key="object" id="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="372490531"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="975951072"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">4</int>
<reference key="object" ref="182411725"/>
<array class="NSMutableArray" key="children">
<reference ref="612374833"/>
<reference ref="730299350"/>
</array>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">5</int>
<reference key="object" ref="612374833"/>
<reference key="parent" ref="182411725"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="730299350"/>
<array class="NSMutableArray" key="children">
<reference ref="1014161862"/>
</array>
<reference key="parent" ref="182411725"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">7</int>
<reference key="object" ref="1014161862"/>
<reference key="parent" ref="730299350"/>
</object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
<string key="-1.CustomClassName">RootController</string>
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="4.CustomClassName">RootController</string>
<string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="5.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="7.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
<int key="maxID">7</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes"/>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">933</string>
</data>
</archive>
52 changes: 47 additions & 5 deletions Tili.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
600E2969153E9CDF000ED18E /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 600E294E153E9CDF000ED18E /* CoreData.framework */; };
600E2971153E9CDF000ED18E /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 600E296F153E9CDF000ED18E /* InfoPlist.strings */; };
600E2974153E9CDF000ED18E /* TiliTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 600E2973153E9CDF000ED18E /* TiliTests.m */; };
600E2980153E9D5A000ED18E /* RootController.m in Sources */ = {isa = PBXBuildFile; fileRef = 600E297E153E9D5A000ED18E /* RootController.m */; };
600E2981153E9D5A000ED18E /* RootController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 600E297F153E9D5A000ED18E /* RootController.xib */; };
600E2985153E9EE3000ED18E /* SearchViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 600E2983153E9EE3000ED18E /* SearchViewController.m */; };
600E2986153E9EE3000ED18E /* SearchViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 600E2984153E9EE3000ED18E /* SearchViewController.xib */; };
60978F5C153FD63E003D789B /* TestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 60978F5A153FD63E003D789B /* TestViewController.m */; };
60978F5D153FD63E003D789B /* TestViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 60978F5B153FD63E003D789B /* TestViewController.xib */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -39,19 +45,28 @@
600E294A153E9CDF000ED18E /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
600E294C153E9CDF000ED18E /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
600E294E153E9CDF000ED18E /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
600E2952153E9CDF000ED18E /* Tili-Info.plist */ = {isa = PBXFileReference; path = "Tili-Info.plist"; sourceTree = "<group>"; };
600E2952153E9CDF000ED18E /* Tili-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tili-Info.plist"; sourceTree = "<group>"; };
600E2954153E9CDF000ED18E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
600E2956153E9CDF000ED18E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
600E2958153E9CDF000ED18E /* Tili-Prefix.pch */ = {isa = PBXFileReference; path = "Tili-Prefix.pch"; sourceTree = "<group>"; };
600E2959153E9CDF000ED18E /* GRFXAppDelegate.h */ = {isa = PBXFileReference; path = GRFXAppDelegate.h; sourceTree = "<group>"; };
600E2958153E9CDF000ED18E /* Tili-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tili-Prefix.pch"; sourceTree = "<group>"; };
600E2959153E9CDF000ED18E /* GRFXAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GRFXAppDelegate.h; sourceTree = "<group>"; };
600E295A153E9CDF000ED18E /* GRFXAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GRFXAppDelegate.m; sourceTree = "<group>"; };
600E295D153E9CDF000ED18E /* Tili.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Tili.xcdatamodel; sourceTree = "<group>"; };
600E2964153E9CDF000ED18E /* TiliTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TiliTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
600E2965153E9CDF000ED18E /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
600E296E153E9CDF000ED18E /* TiliTests-Info.plist */ = {isa = PBXFileReference; path = "TiliTests-Info.plist"; sourceTree = "<group>"; };
600E296E153E9CDF000ED18E /* TiliTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TiliTests-Info.plist"; sourceTree = "<group>"; };
600E2970153E9CDF000ED18E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
600E2972153E9CDF000ED18E /* TiliTests.h */ = {isa = PBXFileReference; path = TiliTests.h; sourceTree = "<group>"; };
600E2972153E9CDF000ED18E /* TiliTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TiliTests.h; sourceTree = "<group>"; };
600E2973153E9CDF000ED18E /* TiliTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TiliTests.m; sourceTree = "<group>"; };
600E297D153E9D5A000ED18E /* RootController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RootController.h; path = ../RootController.h; sourceTree = "<group>"; };
600E297E153E9D5A000ED18E /* RootController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RootController.m; path = ../RootController.m; sourceTree = "<group>"; };
600E297F153E9D5A000ED18E /* RootController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = RootController.xib; path = ../RootController.xib; sourceTree = "<group>"; };
600E2982153E9EE3000ED18E /* SearchViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchViewController.h; sourceTree = "<group>"; };
600E2983153E9EE3000ED18E /* SearchViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SearchViewController.m; sourceTree = "<group>"; };
600E2984153E9EE3000ED18E /* SearchViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SearchViewController.xib; sourceTree = "<group>"; };
60978F59153FD63E003D789B /* TestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestViewController.h; sourceTree = "<group>"; };
60978F5A153FD63E003D789B /* TestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestViewController.m; sourceTree = "<group>"; };
60978F5B153FD63E003D789B /* TestViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TestViewController.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -114,10 +129,14 @@
600E2950153E9CDF000ED18E /* Tili */ = {
isa = PBXGroup;
children = (
600E297D153E9D5A000ED18E /* RootController.h */,
600E297E153E9D5A000ED18E /* RootController.m */,
600E297F153E9D5A000ED18E /* RootController.xib */,
600E2959153E9CDF000ED18E /* GRFXAppDelegate.h */,
600E295A153E9CDF000ED18E /* GRFXAppDelegate.m */,
600E295C153E9CDF000ED18E /* Tili.xcdatamodeld */,
600E2951153E9CDF000ED18E /* Supporting Files */,
60978F60153FDA7F003D789B /* views */,
);
path = Tili;
sourceTree = "<group>";
Expand Down Expand Up @@ -152,6 +171,19 @@
name = "Supporting Files";
sourceTree = "<group>";
};
60978F60153FDA7F003D789B /* views */ = {
isa = PBXGroup;
children = (
600E2982153E9EE3000ED18E /* SearchViewController.h */,
600E2983153E9EE3000ED18E /* SearchViewController.m */,
600E2984153E9EE3000ED18E /* SearchViewController.xib */,
60978F59153FD63E003D789B /* TestViewController.h */,
60978F5A153FD63E003D789B /* TestViewController.m */,
60978F5B153FD63E003D789B /* TestViewController.xib */,
);
name = views;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -224,6 +256,9 @@
buildActionMask = 2147483647;
files = (
600E2955153E9CDF000ED18E /* InfoPlist.strings in Resources */,
600E2981153E9D5A000ED18E /* RootController.xib in Resources */,
600E2986153E9EE3000ED18E /* SearchViewController.xib in Resources */,
60978F5D153FD63E003D789B /* TestViewController.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -261,6 +296,9 @@
600E2957153E9CDF000ED18E /* main.m in Sources */,
600E295B153E9CDF000ED18E /* GRFXAppDelegate.m in Sources */,
600E295E153E9CDF000ED18E /* Tili.xcdatamodeld in Sources */,
600E2980153E9D5A000ED18E /* RootController.m in Sources */,
600E2985153E9EE3000ED18E /* SearchViewController.m in Sources */,
60978F5C153FD63E003D789B /* TestViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -353,6 +391,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Tili/Tili-Prefix.pch";
INFOPLIST_FILE = "Tili/Tili-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand All @@ -364,6 +403,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Tili/Tili-Prefix.pch";
INFOPLIST_FILE = "Tili/Tili-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand Down Expand Up @@ -422,6 +462,7 @@
600E2979153E9CDF000ED18E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
600E297A153E9CDF000ED18E /* Build configuration list for PBXNativeTarget "TiliTests" */ = {
isa = XCConfigurationList;
Expand All @@ -430,6 +471,7 @@
600E297C153E9CDF000ED18E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

Expand Down
7 changes: 7 additions & 0 deletions Tili.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEWorkspaceUserSettings_HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
<true/>
<key>IDEWorkspaceUserSettings_SnapshotAutomaticallyBeforeSignificantChanges</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 43a1461

Please sign in to comment.