Skip to content

A compilation of useful functions and methods to use as a base in projects.

License

Notifications You must be signed in to change notification settings

FrostlightSolutions/FrostKit

Repository files navigation

FrostKit

Carthage compatible

Overview & Roadmap

Platforms

  • iOS
  • watchOS
  • tvOS
  • OS X

General

  • FrostKit - Used to setup some default values used thoughout the framework.
  • Unit Tests - continuous
  • Wiki/Documentation - continuous

Service

  • TaskStore - A class to keep track of URL tasks and operations.

Storage

  • LocalStorage - A series of helper functions for storing data and files locally.
  • ContentManager - A class to keep track of content and cleanup unused data.

CoreData

  • CoreDataProxy - A class to standardise some of the setup of CoreData (should be used as a template not subclassed).
  • CoreDataController - A controller for CoreData to be used in table and collection view controllers.
  • CoreDataTableViewController - Deals with a lot of the standard CoreData and CoreData Controller aspects for a table view controller.
  • CoreDataCollectionViewController - Deals with a lot of the standard CoreData and CoreData Controller aspects for a collection view controller.

CloudKit

  • CloudKitTableViewController - Deals with a lot of the standard CloudKit aspects for a table view controller (not commonly used, as CoreDataTableViewController and CoreData should normally be used instead).

View Controllers

  • WebViewController - Included for iOS 8, in iOS 9 SFSafariViewController shuold be used.
  • UIWebViewController - Included for iOS 8, in iOS 9 SFSafariViewController shuold be used.
  • WKWebViewController - Included for iOS 8, in iOS 9 SFSafariViewController shuold be used.
  • CarouselViewController - A carousel style view based on a UICollectionViewController.

InterfaceController

  • TableInterfaceController - Deals with a lot of the standard table view aspects in a watchOS app.

Views & Appearance

  • Appearance - Will deal with a unified appearnce and updating views and UIAppearance when changes are made. Addisions to all view based classes will added, prefixing them with FK (UIView, UIButton, etc).
  • View - Adds some IBInspectable variables.
  • Button - Adds some IBInspectable variables.
  • ImageView - Adds some IBInspectable variables.
  • VisualEffectView - Adds some IBInspectable variables.
  • InitialsImageView - For use with profiles to show a users initials if no image is available.

Helpers

  • SocialHelper - Helpers to create, present and deal with social prompts for email, phone, message and social services.
  • AppStoreHelper - Helper for getting information about the current app from the App Store (requires the App ID set in setup()).

Maps

  • MapController - Deals with a lot of the standard map functionality, including permission requests, plotting data and clustering.
  • Address - A standard implementation of an address object.
  • Annotation - A standard implementation of an annotation.
  • MapViewController - Deals with a lot of the standard map view functionality in a view controller such as presenation and interaction with the map view.
  • MapSearchViewController - A basic implementation of allowing the user to search the MapViewController and MapController.

Extensions

  • Error
  • Date
  • Calendar
  • TimeZone
  • Data
  • Bundle
  • Font
  • Color
  • Image
  • Device
  • View
  • BarButtonItem
  • ViewController
  • CollectionViewController
  • Screen
  • CKContainer
  • CKDatabase
  • CKReference
  • CKRecordID

Fonts

  • CustomFonts - A class to help programically load fonts by name and load default custom fonts.
  • FontAwesome
  • IonIcons

Requirements

  • iOS 8.0+
  • Xcode 7

Creator