cs193p – Project #3 Assignment #3 Task #2

By Phildar60 (Own work) [CC BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0) or GFDL (http://www.gnu.org/copyleft/fdl.html)], via Wikimedia Commons

Please note, this blog entry is from a previous course. You might want to check out the current one.

Rename the ViewController class you’ve been working on in Assignments 1 and 2 to be CalculatorViewController.

Rename the filename, by selecting the filename and clicking one additional time:

cs193p - Project #3 Assignment #3 Task #2 - Rename Filename
cs193p – Project #3 Assignment #3 Task #2 – Rename Filename


Inside the file change the class name:

class CalculatorViewController: UIViewController

Choose the new class name in the inspector of the view controller in story board:

cs193p - Project #3 Assignment #3 Task #2 - Choose New Class
cs193p – Project #3 Assignment #3 Task #2 – Choose New Class

The complete code for the task #2 is available on GitHub.

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!

Leave a Reply

Your email address will not be published. Required fields are marked *