Today I'll show you how to use a custom cell in a table application and a simple action to select a cell.
Objective of this article
This article is based on the above, the application is extended to introduce the following content:
Customize cell layout display in table application;
Select a cell and open the user link address in Safari;
A. Custom cell walkthrough
First we review the previous article, in Walkthrough (2), when we define the data structure, we define a property named: favorite, to indicate our preference for the microblog account. In this walkthrough, we will display the preference in the form of a pentagram by customizing the cell, and after the walkthrough is finished, you'll see the following run results:
Before we start, we need to prepare a few pictures of the stars, please click here myfocusdemo4images.zip download.
Get ready, let's get started: D
1. Open my focus project;
2. Drag and drop the three picture files after downloading and unzip to the "Images" group and let go, pop-up the following Figure dialog box:
After confirming that the Copy items into destination groups folder (if needed) check box is selected, click the Finish button;