View Single Post
I'm trying to wrap my head around the OUIInspector code and can’t seem to get what I need going. Starting off simple I want to change the background color of a view.

When I init the Inspector I pass it a theView I want to Change. The View has the protocol defined in it and functions for it implemented.

When I call up the Inspector with the Color Slice I only see the DetailSlice Navigation swatch, which does nothing when I click it. I'm not 100% sure where the other colors are supposed to come from?

Also Looking at the isAppropriate functions, it seems like my view I pass in does not seem to be an appropriate object.

How does the Slice get its List of Initial Colors?

If I want to Change the Color of more than one Object and want them to each have their own ColorInspectorSlice how do I differentiate the two slices to act upon their respective objects?

Any Suggestions?

Thanks!