Added parameters to SwiftForm constructor and added list style option to renderForm function.