Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Separate out actual code from sample wrapper

  • Loading branch information...
commit 7bcbaf5b47e990c80a0931013e2e946460fb0d11 1 parent 55bde72
@bjhomer authored
View
0  Classes/DeleteImagePopoverController.h → Sample/DeleteImagePopoverController.h
File renamed without changes
View
0  Classes/DeleteImagePopoverController.m → Sample/DeleteImagePopoverController.m
File renamed without changes
View
0  Classes/SidebarAppDelegate.h → Sample/SidebarAppDelegate.h
File renamed without changes
View
0  Classes/SidebarAppDelegate.m → Sample/SidebarAppDelegate.m
File renamed without changes
View
0  Classes/SidebarViewController.h → Sample/SidebarViewController.h
File renamed without changes
View
1  Classes/SidebarViewController.m → Sample/SidebarViewController.m
@@ -41,7 +41,6 @@ - (void)loadView {
- (void)viewDidLoad {
[super viewDidLoad];
_sidebar.delegate = self;
- _sidebar.rowHeight = 240;
colors = [[NSMutableArray alloc] init];
View
4 Sidebar-Prefix.pch
@@ -4,8 +4,8 @@
#import <Availability.h>
-#ifndef __IPHONE_3_0
-#warning "This project uses features only available in iPhone SDK 3.0 and later."
+#ifndef __IPHONE_4_0
+#warning "This project uses features only available in iPhone SDK 4.0 and later."
#endif
#ifdef __OBJC__
View
23 Sidebar.xcodeproj/project.pbxproj
@@ -89,6 +89,20 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ B73BA5A212E268820025030E /* Sample */ = {
+ isa = PBXGroup;
+ children = (
+ B7B8051C129393C400EBE69D /* SidebarAppDelegate.h */,
+ B7B8051D129393C400EBE69D /* SidebarAppDelegate.m */,
+ B7B80522129393C400EBE69D /* SidebarViewController.h */,
+ B7B80523129393C400EBE69D /* SidebarViewController.m */,
+ B77397AB12A4E85C00CE0A4C /* DeleteImagePopoverController.h */,
+ B77397AC12A4E85C00CE0A4C /* DeleteImagePopoverController.m */,
+ );
+ name = Sample;
+ path = ../Sample;
+ sourceTree = "<group>";
+ };
B7B804FD129393C300EBE69D = {
isa = PBXGroup;
children = (
@@ -104,13 +118,8 @@
B7B80504129393C300EBE69D /* Classes */ = {
isa = PBXGroup;
children = (
+ B73BA5A212E268820025030E /* Sample */,
B7B80546129394EA00EBE69D /* HSImageSidebarView */,
- B7B8051C129393C400EBE69D /* SidebarAppDelegate.h */,
- B7B8051D129393C400EBE69D /* SidebarAppDelegate.m */,
- B7B80522129393C400EBE69D /* SidebarViewController.h */,
- B7B80523129393C400EBE69D /* SidebarViewController.m */,
- B77397AB12A4E85C00CE0A4C /* DeleteImagePopoverController.h */,
- B77397AC12A4E85C00CE0A4C /* DeleteImagePopoverController.m */,
);
path = Classes;
sourceTree = "<group>";
@@ -396,6 +405,7 @@
INFOPLIST_FILE = "Sidebar-Info.plist";
LINKER_DISPLAYS_MANGLED_NAMES = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 2;
WRAPPER_EXTENSION = app;
};
name = Debug;
@@ -410,6 +420,7 @@
INFOPLIST_FILE = "Sidebar-Info.plist";
LINKER_DISPLAYS_MANGLED_NAMES = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 2;
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
View
43 en.lproj/SidebarViewController.xib
@@ -2,9 +2,14 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1056</int>
- <string key="IBDocument.SystemVersion">10H574</string>
- <string key="IBDocument.InterfaceBuilderVersion">1246</string>
+ <string key="IBDocument.SystemVersion">10J567</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1278</string>
<string key="IBDocument.AppKitVersion">1038.35</string>
+ <string key="IBDocument.HIToolboxVersion">462.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">287</string>
+ </object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
<string>IBUIView</string>
@@ -30,8 +35,9 @@
<object class="IBUIView" id="752737248">
<reference key="NSNextResponder" ref="766721923"/>
<int key="NSvFlags">290</int>
- <string key="NSFrame">{{0, 39}, {768, 256}}</string>
+ <string key="NSFrameSize">{768, 90}</string>
<reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="798373514"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
@@ -44,6 +50,7 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{400, 350}, {194, 37}}</string>
<reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
@@ -73,6 +80,7 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{158, 350}, {194, 37}}</string>
<reference key="NSSuperview" ref="766721923"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="496310911"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
@@ -91,6 +99,7 @@
</array>
<string key="NSFrame">{{0, 20}, {768, 1004}}</string>
<reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="752737248"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
@@ -165,9 +174,9 @@
<int key="objectID">2</int>
<reference key="object" ref="766721923"/>
<array class="NSMutableArray" key="children">
- <reference ref="752737248"/>
<reference ref="496310911"/>
<reference ref="798373514"/>
+ <reference ref="752737248"/>
</array>
<reference key="parent" ref="0"/>
</object>
@@ -211,7 +220,7 @@
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./classes-xjh84/HSImageSidebarView.h</string>
+ <string key="minorKey">./Classes/HSImageSidebarView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
@@ -221,13 +230,30 @@
<string key="deleteSelection:">id</string>
<string key="insertRow:">id</string>
</dictionary>
+ <dictionary class="NSMutableDictionary" key="actionInfosByName">
+ <object class="IBActionInfo" key="deleteSelection:">
+ <string key="name">deleteSelection:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo" key="insertRow:">
+ <string key="name">insertRow:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </dictionary>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">sidebar</string>
- <string key="NS.object.0">id</string>
+ <string key="NS.object.0">HSImageSidebarView</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">sidebar</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">sidebar</string>
+ <string key="candidateClassName">HSImageSidebarView</string>
+ </object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./classes-xjh84/SidebarViewController.h</string>
+ <string key="minorKey">./Classes/SidebarViewController.h</string>
</object>
</object>
</array>
@@ -235,8 +261,7 @@
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <string key="IBDocument.LastKnownRelativeProjectPath">Sidebar.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">106</string>
+ <string key="IBCocoaTouchPluginVersion">287</string>
</data>
</archive>
Please sign in to comment.
Something went wrong with that request. Please try again.