Skip to content
This repository was archived by the owner on Sep 17, 2020. It is now read-only.
This repository was archived by the owner on Sep 17, 2020. It is now read-only.

CLLocationManagerDelegate methods must be declared public #1

@npvisual

Description

@npvisual

After marking CoreLocationMiddleware as a public final class, the compiler is complaining about the following :

Method 'locationManager(_:didChangeAuthorization:)' must be declared public because it matches a requirement in public protocol 'CLLocationManagerDelegate'

I am of the opinion that those methods should not be made public, because they are supposed to be internal to our middleware.

So we probably need to extract the compliance to CLLocationManagerDelegate to an non-public class and use that class as the delegate.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions