Changes

Jump to: navigation, search

A WatchKit Table Tutorial

12 bytes added, 21:00, 1 February 2016
m
Text replacement - "<google>BUY_WATCHKIT</google>" to "<htmlet>watchos2_upgrade</htmlet>"
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>
}
</pre>
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>
The method identifies the number of elements in the string array and uses that value to set the number of rows within the table while specifying the row type as MyRowController. The code then iterates through each row in the table setting image and label properties using the two arrays as the data sources for the content to be displayed.
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>

Navigation menu