Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 3.29 KB

tdd-vapor-rxswift.md

File metadata and controls

53 lines (29 loc) · 3.29 KB

TDD, Vapor & RxSwift - 101

Test Driven Development

This tutorial will help you write your first TDD app in Swift by building a FizzBuzz game for iOS. We’ll build it up step-by-step with fun challenges along the way and learn about different aspects of building a mobile app.

Perhaps you’ve heard of test-driven development but don’t really know what it is. Or maybe you know about it but you just don’t know why you would ever want to use it. In this article I hope to give an overview of exactly what test-driven development is and why you should consider integrating it into your software development process.

Here is a beginner tutorial on TDD in Swift by writing a program that checks for a prime number. We will by creating a new project, selecting template as Single View Application. Though we won’t be adding anything to the storyboard as we will focus only on the business logic.

Server Side Swift (Vapor)

Beyond simple curiosity or strong preferences for the Swift language, why might you want to build a server with Swift? There are a few reasons that come to mind, but ultimately you need to decide whether they make sense in your context.

While the Swift language makes it easy to write software that is incredibly fast and safe by design, Swift being open source means you can use it on an even broader range of platforms, from mobile devices to the desktop and in the cloud. Come for an overview of available projects at Swift.org and examples of the community in action.

"Can Server-Side Swift beat Node.js"? Swift as a primary language for everything, including the server, has been intriguing since it was first open sourced and ported to Linux. Many of you are assuredly as curious as I am, so I’m very pleased to share the results of my study here.

RxSwift

What are the problem we are facing? Why do we require Reactive Programming? Because if there is no problem, then we don’t need a solution right?? In this article, we are going to learn the basic concepts of the Reactive Programming.

This post is a tutorial that will teach you how to bind data to views using RxSwift, which is a part of the Functional Reactive Programming (FRP) design pattern — where views react to changes to data. FRP is not MVC.

--

Prepared by Amit kashyap!