mapbox / MapboxStatic.swift

Static map snapshots with overlays in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
https://www.mapbox.com/api-documentation/?language=Swift#static
Other
188 stars 31 forks source link

Warning about redundant modifier in Xcode 10.2 #90

Closed 1ec5 closed 5 years ago

1ec5 commented 5 years ago

The following compiler warning appears in MapboxStatic.swift when integrated into a Swift 4.2 application using CocoaPods 1.6.1 and built in Xcode 10.2:

/path/to/Pods/MapboxStatic.swift/MapboxStatic/Color.swift:32:5: warning: 'internal' modifier is redundant for property declared in an internal extension
    internal var alphaComponent: CGFloat {
    ^~~~~~~~~

/cc @frederoni @captainbarbosa