Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ‘¨β€πŸ”¬ Create geohash grid #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified Classes/ARC/GHArea.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/GHArea.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/GHNeighbors.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/GHNeighbors.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/GHRange.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/GHRange.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/GeoHash.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/GeoHash.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/cgeohash.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/ARC/cgeohash.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GHArea.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GHArea.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GHNeighbors.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GHNeighbors.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GHRange.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GHRange.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GeoHash.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/GeoHash.m
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/cgeohash.h
100644 β†’ 100755
Empty file.
Empty file modified Classes/NonARC/cgeohash.m
100644 β†’ 100755
Empty file.
Empty file modified LICENSE
100644 β†’ 100755
Empty file.
35 changes: 33 additions & 2 deletions Projects/GeoHashExample/GeoHashExample.xcodeproj/project.pbxproj
100644 β†’ 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
objects = {

/* Begin PBXBuildFile section */
834D760E1E032654007429D7 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 834D760D1E032654007429D7 /* MapKit.framework */; };
834D76101E032A8A007429D7 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 834D760F1E032A8A007429D7 /* CoreLocation.framework */; };
834D761E1E048025007429D7 /* GeoHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 834D761B1E048025007429D7 /* GeoHelper.m */; };
834D761F1E048025007429D7 /* NSBag.m in Sources */ = {isa = PBXBuildFile; fileRef = 834D761D1E048025007429D7 /* NSBag.m */; };
908614F014AB34A400CA2B04 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908614EF14AB34A400CA2B04 /* UIKit.framework */; };
908614F214AB34A400CA2B04 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908614F114AB34A400CA2B04 /* Foundation.framework */; };
908614F414AB34A400CA2B04 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908614F314AB34A400CA2B04 /* CoreGraphics.framework */; };
Expand Down Expand Up @@ -39,6 +43,12 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
834D760D1E032654007429D7 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; };
834D760F1E032A8A007429D7 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
834D761A1E048025007429D7 /* GeoHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GeoHelper.h; sourceTree = "<group>"; };
834D761B1E048025007429D7 /* GeoHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeoHelper.m; sourceTree = "<group>"; };
834D761C1E048025007429D7 /* NSBag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSBag.h; sourceTree = "<group>"; };
834D761D1E048025007429D7 /* NSBag.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSBag.m; sourceTree = "<group>"; };
908614EB14AB34A400CA2B04 /* GeoHashExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GeoHashExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
908614EF14AB34A400CA2B04 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
908614F114AB34A400CA2B04 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -75,6 +85,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
834D76101E032A8A007429D7 /* CoreLocation.framework in Frameworks */,
834D760E1E032654007429D7 /* MapKit.framework in Frameworks */,
908614F014AB34A400CA2B04 /* UIKit.framework in Frameworks */,
908614F214AB34A400CA2B04 /* Foundation.framework in Frameworks */,
908614F414AB34A400CA2B04 /* CoreGraphics.framework in Frameworks */,
Expand Down Expand Up @@ -117,6 +129,8 @@
908614EE14AB34A400CA2B04 /* Frameworks */ = {
isa = PBXGroup;
children = (
834D760F1E032A8A007429D7 /* CoreLocation.framework */,
834D760D1E032654007429D7 /* MapKit.framework */,
908614EF14AB34A400CA2B04 /* UIKit.framework */,
908614F114AB34A400CA2B04 /* Foundation.framework */,
908614F314AB34A400CA2B04 /* CoreGraphics.framework */,
Expand All @@ -128,6 +142,10 @@
908614F514AB34A400CA2B04 /* GeoHashExample */ = {
isa = PBXGroup;
children = (
834D761A1E048025007429D7 /* GeoHelper.h */,
834D761B1E048025007429D7 /* GeoHelper.m */,
834D761C1E048025007429D7 /* NSBag.h */,
834D761D1E048025007429D7 /* NSBag.m */,
A7B48EB71A9206CF00F29AA5 /* objc-geohash (ARC) */,
908614FE14AB34A400CA2B04 /* GeoHashExampleAppDelegate.h */,
908614FF14AB34A400CA2B04 /* GeoHashExampleAppDelegate.m */,
Expand Down Expand Up @@ -234,6 +252,11 @@
attributes = {
LastUpgradeCheck = 0430;
ORGANIZATIONNAME = "KATO Lyo";
TargetAttributes = {
908614EA14AB34A400CA2B04 = {
DevelopmentTeam = WMDZ2CQA8K;
};
};
};
buildConfigurationList = 908614E514AB34A400CA2B04 /* Build configuration list for PBXProject "GeoHashExample" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -297,9 +320,11 @@
A7B48EC51A9206CF00F29AA5 /* GHNeighbors.m in Sources */,
908614FC14AB34A400CA2B04 /* main.m in Sources */,
9086150014AB34A400CA2B04 /* GeoHashExampleAppDelegate.m in Sources */,
834D761E1E048025007429D7 /* GeoHelper.m in Sources */,
A7B48EC21A9206CF00F29AA5 /* cgeohash.m in Sources */,
9086150314AB34A400CA2B04 /* GeoHashExampleViewController.m in Sources */,
A7B48EC31A9206CF00F29AA5 /* GeoHash.m in Sources */,
834D761F1E048025007429D7 /* NSBag.m in Sources */,
A7B48EC41A9206CF00F29AA5 /* GHArea.m in Sources */,
A7B48EC61A9206CF00F29AA5 /* GHRange.m in Sources */,
);
Expand Down Expand Up @@ -372,7 +397,7 @@
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
SDKROOT = iphoneos;
};
name = Debug;
Expand All @@ -391,7 +416,7 @@
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
Expand All @@ -402,9 +427,12 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
DEVELOPMENT_TEAM = WMDZ2CQA8K;
ENABLE_BITCODE = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "GeoHashExample/GeoHashExample-Prefix.pch";
INFOPLIST_FILE = "GeoHashExample/GeoHashExample-Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = com.github.lyokato.geohash.GeoHashExample11;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand All @@ -414,9 +442,12 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
DEVELOPMENT_TEAM = WMDZ2CQA8K;
ENABLE_BITCODE = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "GeoHashExample/GeoHashExample-Prefix.pch";
INFOPLIST_FILE = "GeoHashExample/GeoHashExample-Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = com.github.lyokato.geohash.GeoHashExample11;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand Down
Empty file.
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "GeoHashExample/GeoHelper.m"
timestampString = "503611783.577649"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "84"
endingLineNumber = "84"
landmarkName = "+hashGridForMapRect:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "GeoHashExample/GeoHelper.m"
timestampString = "503611927.808703"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "81"
endingLineNumber = "81"
landmarkName = "+hashGridForMapRect:"
landmarkType = "7">
<Locations>
<Location
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "__32+[GeoHelper hashGridForMapRect:]_block_invoke"
moduleName = "GeoHashExample"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/johndpope/Downloads/github.com/objc-geohash-master/Projects/GeoHashExample/GeoHashExample/GeoHelper.m"
timestampString = "503611929.351646"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "83"
endingLineNumber = "83"
offsetFromSymbolStart = "173">
</Location>
<Location
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "__destroy_helper_block_.39"
moduleName = "GeoHashExample"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/johndpope/Downloads/github.com/objc-geohash-master/Projects/GeoHashExample/GeoHashExample/GeoHelper.m"
timestampString = "503611929.360142"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "83"
endingLineNumber = "83"
offsetFromSymbolStart = "39">
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "908614EA14AB34A400CA2B04"
BuildableName = "GeoHashExample.app"
BlueprintName = "GeoHashExample"
ReferencedContainer = "container:GeoHashExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "908614EA14AB34A400CA2B04"
BuildableName = "GeoHashExample.app"
BlueprintName = "GeoHashExample"
ReferencedContainer = "container:GeoHashExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "908614EA14AB34A400CA2B04"
BuildableName = "GeoHashExample.app"
BlueprintName = "GeoHashExample"
ReferencedContainer = "container:GeoHashExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "908614EA14AB34A400CA2B04"
BuildableName = "GeoHashExample.app"
BlueprintName = "GeoHashExample"
ReferencedContainer = "container:GeoHashExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9086150B14AB34A400CA2B04"
BuildableName = "GeoHashExampleTests.octest"
BlueprintName = "GeoHashExampleTests"
ReferencedContainer = "container:GeoHashExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9086150B14AB34A400CA2B04"
BuildableName = "GeoHashExampleTests.octest"
BlueprintName = "GeoHashExampleTests"
ReferencedContainer = "container:GeoHashExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9086150B14AB34A400CA2B04"
BuildableName = "GeoHashExampleTests.octest"
BlueprintName = "GeoHashExampleTests"
ReferencedContainer = "container:GeoHashExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?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>SchemeUserState</key>
<dict>
<key>GeoHashExample.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>GeoHashExampleTests.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>908614EA14AB34A400CA2B04</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>9086150B14AB34A400CA2B04</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Empty file.
Empty file.
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GHArea.h
100644 β†’ 100755
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GHArea.m
100644 β†’ 100755
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GHNeighbors.h
100644 β†’ 100755
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GHNeighbors.m
100644 β†’ 100755
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GHRange.h
100644 β†’ 100755
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GHRange.m
100644 β†’ 100755
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GeoHash.h
100644 β†’ 100755
Empty file.
Empty file modified Projects/GeoHashExample/GeoHashExample/GeoHash.m
100644 β†’ 100755
Empty file.
Loading