/explore
|
You are here |
swiftrocks.com | ||
| | | | |
uraimo.com
In this article, part of a series on Swift and the functional approach, we'll explore what we need to do to build our own sequences in Swift 3, discuss the differences between finite and infinite sequences and examine what we can do with them in a few example scenarios. |
|
| | | | | ||
| | | | |
www.onswiftwings.com
Discover use-cases of code generation and get an overview of the tools you can use to automate it. |
|
| | | | | ||
| | | | |
blog.kulman.sk
How many times how you copied and pasted some code in your current codebase because there was no good way to abstract it? Maybe because it was some repeating code required by a framework or mapping of some data transfer structures. Writing such boilerplate code is an error-prone waste of time, especially when there is a much better way: generating that code. There are a few tools to help you do that, one of the most flexible of them being GYB. What is GYB? GYB is a lightweight templating system that allows you to use Python to generate text files. Those text files can be Swift source code files or anything else you need. GYB is used in the Swift standard library codebase so it works well for generating Swift source code and it is a proven technology that wor... |
|
| | | | | ||
| | | | |
benoitpasquier.com
Most of mobile apps interact at some point with remote services, fetching data from an api, submitting a form... Let's see how to use Codable in Swift to easily encode objects and decode JSON in couple lines of codes. |
|
| | | |||