Skip to content

Commit

Permalink
Review Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Pageler committed Jul 6, 2018
1 parent bb1681e commit 337b50f
Show file tree
Hide file tree
Showing 39 changed files with 283 additions and 265 deletions.
179 changes: 178 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,179 @@
###OSX###

GoogleMapsTileOverlay/GoogleMapsTileOverlay\.xcodeproj/xcuserdata/sandrowehrhahn\.xcuserdatad/xcdebugger/Breakpoints_v2\.xcbkptlist
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


###Xcode###

build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.xcuserstate


###Swift###

# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
.build/

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output


###Objective-C###

# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ class ViewController: UIViewController {

mapView.delegate = self
addCustomOverlay()

let annotation = SampleAnnotation(coordinate: CLLocationCoordinate2D(latitude: 53.141351, longitude: 8.229935),
title: "the peak lab.",
subtitle: "Office")
mapView.addAnnotation(annotation)
}

private func addCustomOverlay() {
Expand All @@ -44,4 +49,18 @@ extension ViewController: MKMapViewDelegate {
}
return MKOverlayRenderer(overlay: overlay)
}

}

class SampleAnnotation: NSObject, MKAnnotation {

public var coordinate: CLLocationCoordinate2D
public var title: String?
public var subtitle: String?

public init(coordinate: CLLocationCoordinate2D, title: String, subtitle: String) {
self.coordinate = coordinate
self.title = title
self.subtitle = subtitle
}
}
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C3E508420ECC3F300676BF7"
BuildableName = "GoogleMapsTileOverlay_iOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-iOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -44,7 +44,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C3E508420ECC3F300676BF7"
BuildableName = "GoogleMapsTileOverlay_iOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-iOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand All @@ -66,7 +66,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C3E508420ECC3F300676BF7"
BuildableName = "GoogleMapsTileOverlay_iOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-iOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand All @@ -84,7 +84,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C3E508420ECC3F300676BF7"
BuildableName = "GoogleMapsTileOverlay_iOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-iOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C2F324620EF6AC900FAB139"
BuildableName = "GoogleMapsTileOverlay_tvOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-tvOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -43,7 +43,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C2F324620EF6AC900FAB139"
BuildableName = "GoogleMapsTileOverlay_tvOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-tvOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand All @@ -65,7 +65,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C2F324620EF6AC900FAB139"
BuildableName = "GoogleMapsTileOverlay_tvOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-tvOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand All @@ -83,7 +83,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5C2F324620EF6AC900FAB139"
BuildableName = "GoogleMapsTileOverlay_tvOS.framework"
BuildableName = "GoogleMapsTileOverlay.framework"
BlueprintName = "GoogleMapsTileOverlay-tvOS"
ReferencedContainer = "container:GoogleMapsTileOverlay.xcodeproj">
</BuildableReference>
Expand Down
Binary file not shown.
Loading

0 comments on commit 337b50f

Please sign in to comment.