StatusProvider – Swift Component For Creating Customizable Status Views

StatusProvider is an open source component from Mario Hahn for displaying customizable status views with include loading, empty, and error views.

You can customize the text shown on the different displays, and make completely custom error views.

Here’s an image from the readme showing a created no data available view:


StatusProvider

You can find StatusProvider on Github here.

A nice component for creating common status views.

Original article: StatusProvider – Swift Component For Creating Customizable Status Views

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

SwiftCheck – A Swift Library For Generating Testing Data

QuickCheck is an open source Swift library from TypeLift inspired by the QuickCheck Haskell library that automatically generates random data for testing program properties.

QuickCheck has a very concise syntax, and what makes QuickCheck different is that it can shrink test cases to find exactly what is causing a test to fail.

As the readme states:

What makes QuickCheck unique is the notion of shrinking test cases. When fuzz testing with arbitrary data, rather than simply halt on a failing test, SwiftCheck will begin whittling the data that causes the test to fail down to a minimal counterexample.

You can find SwiftCheck on Github here.

A great library for testing.

 

Original article: SwiftCheck – A Swift Library For Generating Testing Data

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.