Permalink
Browse files

initial UIAutomation stuff pulled out of Frank experiments

  • Loading branch information...
1 parent b720105 commit 83e2961310e9e5723f917ae3f8a599aa3fce1d3a @moredip committed Aug 12, 2012
@@ -10,6 +10,8 @@
C194253C15D838BD004FC314 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C194253B15D838BD004FC314 /* Foundation.framework */; };
C194254115D838BD004FC314 /* PublicAutomation.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = C194254015D838BD004FC314 /* PublicAutomation.h */; };
C194254315D838BD004FC314 /* PublicAutomation.m in Sources */ = {isa = PBXBuildFile; fileRef = C194254215D838BD004FC314 /* PublicAutomation.m */; };
+ C194255115D83B46004FC314 /* UIView+PublicAutomation.m in Sources */ = {isa = PBXBuildFile; fileRef = C194254F15D839EC004FC314 /* UIView+PublicAutomation.m */; };
+ C194255215D83B49004FC314 /* UIAutomationBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = C194254E15D839EC004FC314 /* UIAutomationBridge.m */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -31,6 +33,11 @@
C194253F15D838BD004FC314 /* PublicAutomation-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PublicAutomation-Prefix.pch"; sourceTree = "<group>"; };
C194254015D838BD004FC314 /* PublicAutomation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PublicAutomation.h; sourceTree = "<group>"; };
C194254215D838BD004FC314 /* PublicAutomation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PublicAutomation.m; sourceTree = "<group>"; };
+ C194254C15D83959004FC314 /* UIAutomation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIAutomation.h; sourceTree = "<group>"; };
+ C194254D15D839EC004FC314 /* UIAutomationBridge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIAutomationBridge.h; sourceTree = "<group>"; };
+ C194254E15D839EC004FC314 /* UIAutomationBridge.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UIAutomationBridge.m; sourceTree = "<group>"; };
+ C194254F15D839EC004FC314 /* UIView+PublicAutomation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIView+PublicAutomation.m"; sourceTree = "<group>"; };
+ C194255015D83A1D004FC314 /* LoadableCategory.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoadableCategory.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -73,6 +80,11 @@
C194253D15D838BD004FC314 /* PublicAutomation */ = {
isa = PBXGroup;
children = (
+ C194255015D83A1D004FC314 /* LoadableCategory.h */,
+ C194254D15D839EC004FC314 /* UIAutomationBridge.h */,
+ C194254E15D839EC004FC314 /* UIAutomationBridge.m */,
+ C194254F15D839EC004FC314 /* UIView+PublicAutomation.m */,
+ C194254C15D83959004FC314 /* UIAutomation.h */,
C194254015D838BD004FC314 /* PublicAutomation.h */,
C194254215D838BD004FC314 /* PublicAutomation.m */,
C194253E15D838BD004FC314 /* Supporting Files */,
@@ -140,6 +152,8 @@
buildActionMask = 2147483647;
files = (
C194254315D838BD004FC314 /* PublicAutomation.m in Sources */,
+ C194255115D83B46004FC314 /* UIView+PublicAutomation.m in Sources */,
+ C194255215D83B49004FC314 /* UIAutomationBridge.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -0,0 +1,34 @@
+//
+// LoadableCategory.h
+// Objective-Gems
+//
+// Copyright 2011 Karl Stenerud
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+// Note: You are NOT required to make the license available from within your
+// iOS application. Including it in your project is sufficient.
+//
+// Attribution is not required, but appreciated :)
+//
+
+
+/** Make all categories in the current file loadable without using -load-all.
+ *
+ * Normally, compilers will skip linking files that contain only categories.
+ * Adding a call to this macro adds a dummy class, which causes the linker
+ * to add the file.
+ *
+ * @param UNIQUE_NAME A globally unique name.
+ */
+#define MAKE_CATEGORIES_LOADABLE(UNIQUE_NAME) @interface FORCELOAD_##UNIQUE_NAME @end @implementation FORCELOAD_##UNIQUE_NAME @end
@@ -4,4 +4,5 @@
#ifdef __OBJC__
#import <Foundation/Foundation.h>
+ #import <UIKit/UIKit.h>
#endif
Oops, something went wrong.

0 comments on commit 83e2961

Please sign in to comment.