I am now writing some codes about CLLocationManager.
When I use the CLLocationManagerDelegate Class, it seems there are two method to inherit it,
the first one is defining the CllocationManager in Appdelegate.swift, and inherit the CLLocationManagerDelegate Class as following:
class AppDelegate: CLLocationManagerDelegate
the second one is defining the CllocationManager in ViewController.swift, and and inherit the CLLocationManagerDelegate Class as following:
class ViewController: UIViewController, CLLocationManagerDelegate
What different between the two methods above?
For checking entering the region (of beacon) or not with CollocationManager, they are same?