kctan

24 Added | 4 Magazines | 2 Likes | 1 Following | @kctan | Keep up with kctan 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 “kctan”

Custom Headers with Alamofire 4 and Swift 3

I previously wrote about adding custom headers to Alamofire 3 calls. Let’s figure out how to handle custom headers in Swift 3 and Alamofire 4.<p>When …

Take flight by developing with Swift

Swift began as a development language for Apple devices, but in two short years, it has grown to become much more. Swift has quickly gained momentum …

Apps

Strings in Swift 3

<i>This is an excerpt from the Strings chapter in Advanced Swift. Chris Eidhof and I are currently updating the book for Swift 3 (and improving it in</i> …

Mathematics

Why Implicitly Unwrapping Swift Optionals Is Dangerous

Update<p>The terminology used in this post is not entirely correct. In most of the occasions where "implicitly unwrapping" it's used what should …

Swift: Syntax Cheat Codes

↑ ↑ ↓ ↓ ← → ← → B A<p>Whether it’s your first language or you’re coming from Objective-C, the Swift language is <i>literally</i> the bomb-diggity in terms of …

Easier Auto Layout: Coding Constraints in iOS 9

Coding Auto Layout just got a lot easier! Read on to find out more.Do you find Auto Layout challenging? Do you find yourself making and unmaking …

Alice In Wonderland

Using NSUserDefaults in Swift

In this tutorial I will teach you how to use NSUserDefaults in Swift. I will go over a few of the Caveats and information needed when using …

The Post
Breast Cancer
Breast Cancer

Why Is The University Still Here?

Universities are supposed to be dead. These bastions of higher learning have been on Silicon Valley’s hit list for much of the past decade, and disruption phasers targeting the industry have certainly been set to kill in the years since the global financial crisis.<p>And yet after years of efforts, we …

Higher Education
Game Development

Scroll View Tutorial in iOS8 with Swift

A Scroll View provides support for displaying content that is larger than the size of the application’s window. In this tutorial a large image is …

XCode
iOS Apps

The 2-Minute Workout That Works Your Abs From Every Angle

How strong is your core? Find out with this ultimate ab challenge<p>Ripped abs are reason enough to add some core moves to your routine. But a strong torso can also give you the foundation you need to lift more weight with less risk of injury. "Crunches alone won't get the job done, though," says Todd …

Workouts

16 Things to Let Go to Live a Truly Happy Life

<b>“Happiness is not something you postpone for the future; it is something you design for the present.” ~Jim Rohn</b><p>Sometimes I feel like I’ve spent the …

3 Things You Can Do To Feel Happier, Right Now

<b>“The place to be happy is here. The time to be happy is now.” ~Robert G. Ingersoll</b><p>In <i>The Four Noble Truths</i>, the Dalai Lama wrote, “It is a fact—a …

Let Go of Shoulds and Stress and Let Yourself Do Nothing

<b>“When you try to control everything, you enjoy nothing. Sometimes you just need to relax, breathe, let go and live in the moment.” ~Unknown</b><p>I am a …

How Simple Mini Habits Can Change Your Life

<b>“The only way to make sense out of change is to plunge into it, move with it, and join the dance.” ~Alan Watts</b><p>It was late 2012, just after Christmas, …

Will Power

7 Tips To Help You Slow Down and Enjoy Your Life As It Is

<b>“There is more to life than increasing its speed.” ~Gandhi</b><p>I have always been a person who wants to be one step ahead. I think my parents would say …