in file Pizza pizza Pizza pizzaWithBlock PizzaBuilder builder builder

1
2
3
4
5
6
// in h. file
Pizza *pizza = [Pizza pizzaWithBlock:^(PizzaBuilder *builder]) {
builder.size = 12;
builder.pepperoni = YES;
builder.mushrooms = YES;
}];