first introduce the foreigner's article: "How toCreate a expandable Table View in IOS" This is a foreigner with swift implementationof,the corresponding Foreigner GitHub project Source: Https://github.com/appcoda/expandable-table-viewSmall Series after learning the expandable Table view of the foreigner and then using OBJECTIVE-C to achieve the same effect, and a good upgrade and encapsulation. the GitHub project of small series Source: Https://github.com/HeYang123456789/ExpandableTableViewlater, the foreigner's swift will be upgraded and packaged for optimization. Effect:
Simple copy and paste the configuration of the plist file UITableViewCell content: Learning Knowledge Point Summary: 1, about the configuration UITableViewCell Textlabel related properties: and 2, Swift's Mark Note: 3, slider using the agent, The proxy methods that are invoked are noted:
4, for the same configuration, it is advisable to consider a wide range of applicability, such as Uiswitch's value type is bool, but for other cells can use this value, so the value is set to String type:
How to create an extensible table view for iOS Learning and extension optimization (pending update)