Version 2.0
soffes opened this issue · comments
For version 2.0 of SSToolkit, I am going to remove everything. It will simply be a podspec with dependencies for all of the libraries abstracted from SSToolkit. You can still use "SSToolkit" if you want the grab bag of everything. It will probably be better to just depend on the pieces that you actually need.
Current components:
- Address Bar — SAMAddressBar
- Animated Image View — Discontinued because there are way better approaches
- Badge View — SAMBadgeView
- Bordered View — SAMGradientView
- Button — Discontinued because it's way hacky
- Collection View — Discontinued because you should use UICollectionView
- Drawing Utilities — Mostly moved to SAMGradientView
- Gradient View — SAMGradientView
- HUD View — SAMHUDView
- Label — SAMLabel
- Line View — Discontinued because this is a really silly class
- Loading View — SAMLoadingView
- Picker View Controller — Discontinued. Haven't used this in years.
- Pie Progress View — SAMCircleProgressView
- Rate Limit — SAMRateLimit
- Rating Picker — Discontinued since it was a copy of the pre iOS 7 version and I don't know anyone that ever used it.
- Text Field — SAMTextField
- Text View — SAMTextView
- Web View — SAMWebView
- Foundation Categories — SAMCategories
- UIKit Categories — SAMCategories
Things to possibly bring back:
- Switch
- Segmented Control
I like this approach a lot! (:
It would be great if you comment about discontinued components, though. Some of them are really obvious (like Collection View), but some aren't. I'm talking about Drawing Utilities mainly. Have you chosen to discontinue it because of namespace issues?
Most of drawing utilities is silly CGRect stuff. The stuff to draw rounded rects can be done with UIBezierPath
. The only cool things in there are included in SAMGradientView.
Overkill in my opinion. Unless you plan on seriously expanding each of the components to rival other similar projects, I think it's better to just keep them together. That being said, as long as every component is kept up to date the SSToolkit podspec, it doesn't really matter haha.
I really like this new approach. For example I usually only use a couple of controls (gradient, edittext). With that I can use only this and not import all the toolkit. And if anyone want all the toolkit they can have it too.
;)
Closed in c0b3154