mirror of https://github.com/SnapKit/SnapKit
Pages are good to go!
This commit is contained in:
parent
7c7d52b171
commit
750fb7559d
|
@ -1,6 +1,6 @@
|
||||||
title: SnapKit
|
title: SnapKit
|
||||||
email: robertpayne@me.com
|
email: robertpayne@me.com
|
||||||
description: Swift AutoLayout DSL for iOS and OS X
|
description: Swift Auto Layout DSL for iOS and OS X
|
||||||
url: "http://www.snapkit.io/"
|
url: "http://www.snapkit.io/"
|
||||||
github_username: SnapKit
|
github_username: SnapKit
|
||||||
|
|
||||||
|
|
10
faq.md
10
faq.md
|
@ -5,23 +5,23 @@ permalink: /faq/
|
||||||
---
|
---
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
### Cocoapods won't let me install SnapKit into my iOS 7.0 project?
|
#### Cocoapods won't let me install SnapKit into my iOS 7.0 project?
|
||||||
|
|
||||||
SnapKit doesn't use any iOS 8.0 specific APIs but because Cocoapods does not support integrating Swift code without dynamic frameworks it cannot be integrated via Cocoapods for iOS 7.0 deployments. You should instead embed the source code directly into your application.
|
SnapKit doesn't use any iOS 8.0 specific APIs but because Cocoapods does not support integrating Swift code without dynamic frameworks it cannot be integrated via Cocoapods for iOS 7.0 deployments. You should instead embed the source code directly into your application.
|
||||||
|
|
||||||
### Do you have any examples?
|
#### Do you have any examples?
|
||||||
|
|
||||||
We're working on getting some great examples! Stay tuned.
|
We're working on getting some great examples! Stay tuned.
|
||||||
|
|
||||||
### What about Swift's operator overloading?
|
#### What about Swift's operator overloading?
|
||||||
|
|
||||||
SnapKit's intention is to be simple and understandable to ensure new users and old alike can easily dive in and get going. While operator overloading may make the code a bit more concise it greatly reduces the readability.
|
SnapKit's intention is to be simple and understandable to ensure new users and old alike can easily dive in and get going. While operator overloading may make the code a bit more concise it greatly reduces the readability.
|
||||||
|
|
||||||
### Why not just use Interface Builder?
|
#### Why not just use Interface Builder?
|
||||||
|
|
||||||
SnapKit is about building code based views and layouts. Interface Builder is fiddly and limiting when it comes to building constraints and is a nightmare for your source control change logs.
|
SnapKit is about building code based views and layouts. Interface Builder is fiddly and limiting when it comes to building constraints and is a nightmare for your source control change logs.
|
||||||
|
|
||||||
### Who's behind all this?
|
#### Who's behind all this?
|
||||||
|
|
||||||
* [Robert Payne](https://github.com/robertjpayne)
|
* [Robert Payne](https://github.com/robertjpayne)
|
||||||
* [Jonas Buddleman](https://github.com/cloudkite)
|
* [Jonas Buddleman](https://github.com/cloudkite)
|
||||||
|
|
BIN
images/logo.png
BIN
images/logo.png
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
@ -4,7 +4,7 @@ id: home
|
||||||
---
|
---
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div id="info" class="small-12 large-6 columns">
|
<div id="info" class="small-12 large-6 columns">
|
||||||
<h4>SnapKit is a DSL to make autolayout easy on both iOS and OS X.</h4>
|
<h4>SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Simple & Expressive</strong> chaining DSL allows building constraints with minimal amounts of code while ensuring they are easy to read and understand.</li>
|
<li><strong>Simple & Expressive</strong> chaining DSL allows building constraints with minimal amounts of code while ensuring they are easy to read and understand.</li>
|
||||||
<li><strong>Type Safe</strong> by design to reduce programmer error and keep invalid constraints from being created in the first place for maximized productivity.</li>
|
<li><strong>Type Safe</strong> by design to reduce programmer error and keep invalid constraints from being created in the first place for maximized productivity.</li>
|
||||||
|
|
|
@ -68,10 +68,10 @@ table {
|
||||||
#logo {
|
#logo {
|
||||||
color: transparent;
|
color: transparent;
|
||||||
text-indent: -99999px;
|
text-indent: -99999px;
|
||||||
width: rem-calc(534);
|
width: rem-calc(539);
|
||||||
height: rem-calc(128);
|
height: rem-calc(128);
|
||||||
margin-top: rem-calc(90);
|
margin-top: rem-calc(90);
|
||||||
@include retina-image(/images/logo, rem-calc(534) rem-calc(128));
|
@include retina-image(/images/logo, rem-calc(539) rem-calc(128));
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
@ -107,8 +107,8 @@ table {
|
||||||
#logo {
|
#logo {
|
||||||
margin-top: rem-calc(40);
|
margin-top: rem-calc(40);
|
||||||
width: rem-calc(280.0);
|
width: rem-calc(280.0);
|
||||||
height: rem-calc(67);
|
height: rem-calc(66);
|
||||||
background-size: rem-calc(280) rem-calc(67);
|
background-size: rem-calc(280) rem-calc(66);
|
||||||
}
|
}
|
||||||
#nav {
|
#nav {
|
||||||
margin-top: rem-calc(20);
|
margin-top: rem-calc(20);
|
||||||
|
@ -131,7 +131,7 @@ table {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#page-docs {
|
#page-docs, #page-faq {
|
||||||
#content-wrapper {
|
#content-wrapper {
|
||||||
#content {
|
#content {
|
||||||
max-width: rem-calc(800);
|
max-width: rem-calc(800);
|
||||||
|
|
Loading…
Reference in New Issue