mrkadbury

146 Flips | 6 Magazines | 4 Likes | 7 Following | 3 Followers | @mrkadbury | Keep up with mrkadbury on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “mrkadbury”

Ultimate Guide to JSON Parsing with Swift 4

This guide is now permalinked at http://swiftjson.guide.<p>Swift 4 and Foundation has finally answered the question of how to parse JSON with …

The Best New Features in Swift 4

Swift 4 is here, and it's bringing some nice changes. We're not getting a radical rework of the syntax like we did last year, nor are we getting a …

5 Best iPhone Apps to Help You Save Money

Putting money away in savings is a no-brainer. Whether you’re saving up for a particular purchase or a future trip, trying to build up an emergency …

Best Swift Books In 2017

by Bradley Nice, Content Manager at ClickHelp.co<p>First of all, what is Swift?<p><b>Swift</b> is a general-purpose, multi-paradigm, compiled programming language …

JSON with Encoder and Encodable

Swift 4 brings a more native-feeling way to encode and decode instances, and includes built-in support for everyone’s favorite text-based format: …

The best ice cream maker

<i>By Marguerite Preston and Lesley Stockton</i><p><i>This post was done in partnership with The Sweethome, a buyer's guide to the best homewares. When readers choose to buy The Sweethome's independently chosen editorial picks, it may earn affiliate commissions that support its work. Read the full article …

Writing High-Performance Swift Code

Enabling Optimizations<p>Whole Module Optimizations<p>Reducing Dynamic Dispatch<p>Dynamic Dispatch<br>• Advice: Use 'final' when you know the declaration does not …

This Is How to Start a Fire With a Bag Full of Water

There are few cartoon tropes as ubiquitous as killing ants with a magnifying glass. But if you don’t have a glass, you can always just use the next …

Turn an Old Monitor Into a Daily Status Board

My mirror doesn’t come to life and tell me about the rest of my day when I walk in bleary-eyed to the bathroom, as much as I wish it did. An …

Fun with String Interpolation

One of the first things you learn as a Swift programmer is string interpolation, or how to mix variables and expressions into string literals to …

7 Stress-Free Ways To Eat A Little Healthier This Week

Don't overthink it.

Food

Amazon admits that a typo took the internet down this week

The Great Amazon Web Services Outage of 2017 is behind us. Now, Jeff Bezos' golden child is ready to explain what happened. Turns out, what took Giphy, Medium, Slack, Quora and a <i>ton</i> of other websites and services down was a typo. As Amazon explains it, some of its S3 servers were operating rather …

14 things you might not know Amazon’s Alexa can do for you

Alexa, Amazon’s virtual assistant, comes loaded with a variety of features. But it’s the “skills” that really allow you to customize your experience …

10 Ways To Hang Just About Anything on the Wall

TVs, mirrors, pictures, and more. If you need to hang something on the wall, we've got you covered.<p>Decorating your home with pictures, hanging a mirror in the bathroom, or installing shelves for displaying heirlooms requires the correct fastening system to support the weight. Here are 10 …

Guard Statements in Swift

guard and defer joined us in Swift 2.0 to little fanfare. Both use cases were somewhat obvious initially and plenty of articles were written about …

Pushing the limits of Protocol-oriented programming

Transcript:<p><b>Jesse:</b> Today we’re going to talk about protocols and pushing the limits of protocol oriented programming. Hopefully you saw Nate Cook’s …

Data Modeling

A Beginner’s Guide to XML Parsing in Swift

Tons of document formats using XML syntax had been developed, like RSS, Atom, SOAP and XHTML, so it’s good to know, how to work with them. If you are …

How to Read XML Files From the Web in Swift

You’ve probably heard of XML. You definitely have used an XML file If one data format is considered ubiquitous and prevalent in modern computing, …

ABC Orders SciFi Pilot That Rips Off a South Park Episode

Tis the season for new TV shows, and ABC’s latest pilot pick-up is about refugees from the future as an allegory for the struggles in modern …

Listing Calendar Events with Event Kit and Swift

This is the continuation of a series of articles I’ve writing for Swift developers working with Event Kit.Supposing that after asking the user for …

Calendars

Advanced & Practical Enum usage in Swift

When and how to use enums in Swift? This is a detailed practical overview of all the possibilities enums can offer you.

Mac Apps

How to build an iOS weather app in Swift, part 1: A very bare-bones weather app

Screenshots from the <i>Optimistic Weather</i> app. Click the image to see the app in the App Store.According to comScore, two of the top 25 most-used mobile …

iOS Programming

Reading and Writing Calendar Events

Beginner's Guide to EventKit in Swift - Requesting Permission

Updated on October 26, 2016 – Swift 3.0<p>EventKit provides a set of classes for accessing and manipulating a user’s calendar events and reminders. In …

What's the Current Week Number?

This week is ...<p>Week 08<p>Week 08 is from Monday February 19, 2018 until (and including) Sunday February 25, 2018.<p>Week number according to the <b>ISO-8601</b> …

How do you stylize a font in Swift?

I'm trying out developing for Swift, it's going pretty well. One of the issues I'm having is finding out how to stylize fonts programmatically in the …

Easy Skeezy Date Formatting for Swift and Objective-C

The following table's sample column are mostly based on the time December 14th, 2008 4:35 PM UTC.<p>Characters<p>Example<p>Description<p>Year<p>y<p>2008<p>Year, no padding<p>…

Objective-C

Cocoa: What's the difference between the frame and the bounds?

UIView and its subclasses all have the properties frame and bounds. What's the difference? (Please don't quote the Apple docs — I've already read …

Fun With Date Calculations

Date calculations are a common trap for the unwary. How do you work out the start of the day today, tomorrow or in five days or five months time? …

iOS Programming

10 Steps to Starting a Side Business While Working a Full-Time Job

We are living at a time of unlimited potential. Never before have we experienced such a rapid growth in the number of young entrepreneurs who’ve …