SSToolKit: A Boatload of Useful Components

URL:  https://github.com/samsoffes/sstoolkit

Quality:  Production


Every now and again you run across a toolkit that’s a real bonanza in useful components; SSTooKit is one of those.

Written by Sam Soffes and published on GitHub, SSToolKit offers 3 main collections of components and tools that will be useful to almost all iOS developers, these are:

View Classes, including:

SSCollectionView which is a hybrid of UITableView and MacOSX’s NSCollectionView.  Very useful for simple grid view collections under iOS ,and similar in basic functionality to Alan Quartermain’s (a/k/aJim Dovey’s) AQGridView that we recently covered

SSGradientView – a simple class to apply gradients (and insets/borders) to views

SSHUDView – providers a very simple transparent overlay on the screen that can have an progress spinner and a title; like a stripped down version of MBProgressHUD

SSLabel – UILabel subclass that lets you vertically align the label text

SSLineView – Allows you to create divider lines in your UIs; can also be configured to have insets (so they look embossed).  This is something that is curiously missing from the palette under iOS but has been around forever in the Mac OS X world.

SSLoadingView – this is a simple little class useful when you need to show activity either in a window or in a subview (perhaps a UITableView cell) to show the user something is loading in the background:  it simpy shows the activity spinner and the settable title to tell the user what’s happening.

SSPieProgressView – this is a ver Mac-ish progress indicator that looks like a pie whose segments/slices are being filled in.  This is very useful for showing the progress of the loading of images and other assets where the regular activity spinner is just too generic/non-specific.

SSTextField – this is a small modification to the standard UITextField that adds edge insets

SSWebView = This is a UIView class that acts as a facades for and manages a UIWebView instance and allows you to add things like shadows, bouncing, and even a console log to the stock iOS UIWebVew


View Controllers:

SSCollectionViewController – this provides a wrapper around the SSCollectionView and allow you to  to create and manage these collections easily

SSPickerViewController – this wrapper class allows you to treat a UITableView much like you would a UIPickerView; useful in places where you have a simple text-based list and you don’t want the complication of a UIPickerView and all its required delegates.

Macros & Categories:

Lastly, SSToolKit also has some useful drawing macros and a lot of really useful categories on everything from NSDictionary ( for adding web-encoded strings to dicts, for example) and NSArray (get the first or random entries, and even shuffling an array) to NSDate where some really useful additions include getting differential time returned in words (something that Ruby does really well and is strangely missing from any of Apples time utilities…).

All of this is offered under a simple free-to-use-for-any-purpose license, requiring only that the original license notice be included in copies of the software.

The only suggestion we could make on this is that Mr Soffes offer users the ability to use a more widely recognized license such as Apache, BSD, or MIT as well, just to ensure that no lawyers have to get involved if people decide to use SSToolKit in a high profile commercial project.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值