Figure 9-19 [WCTimeLineViewController tableView:cellForRowAtIndexPath:]
Look through this method, you will find 3 red squares in figure 9-17 are the core of this
method, other parts are just setting the background, theme and color of the cell. Let’s take a
look at these 3 red squares closely, as shown in figure 9-20.
Figure 9-20 A close look at the 3 red squares
From left to right, the methods are genUploadFailCell:indexPath,
genNormalCell:indexPath: and genRedHeartCell:indexPath:. Which cell is for Sight? I guess it’s
“NormalCell”, let’s take a look at the implementation of genNormalCell:indexPath:, as shown in
figure 9-21.