swift - UITableViewCell function -


i trying create simple wallpaper app on swift uses cells navigate user each image having hard time uitableviewcell function. expected return uitableviewcell function?

there 3 init methods of uitableviewcell. 1 takes uitableviewcellstyle , reuseidentifier string , returns uitableviewcell. takes nscoder , returns either nil or uitableviewcell. , third, uiview, takes cgrect frame. , returns uitableviewcell.

example:

let cell: uitableviewcell = uitableviewcell(style: uitableviewcellstyle.subtitle, reuseidentifier:nil) 

so that's answer, suspect wanting ask other questions this.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -