I am trying to add a search bar as the header to a custom flow layout class.
I know how to add it in storyboard if the flow layout is not custom by simply checking the section header box, but as soon as i use a custom class, that option is no longer available.
Mostly I am having trouble conceptualizing layout attributes and how to implement them. Also I'm not sure if I should be putting methods in my datasource, view controller, or flow layout subclass, so please be specific about those.
The tutorial on Ray Wenderlich only shows the storyboard method.