Closed AzzouQ closed 3 years ago
The 3 key supported in .plist are respectively: 'iconImageSystem' for 'iconImage' 'leftImageSystem' for 'leftImage' (PSSliderCell) 'rightImageSystem' for 'rightImage' (PSSliderCell)
Did some cleanup, squashed commits, and merged in 827f413. Thanks heaps for contributing!
I had to make a few changes so this code would compile and not blow up before iOS 13, and additionally I did the cleanup we discussed. I also slipped in another param to specify a tintColor.
This PR will allow user to set a SFSymbols as property for specifier directly from .plist using
I'm not sure about the
imageSystemWeight
orimageSystemScale
implementation, as it's very verbose, but as I'm not jailbroken atm, it's hard to test things out. It need to be tested for the same reason 😓 Should work tho. Also I wasn't sure about the syntax herespecifier.properties[@"iconImage"] = [self imageSystemFromDict:specifier.properties[@"iconImageSystem"];
so I left another one in comment, feel free to pick the one you want (or the one who works).