Skip to content

cyrkus/SVNiOSBootstraper

Repository files navigation

Carthage compatible

SVNiOSBootstraper

A bootstaping framework filled with protocols I use all the time.

Included in this framework:

Alertable

A quick way to show stock AlertViewControllers

KeyboardNotifiable

Register for keyboard notifications

Reachable

Find out if the user has a stable internet connection

UIDevice

No longer supported. Using Device Kit instead: github "dennisweissmann/DeviceKit" ~> 1.0

DocumentsSearchable

Quick helper to look up a file in the documents directory

UIColor ext

Enable support for instanciation with RGB values

UIDevice ext

Adds class methods whichDevice() and whichVersion() to find the current Device's information.

To use this framework

Copy and paste the contents (sans .git folder) into a project folder. To initialize your project for Carthage use and make sure you have Carthage installed:

bin/setup

Once you've updated the Cartfile, to pull down your dependencies call:

bin/update

To install this framework

Add Carthage files to your .gitignore

#Carthage
Carthage/Build

Check your Carthage Version to make sure Carthage is installed locally:

Carthage version

Create a CartFile to manage your dependencies:

Touch CartFile

Open the Cartfile and add this as a dependency. (in OGDL):

github "sevenapps/SVNiOSBootstraper" "master"

Update your project to include the framework:

Carthage update --platform iOS

Add the framework to 'Embedded Binaries' in the Xcode Project by dragging and dropping the framework created in

Carthage/Build/iOS/pathToFramework*.framework

Add this run Script to your xcodeproj

/usr/local/bin/carthage copy-frameworks

Add this input file to the run script:

$(SRCROOT)/Carthage/Build/iOS/pathToFramework*.framework

If Xcode has issues finding your framework Add

$(SRCROOT)/Carthage/Build/iOS

To 'Framework Search Paths' in Build Settings

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published