On 08 Jun 2014, at 15:21, webwarrior <r...@webwarrior.ws> wrote: > I want to make a layout based on TableLayout.
Short answer: it’s not really supported yet. If you want to give it a try, it’s really welcome ;) > However, I noticed that SpecInterpreter has some hardcoded behaviour for > ContainerModel in computeSpecFrom:selector: method. Is this behaviour really > important, and if yes, how can I replicate it? It’s really needed (even thought I do not remember why exactly now (but I think it’s to prevent some infinite loops)). The solution as I was thinking about it would be to have a different keyword per layout. Today, you start your layout with `SpecLayout composed`, where it could be `SpecLayout table`. Or it could be `SpecTableLayout composed`. The main issue you will have is that Spec does not directly rely on Morphic layouts. So you will have to implement some layouting algorithm by yourself. Hope it helps, Ben