Reducer for computeStyle.
62 {
63
65
66 const View *view = data;
67
68 const Array *selectors = (Array *) stylesheet->
selectors;
69 for (size_t i = 0; i < selectors->count; i++) {
70
71 Selector *selector = $(selectors, objectAtIndex, i);
73
74 assert(selector->
style);
75
77
80
82
83 release(this);
84 release(that);
85 }
86
88 SDL_TriggerBreakpoint();
89 }
90
93 }
94 }
95
96 return accumulator;
97}
static String * description(const Object *self)
#define MVC_LogVerbose(fmt,...)
#define MVC_LogEnabled(priority)
static bool matchesView(const Selector *self, const View *view)
static ident attributeValue(const Style *self, const char *attr)
static void addSelector(Style *self, Selector *selector)
static void addAttributes(Style *self, const Dictionary *attributes)
Selectors are comprised of one or more SelectorSequences.
Stylesheets are comprised of Selectors and Styles.
Array * selectors
The Selectors, ordered by specificity.
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.