Bigger iPhone and side-by-side iPad apps

Apple screams loudly, no one pays attention

Russ Bishop
June 23, 2014

Apple is telling us without telling us to get ready ASAP: Bigger iPhone screens and/or iPad side-by-side applications are coming and you should get ready.

The new size class mechanism and the resizable simulator are practically screaming at us to get with it.

My suggestion is to get comfortable with Auto Layout and make . . .

Read More

Swift: Storage for extension properties

Let's get in some trouble

Russ Bishop
June 23, 2014

A little birdy told me the Swift team has stored extension properties on their roadmap, but obviously we must await some future build or even revision of the language depending on when their schedule allows for it.

In the mean time, we can use objc_setAssociatedObject and objc_getAssociatedObject to simulate it. Unfortunately this . . .

Read More

Swift: Call by name

A blast from the past

Russ Bishop
June 23, 2014

Back when computers came with some assembly required and real men/women booted by toggling switches on the front panel, a language called Algol introduced many programmers to call-by-name parameter passing.

For many of today's languages, parameters to a function call are evaluated in the caller's context then copied to the . . .

Read More

Swift Documentation Comments

Work in Progress

Russ Bishop
June 22, 2014

Update: A bug sometimes prevents Xcode from reading SwiftDocs for files other than the current file in a framework project, so you won't always see the doc comments in Quick Help or when Option-clicking a symbol. Hopefully the bug will be fixed.

Update #2: mattt of NSHipster fame heard from a little birdie that the doc comment . . .

Read More

#663399becca

Can't handle it

Russ Bishop
June 12, 2014

I can't write about Rebecca Meyers and what the Meyers family is going through for the same reasons as Jason Kottke:

Sometimes parents tend to get caught up in the minutia of parenthood: the logistics of getting from one place to another without losing your shit, the weary deflection of the 34th "why?" question of . . .

Read More

Swift Arrays and Dictionaries

Clearing my confusion

Russ Bishop
June 11, 2014

While reading The Swift Programming Language, I came across a couple of sections like Collection Types and Classes and Structures: Assignment and Copy Behavior for Collection Types

The obvious first issue is

Immutability has a slightly different meaning for arrays, however. You are still not allowed to perform any . . .

Read More

Swift: Generic extensions in libraries currently broken

Just saving you some time

Russ Bishop
June 11, 2014

If you were thinking of creating a Swift framework and writing some unit tests, you should be aware of a bug. You cannot currently extend a built-in or standard library generic type with any properties or methods that require the type's generic parameters.

In other words, create a framework project in Swift and add this to a . . .

Read More

Archive
   Subscribe by email and never miss a post.

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!