SSToolkit 2.0
source link: https://soffes.blog/sstoolkit-2-0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
SSToolkit 2.0 — Hi, I’m Sam
SSToolkit 2.0 — Hi, I’m Sam
Hi, I’m Sam
This is my blog. I also have a website thing.
SSToolkit 2.0
Posted on March 13, 2014
Today, I released SSToolkit 2.0. The first commit was September 9, 2009, but there are classes in SSToolkit that even predate that. Some of the code in there I wrote before the App Store even came out. This junk is old.
After some major frustration last year with CocoaPods, I decided to remove support for CocoaPods from SSToolkit. The maintainers of CocoaPods couldn’t write a podspec that actually worked for SSToolkit and I was tired of fighting with it. I really like CocoaPods, but there have been plenty of bumps along the way.
I decided to break SSToolkit into several libraries. This came with the support from the CocoaPods folks, so I got going about 8 months ago.
Today, I woke up to someone and the CocoaPods creator going back and forth about SSToolkit and what needed to be done. I decided to just release SSToolkit version 2.0 which replaces the all of the previous stuff.
This doesn’t come lightly. SSToolkit is my most popular piece of open source software. Currently there are 2,258 stars and 433 forks. It’s among the top Objective-C libraries on GitHub. I know a ton of people use it and I realize this will break a lot of things.
Hopefully it isn’t too painful to move to all of the new libraries. Honestly, I don’t think people should actually use SSToolkit. Just using parts of it you need is a much better approach.
Here’s everything that’s included in SSToolkit 2.0.0:
- SAMAddressBar — Clone of Safari's address bar from iOS 6.
- SAMBadgeView — Simple badge view.
- SAMGradientView — Easy gradients in UIKit.
- SAMHUDView — Kinda okay HUD.
- SAMLabel — UILabel with vertical alignment and text insets.
- SAMLoadingView — Simple loading view.
- SAMCircleProgressView — Determinate, circular progress view.
- SAMRateLimit — Simple utility for only executing code every so often.
- SAMTextField — Handy UITextField additions like insetting text.
- SAMTextView — Add a placeholder to UITextView.
- SAMWebView — Push UIWebView to its limits.
- SAMCategories — A collection of useful Foundation and UIKit categories.
Several of these libraries have had big improvements since their abstraction from SSToolkit.
Onward.
iOS Resources
Posted on February 2, 2014
If you’re new to iOS or are just learning, it can be tough to move forward when you’re stuck or discover what you should learn next. This is a list (in no particular order) of things that should help.
Dash is a great tool for documentation. Apple’s built-in documentation isn’t bad, but Dash is great. It gives you tabs and much better searching. It can do documentation for tons of other stuff too.
I set the keyboard shortcut to launch Dash to the default one to launch Xcode’s documentation in Dash’s preferences and then change Xcode’s to something I’ll never press in the Key Bindings preference area. Best thing I’ve done in awhile. My friend Caleb Davenport got me hooked on Dash.
© 2006-2022 Sam Soffes
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK