Usually you wouldn't use these components in your everyday website. At the top, in the section Custom Class, you can see the name of the view controller's class, TSPViewController. Remember that Foundation classes are prefixed with NS. This is the start of the interface of the TSPAppDelegate class as denoted by the @interface directive. A fine collection of websites and themes built with the UIkit framework. The method's implementation is pretty simple. Open the view controller's header file (TPSViewController.h) and add the following method declaration somewhere in the view controller's interface block. It has two properties named dataSource and delegate. The UIView class is an important component of the UIKit framework, because many classes inherit from it—either directly or indirectly. Did you notice that the Label and Button objects are slightly indented compared to the View object? The XCTest framework is related to unit testing, which I won't cover in this series. The most interesting part of the interface of the TSPAppDelegate class is the UIApplicationDelegate protocol. Don't hesitate to leave a comment if you have question about this article. This indicates that the Label and Button objects are subviews of the View object. Adobe Photoshop, Illustrator and InDesign. In the ZIP file you will find all UIkit CSS, JavaScript and font files ready to use for your project. Wait a minute. Like the MVC pattern, delegation is common in object oriented programming. Both the label (UILabel) and the button (UIButton) inherit from UIView. The protocol defines dozens of methods and I encourage you to explore a few of them to get an idea of the protocol's capabilities. Browse the Object Library and drag a label and a button to the view in the workspace. The MVC pattern is one of the most widespread patterns in object oriented programming. Collaborate. The table view outsources this responsibility to a delegate object. The term outlet is a fancy word for a property, which you can set in the storyboard. The Products folder contains the application—or applications—created by the project after compilation of the source code. The Single View Application template contains the basic building blocks of an iOS application and is therefore a good place to start our journey. The delegate pattern is used extensively in Cocoa and Cocoa Touch. Where can I find the class of the view controller in the storyboard? You may remember the Core Graphics framework from earlier in this series. Because the controller knows about both model and view, it's often the least reusable piece of an application. Even though we can change the text of the label in the storyboard, let's do this in the view controller to illustrate that the view controller has access to the label and button in the storyboard.