Comments (8)
firefox-ios https://github.com/mozilla/firefox-ios
from snapkit.
@omidkh68 @stormhouse there's not an example app yet, your best bet is to look at some of the tests or just play around along with the readme.
It may help to look at Masonry examples too as Snap is a port of it.
from snapkit.
@robertjpayne tnx man
from snapkit.
I know it's a bit of work, but it would be so much more useful if you would provide use cases (with a picture) and corresponding code. The current docs are a tough read for people who aren't into autolayout every day -> me ;-)
from snapkit.
Hey guys. I saw this issue and, as a big fan, thought it'd be fun to contribute. I spent a little time on an app we could use to teach people how to use SnapKit and show off great use cases. Not to worry, no pressure to use this, I don't know if you've all already started on something. Just wanted to throw it out there. You can see it here, I just gave it a quick name of SnapKit Samples.
I tried to keep a couple of qualities in mind, namely that the sample app would be...
- somewhat easy to browse as a reference
- somewhat easy to contribute to
The way it's hooked up now is a simple tableView that's listing out objects of a small type called 'Sample'. To contribute a sample, somebody would have to add a 'Sample' struct to the 'SampleLibrary' file and add a viewController that shows off the hands-on SnapKit use case they want to demonstrate.
I figure everyone must use SnapKit in their own special way, so I'm hoping this structure of each individual sample in the sample app will encourage someone to contribute another when they get excited about what they're doing with SnapKit.
I've put a couple basic samples in there. The code for each example is broken down and commented the way I'd explain it to somebody who was new to SnapKit and doesn't use AutoLayout all the time.
It was fun to make and I hope it gives you some ideas. Cheers.
from snapkit.
I have created one sample application of SnapKit using Cocoapods. please have a look. Here is the link:
#180
from snapkit.
@sahandnayebaziz Your sample was very useful to me. Thanks!
To whoever might be searching for samples, this project was also helpful.
from snapkit.
This is done! Thanks to #201 whoop!
from snapkit.
Related Issues (20)
- XCode 15 build SnapKit error HOT 1
- Snapkit
- Try to commit
- Would it be possible to have a new release? HOT 3
- privacy manifest HOT 18
- Why removeConstraints wouldn't call translatesAutoresizingMaskIntoConstraints = true
- How to use SnapKit achieve the following requirements? view.width = (superView.width - 30) * 0.3 HOT 3
- Wtf HOT 2
- Is Snapkit dead?
- Error HOT 1
- Broken github issue template
- Can't download the latest (5.7.0) version with cocoapods HOT 7
- My project supports iOS11 HOT 4
- SnapKit SDK Signature HOT 1
- My phones glitched
- Swift Package Manager - support for all suite
- Manifest keys from snapkit not reflecting in project level privacy report HOT 4
- Snapkit compatible with VisionOs soon ?
- Difference between offset and inset? HOT 1
- SnapKit is unable to generate privacy reports HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapkit.