AppStoreStyleHorizontalScrollView
AppStoreStyleHorizontalScrollView copied to clipboard
miniMarginPxBetweenItems is get only property cannot assign
After I updated the pod to 1.5 and after that i am not able to use two properties miniMarginPxBetweenItems and miniAppearPxOfLastItem. What version I should use, i am currently working on swift 3.0
Didn't check the title, sorry.
Yes, after v1.4, the two properties are readonly. Instead, you should set miniMarginBetweenItems
and miniAppearWidthOfLastItem
of structure MarginSettings
. Now you can set different margins for different screen width, i.e. iPhone 4s portrait you can set marginSettings_320
, so as other screen widths named as "marginSettings_width
" pattern. There is also a default margin setting defaultMarginSettings
which would be used for if the specific screen setting is not set. Please check the code or my blog for more details.