public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     // Perform any additional setup after loading the view, typically from a nib.
     ChangeColorButton.TouchUpInside += HandleTouchUpInsideWithStrongDelegate;
     selector = new ColorSelectedDelegate(this);
 }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad ();
            // Perform any additional setup after loading the view, typically from a nib.

            selector = new ColorSelectedDelegate (this);
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            // Perform any additional setup after loading the view, typically from a nib.

            ChangeButton.TouchUpInside += HandleTouchUpInsideWithStrongDelegate;   // Option 1: Change background color using strong delegate
            //ChangeButton.TouchUpInside += HandleTouchUpInsideWithWeakDelegate;   // Option 2: Change background color using weak delegate

            selector = new ColorSelectedDelegate(this); //Comment this line and line 21 in order to test it using strong delegate
        }
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     ChangeColorButton.TouchUpInside += HandleTouchUpInsideWithStrongDelegate;
     selector = new ColorSelectedDelegate(this);
 }