Skip to content

In this demo This below class defines us the dynamic height of TableView usually we used to assign CGFrame(x:0,y:0, leading:0, trailing:0) and we used to use tableView work only in one vc but sometimes we need to work with many UIKit Tools (View,Button, labels etc..) outside the tableView so at that time depend on the content of cell inside th t…

Notifications You must be signed in to change notification settings

ShaikBaji1506/DynamicTableSizeLayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

DynamicTableSizeLayout

In this demo we are going to see how the tableView Height changes according to the contents used. ContentSizedTableView Class defines us the dynamic height of TableView usually we used to assign x,y leading, trailing constriants. using this class your table view size gets dynamic height based on the content. Kindly assign the Class of tableView to ContentSizedTableView. Kindly check the constraints of the bottom view <= 0 for bottom layOut. Kindly go to sizeInspector and from there change Intrinsic Size to from default to Placeholder.

About

In this demo This below class defines us the dynamic height of TableView usually we used to assign CGFrame(x:0,y:0, leading:0, trailing:0) and we used to use tableView work only in one vc but sometimes we need to work with many UIKit Tools (View,Button, labels etc..) outside the tableView so at that time depend on the content of cell inside th t…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages