Pushing View Controllers
Your next goal is to push a new ProfileViewController when one of the view buttons is tapped. To achieve this goal, add the code below to CelebritiesViewController.m:
Because both view buttons point to the same action method, the tag property is used to tell which one was tapped. Note that you haven’t initialized the first User and secondUser objects yet, but for now they are set to nil, which is perfectly fine while you get the navigation controller working.
Test your changes by running your project in the simulator. ...