Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

Latest commit

 

History

History
70 lines (45 loc) · 1.46 KB

README.md

File metadata and controls

70 lines (45 loc) · 1.46 KB

SafeStuff

Version Platform

A super set of safe extensions to avoid the most common crashes in iOS apps.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Safe Extensions

The following UIKit elements are implementing this protocol that contains a safe text.

protocol SafeTextProtocol {
    var safeText: String { get }
}
  • UITextField
  • UILabel
  • UIButton

The following UIKit elements are implementing this protocol that contains a safe title.

protocol SafeTitleProtocol {
    var safeTitle: String { get }
}
  • UIBarButtonItem
  • UINavigationBar
  • UINavigationItem
  • UIViewController

Installation

SafeStuff is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SafeStuff'

Author

My name is Carlos Mejía, Software developer focused on iOS Development.

Thanks for reading up here! :)

[email protected]

https://www.instagram.com/carlosmejia083/

https://www.linkedin.com/in/mejiagarcia/

License

SafeStuff is available under the MIT license. See the LICENSE file for more info.