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

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

License

Notifications You must be signed in to change notification settings

mejiagarcia/SafeStuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published