coreyearleon

429 Flips | 2 Magazines | 15 Likes | 2 Following | 399 Followers | @coreyearleon | Keep up with coreyearleon 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 “coreyearleon”

The power of switch statements in Swift

While switch statements are hardly something that was invented as part of Swift (in fact, according to Wikipedia, the concept dates back as far as to …

Roads

iOS: Animate TableView Updates

<i>A better way to reload data</i><p>Let’s be honest: <i>tableView.reloadData</i> is only there for two reasons:<p>to load initial data<br>• to infuriate your internal …

iOS 11 GUI for iPhone X and iPhone 8

A massive collection of core components and over 60 (x2) selected screens found in the public release of iOS 11 made with extra attention to the …

DIY Prisma app with CoreML

WWDC 2017 brought us an understanding of what Apple thinks about machine learning and its applications right on mobile devices. CoreML framework …

Deep Learning

Updating Strings For Swift 4

Another year passes and another set of changes to the Swift String API arrives. Swift 4 brings some much needed improvements and simplifications to …

XCode

Adding Annotations and Overlays to Maps

In the last lesson, we explored the joys of making maps using the UIMapView and MapKit. While showing maps is great, we often want to add things to a …

How To Create an Uber Splash Screen

Oh, the wonderful splash screen—a chance for developers to go wild with fun animations as the app frantically pings API endpoints for critical data …

iOS Programming

A Beginner’s Guide to Auto Layout with Xcode 8

Auto layout is a constraint-based layout system. It allows developers to create an adaptive UI that responds appropriately to changes in screen size …

XCode

Overview Document

These materials are for informational purposes only and do not constitute legal advice. You should contact an attorney to obtain advice with respect …

iOS Programming

CareKit Tutorial for iOS: Part 2

Insights, Connect, and … Brains?Welcome to the second and final installment of our CareKit Tutorial series. Now with more zombies!In Part 1, you …

iOS Programming

CareKit Tutorial for iOS: Part 1

Learn how easy it is to build a personal health app with CareKit!In a zombie apocalypse (or any other time, really) there’s nothing as important as …

iOS Programming

Memory Leaks and Resource Management in Swift and iOS

Someone once told me what separates an amateur developer from a seasoned one is their footprint on the system. This is so true; less code and less …

Reading and Writing Text and CSV files in Swift

The power behind all computing is data. We collect data, process data, present data and most importantly store data. Without storage, the others are …

Test Data

Swifty Quicky: Checking for a tuple in an array

Jordan Rose:<i>Tuples can’t conform to protocols, so they don’t count as Equatable.</i>

Random number generators in Swift

What’s the best general purpose random number generating algorithm available?In this article I’ll present a RandomGenerator protocol and use it to …

Mathematics

Persistent Data with Property List Tutorial

Go to the TableViewController.swift file and add the following property<p>Add the delegate and datasource required methods of the Table View …

Parsing Dates in JSON from Web Services

Lots of web APIs give us dates but coercing them into a usable format can be a pain. We get something in our JSON like "2014-12-10T16:44:31.486000Z" …

Swift Cheat Sheet for Dates, Formatters, & Date Components

Working with NSDate, NSDateFormatter, and NSDateComponents can be a little convoluted, so I’ve created myself a cheat sheet that will be updated as I …

XCode

Swift Guide to Map Filter Reduce

Using map, filter or reduce to operate on Swift collection types such as Array or Dictionary is something that can take getting used to. Unless you …

Mathematics

How to Secure an iOS App

Security is a key aspect of software development. Almost every mobile application deals with user information or communicates with a remote server. …

Information Systems

Pattern Matching, Part 1: switch, enums & where clauses

From a simple switch to complex expressions, pattern matching in Swift can be quite powerful. Today we’re gonna start exploring it by seing some cool …

Jules Verne

Taking Control of Xcode Issue Navigator with XcodeIssueGenerator

Here at POSSIBLE Mobile we run dynamic teams which can suddenly ramp up to ten engineers or more working on a single app. With that kind of rapid …

Debugging

Documenting Your Swift Code in Xcode Using Markdown

Amongst all the features Xcode 7 incorporates, there is one that admittedly distinguishes; that is the new revolutionary, much better way to write …

XCode

Protocol-Oriented-Networking in Swift

<i>Join me for a Swift Community Celebration in New York City on September 1st and 2nd. Use code NATASHATHEROBOT to get $100 off!</i>I recently gave a talk …

New York City

Making Adaptive Forms using UICollectionView

The ProblemOver the last few months, I’ve found myself needing to implement large and intricate forms with differing layouts on iPhone and iPad. On a …

iOS Programming

Testing with Swift – Approaches & Useful Libraries

I’ve been working on developing an iOS app in Swift. It’s my first experience developing in pure Swift, without any Objective-C. This project has …

Test Suites

Parser Combinators in Swift

Parser combinators are one of the most awesome functional techniques for parsing strings into trees, like constructing JSON. In this talk from [try! …

Adding Actions to iOS and WatchOS Local Notifications

Even if you never want to make an app for the Apple Watch, there’s one place you might want to think about supporting: Notifications. In a previous …

How to Login User Automatically Into The App With SFSafariViewController on iOS 9

The new SFSafariViewController was introduced during the WWDC15 and it’s built into iOS9. It enables you as a developer to deliver data to the app …