All Projects → Adorkable → StoryboardKit

Adorkable / StoryboardKit

Licence: MIT license
All you would want to know about yer Storyboards

Programming Languages

swift
15916 projects
shell
77523 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to StoryboardKit

Storyboard2codeapp
Mac app that converts an iOS storyboard into code. Work in progress.
Stars: ✭ 76 (+533.33%)
Mutual labels:  storyboard
Kwdrawercontroller
Drawer view controller that easy to use!
Stars: ✭ 154 (+1183.33%)
Mutual labels:  storyboard
Localize
Localize is a framework writed in swift to localize your projects easier improves i18n, including storyboards and strings.
Stars: ✭ 253 (+2008.33%)
Mutual labels:  storyboard
Xib2storyboard
A tool to convert Xcode .xib to .storyboard files
Stars: ✭ 121 (+908.33%)
Mutual labels:  storyboard
Pscarouselview
A drop-in carousel view. Most of Apps put it in their first screen.
Stars: ✭ 149 (+1141.67%)
Mutual labels:  storyboard
Swiftyfitsize
📱 Swifty screen adaptation solution (Support Objective-C and Swift)
Stars: ✭ 184 (+1433.33%)
Mutual labels:  storyboard
Storyline.js
Storyline - generic sequencer for JavaScript projects
Stars: ✭ 70 (+483.33%)
Mutual labels:  storyboard
ducks-storyboarder
This is a demonstration short storyboard we made for Storyboarder.
Stars: ✭ 29 (+141.67%)
Mutual labels:  storyboard
Swiftcolorgen
A tool that generate code for Swift projects, designed to improve the maintainability of UIColors
Stars: ✭ 152 (+1166.67%)
Mutual labels:  storyboard
Chipagecontrol
A set of cool animated page controls written in Swift to replace boring UIPageControl. Mady by @ChiliLabs - https://chililabs.io
Stars: ✭ 2,909 (+24141.67%)
Mutual labels:  storyboard
Switch
💊 An iOS switch control implemented in Swift with full Interface Builder support
Stars: ✭ 132 (+1000%)
Mutual labels:  storyboard
Instantiate
Type-safe and constructor injectable InterfaceBuilder protocols.
Stars: ✭ 149 (+1141.67%)
Mutual labels:  storyboard
Storyboarder
✏️ Storyboarder makes it easy to visualize a story as fast you can draw stick figures.
Stars: ✭ 2,467 (+20458.33%)
Mutual labels:  storyboard
Easystepindicator
More attributes for a step indicator, indicates steps with a easy way
Stars: ✭ 78 (+550%)
Mutual labels:  storyboard
BPBlockActivityIndicator
A simple and awesome loading Activity Indicator(with block moving animation) for your iOS app.
Stars: ✭ 43 (+258.33%)
Mutual labels:  storyboard
Natalie
Natalie - Storyboard Code Generator (for Swift)
Stars: ✭ 1,183 (+9758.33%)
Mutual labels:  storyboard
Ghosttypewriter
👻 A UILabel subclass that adds a typewriting animation effect
Stars: ✭ 159 (+1225%)
Mutual labels:  storyboard
IBKit
A declarative style interface builder in Swift
Stars: ✭ 38 (+216.67%)
Mutual labels:  storyboard
OsuParsers
Library for parsing/writing files associated with osu!
Stars: ✭ 60 (+400%)
Mutual labels:  storyboard
Swinjectstoryboard
Swinject extension for automatic dependency injection via Storyboard
Stars: ✭ 211 (+1658.33%)
Mutual labels:  storyboard

StoryboardKit

Build Status codecov.io Pod Platform Pod License Pod Version FOSSA Status

StoryboardKit a simple OSX library that tells you all you would want to know about storyboard files.

Currently it supports iOS storyboards only. OSX storyboard support forthcoming!

Installation


StoryboardKit is available through cocoapods, to install simple add the following line to your PodFile:

  pod "StoryboardKit"

Alternatively you can add the github repo as a submodule and use StoryboardKit as a framework.

Carthage support soon!

Setup and Usage


The library uses two "root" level objects to provide the tree of information you'll need:

  • ApplicationInfo - contains all information global to your application such as class information as well as instance information
  • StoryboardInfo - contains all information specific to a particular Storyboard file

To parse a Storyboard file:

	var applicationInfo = ApplicationInfo()
	var storyboardInfo = StoryboardFileParser.parse(applicationInfo!, pathFileName: "Main.storyboard")

From here you can access things like the list of all ViewControllerClassInfos or ViewControllerInstanceInfos in the app through your ApplicationInfo instance

	for viewControllerClass in application.viewControllerClasses {
		...
	}

Or perhaps you'll traverse through your Storyboard graph via the StoryboardInstanceInfo's initialViewController or scenes list.

	guard let initialViewController = storyboardInfo.initialViewController else { ... }
	guard let initialView = initialViewController.view else { ... }
	
	guard let subviews = initialView.subviews else { ... }
	
	for subview in subviews {
		...
	}

To learn more about the information StoryboardKit currently parses please read the docs here: cocoadocs.org

To see an example of StoryboardKit in use check out the seguecode repo here: seguecode

Contributing

If you have any ideas, suggestions or bugs to report please create an issue labeled feature or bug (check to see if the issue exists first please!).

Or submit a pull request, there is a lot more work to be done!

License

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].