Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix missing source code, add mapkit work-around directly into Frank lib

  • Loading branch information...
commit 1a990f3ec62b9d2a2a646c03aad648b62eeecf68 1 parent 6de2f01
@moredip moredip authored
View
16 Frank.xcodeproj/project.pbxproj
@@ -97,6 +97,10 @@
D67F2AAE13F5E7FA00A0BFF1 /* AccessibilityCheckCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = D67F2AAC13F5E7FA00A0BFF1 /* AccessibilityCheckCommand.m */; };
D67F2ABF13F5F55A00A0BFF1 /* FrankLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = D67F2ABD13F5F55A00A0BFF1 /* FrankLoader.h */; };
D67F2AC013F5F55A00A0BFF1 /* FrankLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = D67F2ABE13F5F55A00A0BFF1 /* FrankLoader.m */; };
+ D67F2B0613F5F6CD00A0BFF1 /* VisibleTouch.h in Headers */ = {isa = PBXBuildFile; fileRef = D67F2B0413F5F6CD00A0BFF1 /* VisibleTouch.h */; };
+ D67F2B0713F5F6CD00A0BFF1 /* VisibleTouch.m in Sources */ = {isa = PBXBuildFile; fileRef = D67F2B0513F5F6CD00A0BFF1 /* VisibleTouch.m */; };
+ D67F2B3413F5F82700A0BFF1 /* LoadableCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = D67F2B3313F5F82700A0BFF1 /* LoadableCategory.h */; };
+ D67F2B3A13F5F91700A0BFF1 /* UIView+MapKitWorkaround.m in Sources */ = {isa = PBXBuildFile; fileRef = D67F2B3813F5F91700A0BFF1 /* UIView+MapKitWorkaround.m */; };
D6C8BCC5137CD5E2000EF521 /* UIQueryScrollView.h in Headers */ = {isa = PBXBuildFile; fileRef = D6C8BCC3137CD5E2000EF521 /* UIQueryScrollView.h */; };
D6C8BCC6137CD5E2000EF521 /* UIQueryScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = D6C8BCC4137CD5E2000EF521 /* UIQueryScrollView.m */; };
D6D05CB311C883AA0081C5A5 /* DumpCommand.h in Headers */ = {isa = PBXBuildFile; fileRef = D6D05CA111C883AA0081C5A5 /* DumpCommand.h */; };
@@ -228,6 +232,10 @@
D67F2AAC13F5E7FA00A0BFF1 /* AccessibilityCheckCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AccessibilityCheckCommand.m; path = src/AccessibilityCheckCommand.m; sourceTree = "<group>"; };
D67F2ABD13F5F55A00A0BFF1 /* FrankLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FrankLoader.h; path = src/FrankLoader.h; sourceTree = "<group>"; };
D67F2ABE13F5F55A00A0BFF1 /* FrankLoader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FrankLoader.m; path = src/FrankLoader.m; sourceTree = "<group>"; };
+ D67F2B0413F5F6CD00A0BFF1 /* VisibleTouch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisibleTouch.h; sourceTree = "<group>"; };
+ D67F2B0513F5F6CD00A0BFF1 /* VisibleTouch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VisibleTouch.m; sourceTree = "<group>"; };
+ D67F2B3313F5F82700A0BFF1 /* LoadableCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoadableCategory.h; sourceTree = "<group>"; };
+ D67F2B3813F5F91700A0BFF1 /* UIView+MapKitWorkaround.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+MapKitWorkaround.m"; sourceTree = "<group>"; };
D6C8BCC3137CD5E2000EF521 /* UIQueryScrollView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIQueryScrollView.h; sourceTree = "<group>"; };
D6C8BCC4137CD5E2000EF521 /* UIQueryScrollView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIQueryScrollView.m; sourceTree = "<group>"; };
D6D05CA111C883AA0081C5A5 /* DumpCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DumpCommand.h; path = src/DumpCommand.h; sourceTree = "<group>"; };
@@ -336,6 +344,7 @@
D6D05CB011C883AA0081C5A5 /* StaticResourcesRoute.m */,
D6D05CB111C883AA0081C5A5 /* UISpecCommandReceiver.h */,
D6D05CB211C883AA0081C5A5 /* UISpecCommandReceiver.m */,
+ D67F2B3813F5F91700A0BFF1 /* UIView+MapKitWorkaround.m */,
);
name = src;
sourceTree = "<group>";
@@ -354,6 +363,7 @@
D6E7B46C11B36D42005CAA34 /* JSON */,
D62992AB11AB2DDD00CE0FB0 /* uispec */,
D629926811AB2D0500CE0FB0 /* cocoahttpserver */,
+ D67F2B3313F5F82700A0BFF1 /* LoadableCategory.h */,
);
name = "3rd Party";
sourceTree = "<group>";
@@ -421,6 +431,8 @@
D62992B911AB2DDD00CE0FB0 /* dsl */ = {
isa = PBXGroup;
children = (
+ D67F2B0413F5F6CD00A0BFF1 /* VisibleTouch.h */,
+ D67F2B0513F5F6CD00A0BFF1 /* VisibleTouch.m */,
D62992BA11AB2DDD00CE0FB0 /* Recordable.h */,
D62992BB11AB2DDD00CE0FB0 /* Recordable.m */,
D62992BC11AB2DDD00CE0FB0 /* UIChildren.h */,
@@ -578,6 +590,8 @@
D6C8BCC5137CD5E2000EF521 /* UIQueryScrollView.h in Headers */,
D67F2AAD13F5E7FA00A0BFF1 /* AccessibilityCheckCommand.h in Headers */,
D67F2ABF13F5F55A00A0BFF1 /* FrankLoader.h in Headers */,
+ D67F2B0613F5F6CD00A0BFF1 /* VisibleTouch.h in Headers */,
+ D67F2B3413F5F82700A0BFF1 /* LoadableCategory.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -701,6 +715,8 @@
D6C8BCC6137CD5E2000EF521 /* UIQueryScrollView.m in Sources */,
D67F2AAE13F5E7FA00A0BFF1 /* AccessibilityCheckCommand.m in Sources */,
D67F2AC013F5F55A00A0BFF1 /* FrankLoader.m in Sources */,
+ D67F2B0713F5F6CD00A0BFF1 /* VisibleTouch.m in Sources */,
+ D67F2B3A13F5F91700A0BFF1 /* UIView+MapKitWorkaround.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
34 LoadableCategory.h
@@ -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
View
17 UIView+MapKitWorkaround.m
@@ -0,0 +1,17 @@
+//
+// UIView+MapKitWorkaround.m
+// Frank
+//
+// Created by Pete Hodgson on 8/12/11.
+// Copyright 2011 ThoughtWorks. All rights reserved.
+//
+
+#import "LoadableCategory.h"
+
+MAKE_CATEGORIES_LOADABLE(UIView_MapKitWorkaround)
+
+@implementation UIView(MapKitWorkaround)
+- (id)_mapkit_hasPanoramaID {
+ return nil;
+}
+@end
Please sign in to comment.
Something went wrong with that request. Please try again.