|8,200||lines of code|
A class to stub network requests easily:
Dip is a Swift Dependency Injection Container. It provides reusable functionality for managing dependencies of your types and will help you to wire up different parts of your app.
Reusable is a Swift Mixin to easily deal with your reusable UITableViewCell and UICollectionViewCell classes.
Simply mark your
UICollectionViewCell sublcasses as
conforming to either
NibReusable and you'll be able to
manipulate them way easier, and without worrying with String-type reuseIdentifiers
ever again, and instead use them in a type-safe manner!
Reusable also support marking any arbitrary
UIView subclass as
NibLoadable so that
you can then call
loadFromNib() on the custom view class easily without adding any code.
For more info, see my blog post about this technique.
This pod contains some additional nodes and filters for Stencil. These additional nodes & filters are mainly dedicated for writing Stencil templates generating Swift code.
This class allows you to use a `UILabel` with `NSAttributedStrings`, in order to display styled text with mixed style (mixed fonts, color, size, ...)
in a unique label.
It also provides a
NSAttributedString category with a lot of commodity methods
to change its various style & fonts, and some easy to use parsers to build
NSAttributedStrings (containing various/mixed styles) very easily.
This pod contains categories on
NSAttributedString to add a lot of very useful
convenience methods to manipulate attributed strings.
The includes convenience methods to: * set attributes on a given range * get attributes at a given index
Convenience methods are available for a lot of common attributes, including: * Fonts * Text Foreground and Background Colors * Text Style (bold, italics, underline) * Links (URLs) * Baseline offset, subscript, superscript * Text alignment, linebreak mode, character spacing * Paragraph Style (text indent, linespacing, …) * etc.
A collection of Swift tools to generate Swift code constants (enums or static lets) for: * asset catalogs, * colors, * fonts * localized strings, * storyboards, * … and more
OHPDFImage will open PDF files and make it easy to access each page of the PDF as a vector image, then render it as an UIImage of any size.
This will allow you to use PDF files as vector images in your applications, and ensure smooth resizing at any size.
UIActionSheet subclass that uses blocks to handle the code to execute after the user tapped a button.
No need to implement a delegate method anymore, and this makes it much more easier to manage especially when you use multiple ActionSheets in the same class.
This class also allows you to handle ActionSheets with a timeout (it simulates a tap on the button you specify after a given number of seconds)
AlertView helper that uses blocks to handle its callback.
Category to add some resizing methods to the UIImage class, to resize it to a given CGRect — or fit in a CGRect keeping aspect ratio.
This class allows you to automate the internationalisation (i18n) of your interface (XIB files) without any additional code in your application.
No more using multiple XIBs for various locales or having outlets just to translate the text of a label!
Simply use the keys of your
Localizable.strings in the text of any element
in your XIB (title of an
UIButton, text of a
UILabel, …), and it will be
automatically translated on the fly at runtime! No code needed!