discoveryd is garbage

Russ Bishop
May 05, 2015

Craig Hockenberry points out that discoveryd is a piece of absolute garbage. Marco chimes in. Many others have been having similar issues.

I just wanted to add my name to the list.

At home, I can almost never successfully make AirDrop work between my iOS devices and Mac, or between my wife's Mac and mine. It is so . . .

Read More

A Signed Resource Has Been Added, Modified, or Deleted

My Personal Hell

Russ Bishop
April 26, 2015

If you find yourself suffering from the message A signed resource has been added, modified, or deleted every time you attempt to run your app on-device I hope I can save you some trouble.

This tends to happen to projects with extensions and the culprit appears to be CocoaPods. Somehow frameworks relevant to the main app were being . . .

Read More

Swift Nested Closure Captures

There is no escape

Russ Bishop
April 23, 2015

Update: This has been fixed!

Just in case others run into this issue, I wanted to document it here. @noescape causes some curious behavior when nesting closures. It appears to cause a captured mutable local to become a separate copy, meaning changes that should be visible in one sibling closure aren't visible to the other.

 . . .

Read More

Swift 1.2

Some overlooked goodies

Russ Bishop
April 14, 2015

Apple has delivered on their promise to be, well, swift with Swift. Version 1.2 has been released and includes a number of updates and syntax changes.

Some are less welcome, like requiring parameter names for closures in methods with optional parameters. Others are great additions like Set or the ability for value-returning closures . . .

Read More

UIKit Missing Bits #1

Some Handy Utilities

Russ Bishop
April 03, 2015

Just a quick post today. Here are some UIKit bits that should have always existed but after 8 years are still absent:

  • setHidden:animated: - Absolutely inexcusable that we still have basic UIView properties that can't be animated
  • setEnabled:animated: - Ditto for UIControl
  • setEnabled:animated: - For some inexplicable . . .

Read More

Swift Quickie: Capture Lists

Closures for fun and profit

Russ Bishop
January 20, 2015

This is the first in a series of short posts addressing easy things you might not know about. I'm going to try interleaving these thing the long-form major effort-posts.

Capture Lists

Many people don't know that you can explicitly specify capture lists for closures in Swift.

A closure closes over . . .

Read More

Swift: Associated Types

I Want a Type-alee-uss-ess-ess for Christmas

Russ Bishop
January 05, 2015

Associated Types Series

Sometimes I think type theory is deliberately obtuse and all those functional programming hipster kids are just bull-shitting as if they understood one word of it. Really? You have a 5,000 word blog . . .

Read More

   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!