Swift
92.7K views | +0 today

Magical View Rotation with StackView

From www.natashatherobot.com


The key here is that we need to change the StackView from being Vertical to being Horizontal when the orientation changes to Landscape.

To see this in action, I recommend changing to Landscape mode in the Storyboard (love this chart in Xcode 8!):

No comment yet.

The Easy Button: A Fancy Animation with StackView

From www.natashatherobot.com

Last week, I spoke at and attended iOSDevCampDC, where I had the pleasure of listening to @atomicbird’s great talk on StackViews. I knew StackView basics, but I had no idea how easy it is to …
No comment yet.

Generics and the Art of Inference Part 3 of 3

From foxinswift.com

In the pre-generics days of Obj-C the only way to pass around things of unknown type was with an id type, but with Swift Generics/Protocols we can do things like Promises statically and safely with…
No comment yet.

How UITraitCollection Changed Everything

From possiblemobile.com

While UITraitCollection marked most fundamental change in the way we program interfaces in iOS since Interface Builder, it is not without flaws.
No comment yet.

SWSearchView for iOS - Cocoa Controls

From www.cocoacontrols.com

Easy and Simple SearchView More than Search Display Controller
No comment yet.

PostManager for iOS - Cocoa Controls

From www.cocoacontrols.com

iOS Swift + Node.js app to manage and schedule twitter posts (like buffer)
No comment yet.

ltebean/Live

From github.com

Live - Demonstrate how to build a live broadcast app.
No comment yet.

Orderella/PopupDialog

From github.com

PopupDialog - A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertControllers alert style.
No comment yet.

Swift Either enum

From www.mokacoding.com

This post introduces the Either type and shows a practical application of it in Swift, injecting extra cells in a table view.
No comment yet.

Eat Fit – Open Source Swift Component For Data Display Inspired By Google Fit

From maniacdev.com

Eat Fit is a Swift based open source component from Yalantis for displaying data in a beautiful graphical format inspired by Google Fit. Eat Fit displays
No comment yet.

ATScrollingNumbers for iOS - Cocoa Controls

From www.cocoacontrols.com

Scrolling number control with circular progress.
No comment yet.

TextInputLayout for iOS - Cocoa Controls

From www.cocoacontrols.com

TextInputLayout, Easy to integrate to your swift project. You can use direction( up/ down) as per your layout
No comment yet.

Self-Sizing Collection View for iOS - Cocoa Controls

From www.cocoacontrols.com

The collection view is a great UI element but it doesn't handle elements with various content sizes elegantly. JMCFlexibleCollectionLayout based on customizable parameters like spacing between cells, margins, and maximum row height calculates and displays a collection view grid that maintains aspect ratio of the elements. It serves role of both UICollectionViewDataSource and UICollectionViewDelegate.
No comment yet.

Kickstart Your iOS Career With These 4 Courses

From code.tutsplus.com

Do you want to develop apps for iOS devices?If so, these four courses will give you the solid foundation you need. With expert guidance from Envato Tuts+ instructor
No comment yet.

App Rating Alert for iOS - Cocoa Controls

From www.cocoacontrols.com

Show an alert to the users rate your app. But if they rate 3 stars or less, they only recive a "Thank you alert", however if they rate 4 o 5 stars, they will be redirected to the App Store.

FUNCTIONS: -Use "rateApp (self, nil)", in each view you want to count before alert is shown. -Use "showRateAlert ()" to show the alert whenever you want.
No comment yet.