UDP Client Example in Swift 3.1

UDP stands for User Datagram Protocol. It is one of many protocols in electronic communications for send information. It is ideal for small amounts of information and/or situations where relieability is not a priority, and simplicity. For more information use Wikipedia to get started. Most simple examples for writing programs using UDP online are in … Continue reading "UDP Client Example in Swift 3.1"

Read More

Swift Type Methods: Static vs Class

A few days ago while reading the Swift 2.2 documentation, I came upon the section discussing Type Methods. Swift allows one to define methods for instances of a type and the types themselves. The types can be classes, structures, or enumerations, etc. Two keywords are associated with defining and declaring type methods: static class Which one … Continue reading "Swift Type Methods: Static vs Class"

Read More