The internet's most comprehensive Swift resource.



Filter by    Swift Version   and/or   Target OS
Sort by       Newest   ·   Score   ·   Views

by Jon Hoffman     masteringswift.blogspot.com
Swift Version: 2.1
Generic programming can be defined as "programming with concepts”. In this post we will look at the idea of Concepts in the Generic Programming paradigm and how this relates to Protocol Oriented Programming in Swift.

by Colin Drake     colindrake.me
Swift Version: 2.1
Pretend for a while that class, struct, enum, and friends don’t exist in Swift... What type of more fundamental structure is capable of expressing object-oriented programming? Join me as we use closures and functions to create our own object-oriented programming system!

by Jon Hoffman     masteringswift.blogspot.com
Swift Version: 2.0
In this post I would like to look at the The Law of Useful Return. The Law of Useful Return says: If you have already done the work to get some useful result, don’t throw it away. Return it to the caller because they may be able to use it.

by Jon Hoffman     masteringswift.blogspot.com
Swift Version: 2.0
In this post we will look at the iterative approach to programming where we should be constantly looking to improve our code. Keep in mind that no one writes good code the first time' it takes many iterations to find the most efficient or general way to do something. No programmer should have a single pass mindset.

by Nick Hanan     www.codingexplorer.com
Swift Version: 2.0
An NSURL is how you describe the location of a file or directory in your Swift App. You can also easily add or delete path components with a few methods.

by Hacking with Swift     www.hackingwithswift.com
Swift Version: 2.0
What's new in Swift 2.2, including deprecations, new features and more!

by Christian Tietze     christiantietze.de
Swift Version: 2.0
How do you test NSURLSession properly? After all, using it in tests directly will hit the servers; that's not what you want to do 1000s of times per day. ...

by Jon Hoffman     masteringswift.blogspot.com
Swift Version: 2.0
POP vs OOP Numerous tutorials that I have seen take a very Object-Oriented approach to the protocol-oriented programming (POP) paradigm. By this statement I mean that they tell us that with POP we should begin our design with the protocol rather than with the superclass as we did with OOP however the protocol design tends to mirror the superclass design of OOP. They also tell us that we should use extensions to add common functionality to types that conform to a protocol as we did with superclasses in OOP. While protocols and protocol extensions are arguably two of the most important concepts of POP these tutorials seem to be missing some other very important concepts. In this post I would like to compare Protocol-Oriented design to Object-Oriented design to highlight some of the conceptual differences.

by     www.thomashanning.com
Swift Version: 2.0
In Swift you can easily create public properties with private setters. It makes your code much safer and shorter.

by Christian Tietze     christiantietze.de
Swift Version: 2.0
Matt Galagher is back writing at Cocoa with Love. His goal is maintainability, which is the greatest of all, I think. It's easy to copy code samples together ...

by Joe     dev.iachieved.it
Swift Version: 2.0
Learn how to write character-based terminal UIs with Ncurses with Swift on Linux. This tutorial will lead you to a complete implementation of a terminal-based natural language translator.

by Joe     dev.iachieved.it
Swift Version: 2.0
Learn how to write a basic client-server chat app with Swift and TCP/IP sockets on Linux!

by The Code Lady     thecodelady.com
Swift Version: 2.0
We are going to create a PickerView that will hold some data (fruits) and then we are going to change the color of the text from boring black to an awesome red.

by Joe     dev.iachieved.it
Swift Version: 2.0
Zewo is new collection of modules designed to build web applications in Swift. In this tutorial we'll guide you through building a REST API using Swift on Linux and Zewo.

by Joe     dev.iachieved.it
Swift Version: 2.0
Learn how to build your own release of Swift on Ubuntu Linux and keep up with the fast pace of the Github repositories.



© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS