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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -