escoz / QuickDialog

QuickDialog - Quick and easy dialog screens for iOS
http://escoz.com/open-source/quickdialog
Other
3.07k stars 637 forks source link

Custom QElement #693

Open GuyFran opened 10 years ago

GuyFran commented 10 years ago

Hi. I would like to create a element for which I could set a picture and then a uilabel. I didn't see such element in the demo file.

Is it possible to use Qelement with a custom view ?

Thx for the help

kepeifeng commented 9 years ago

just keep in mind that QElements are just data. You can surly create your own QElement subclass and return appropriate UITableViewCell by overriding

-(UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView controller:(QuickDialogController *)controller

BTW, I usually choose to subclass QRootElement, its more convenient.