Before Substitution
func reloadIfNeededThenDoTheThing() {
let doTheThing = ^{
// ...
}
if needsReloadFirst {
reload(completion: doTheThing)
} else {
doTheThing()
}
}
Theory of unneeded blocks
1. Inline block variables can always be substituted for method calls
2. The substitution leads to code thats easier to read
Deliveroo are recruiting iOS Developers... Join us to write code and eat cake
grnh.se/ewt7yu1
Rob S retweeted
THE DELIVEROO iOS APP IS LIVE! (Nay, tis not a new Tinder) Download from the App Store now - itunes.apple.com/gb/app/deli…
@EONhelp - Oh sorry - the old owners said it was E.On. Thanks for your help anyway.
@EONhelp Thanks. Its now asking for an account number which 'can be found on any bill from us' I don't have a bill, anything I can do?
@EONhelp just moved into a new flat - I know my supplier is EON, how do I find out what tariff I am on?
Last review for UK Cycle Paths itunes.apple.com/gb/app/cycl… took 1 day #iosreviewtime. Now has smooth scrolling thanks to MKTileOverlay
1
I broke the cycle paths app for iOS 7 users - sorry about that. The fix is in app review, should be out by friday.
1
1
Last review for UK Cycle Paths itunes.apple.com/gb/app/cycl… took 3 days #iosreviewtime
1
Rob S retweeted
Can you run #Swift scripts in your Xcode build? Yes.
Need to know what some build setting resolves to? e.g. $(PLATFORM_DIR)
> `xcodebuild -showBuildSettings -workspace MyProj.xcworkspace`
Why does Crashlytics have to dirty the my commits every time I run? They should update via cocoapods like everyone else.





