dempseyatgithub/BuildSettingExtractor

Consider reworking preferences pane including using NSGridView

Closed this issue · 2 comments

Many of the current issues for the project are additions of various user preferences.

So, adding the preferences really needs a rethinking of the preference pane in general. Also with more complex choices, using something like NSGridView might be very useful.

This would require bumping the deployment target to 10.12 from 10.9.

It looks like we'd need to go to 10.14 to use merged NSGridView cells in Interface Builder. Alternatives would be to do NSGridView programmatically or not use NSGridView.

To support a sample of build setting output, will want to reuse the existing -stringRepresentationOfBuildSettings: method. It currently relies on internal boolean settings. Will need to parameterized those so the method can be called without relying on internal state.

The exposed method might be called something like -sampleOutputStringForBuildSettings:(NSDictionary *)buildSettings includeInfoComments:(BOOL)includeInfoComments alignSettingValues:(BOOL)alignSettingValues

Do we go through the process of reading from InfoSource? Or just have a custom sample info source with the subset of info comments that will be in sample output?

It is less clear whether it makes sense to put the structure example code in BuildSettingExtractor, since they generate two different formats (a tree of Items as opposed to writing the correct folder/files to disk.)