MotionInMotion Episode 29 - Table Cells in MotionKit
Table Cells in MotionKit - MotionInMotion
MotionKitを使ってセルのAutoLayoutを整える
- motion-kit/motion-kit · GitHub
- class EntryCellLayout < MK::Layout
- constraints do
- size.equals(:superview)
- constraints do
- ListController
- cell = table_view.dequeueReusableCellWithIdentifier(EntryCell::ID) || begin
- c = EntryCell.alloc.initWithStyle(UITableViewCellStyleDefault, reuseIdentifier: EntryCell::ID)
- EntryCellLayout.new(root: c).build.view
- cell = table_view.dequeueReusableCellWithIdentifier(EntryCell::ID) || begin