Comment to chapter 10
p. 97 “not forcing you to declare upfront sub presenters in instance variable” – variables should be in the plural form
p. 99 Code snippet “add: button2 withConstraints: [ :constraints | constraints width: 30; padding: 5];” – constraints width: 30; has not any effect.
p. 100 “We define two class method method returning different layouts.” – doubling of the word.
p. 102 “Alternatively, we can create ‘TBAndListV‘ class as a subclass of ‘SpButtonAndListH ‘ and only change the ‘defaultLayout‘ method as below. It specifies that the reused ‘buttons‘ widget should use the ‘buttonCol‘ layout method, and hence results in the window shown in Figure *@fig_SuperWidget@*.” – A wrong name TBAndListV should be TButtonAndListV, or may be SpButtonAndListV would be better. Reference to the figure???
p. 103
- Code snippets: different names TButtonAndListV2 and SpButtonAndListV2 for the same class.
- “It is possible to change the layout of a presenter dynamically for example from the inspector as shown in 10-6.” – “figure” missing, should be “as shown in figure 10-6.”
p. 105 “It can be a percentage (e.g. 30 percent) SpPanedLayout newHorizontal position: 80 percent;» – It looks a little bit strange.
p. 106 Overlay has not any explanation. Conclusion is missing.