Hi i am a bit lost with what I am trying to do. I can easily switch the color of a view controller by making a property of the view itself and then using something like:
@property (strong, nonatomic) IBOutlet UIView *viewController;
self.viewController.backgroundColor = [UIColor redColor]; //first color
self.viewController.backgroundColor = [UIColor whiteColor]; //second color
Now lets say that I wanted a particular view to repeatedly change back and forth between 2 colors every second. How could I do this?
Thanks in Advance