CodeCompletion.io

Episode 37: Can you Verizon me now?

Welcome to Code Completion, Episode 37! We are a group of iOS developers and educators hoping to share what we love most about development, Apple technology, and completing your code!

Follow us @CodeCompletion on Twitter to hear about our upcoming livestreams, videos, and other content.

Be sure to also sign up to our monthly newsletter, where we will recap the topics we discussed, reveal the answers to #CompleteTheCode, and share even more things we learned in between episodes.

You are what makes this show possible, so please be sure to share this with your friends and family who are also interested in any part of the app development process.

⭐️ This Week's Topics

  • Interview with Michael Redig
    • How did you get into development?
    • When did you start making an “application”?
    • What was the transition from learning SpriteKit first to more traditional iOS development like?
    • When did you start making more “properly” built UIKit apps?
    • What projects are you working on right now?
    • Any tips for someone who wants to do development full-time?

🚧 #CompleteTheCode

This week's #CompleteTheCode:

What’s the best way to check if the file that is passed in exists or not?
1
2
3
4
func checkIfExists(_ fileURL: URL) -> Bool {
    // What's the best way to check if the file at fileURL
    // exists or not?
}

Be sure to tweet us with hashtag #CompleteTheCode if you know the answer!

⚠️ Compiler Error

This week's theme: Obscure Foundation File Classes!

  1. NSFileVolume is a class that allows you to perform fundamental file system operations on volumes, such as injecting its partitions.
  1. NSFileWrapper represents nodes in the file system, such as directories known as file packages, but can also represent regular files and symbolic links.
  1. NSFileHandle provides a wrapper for file system descriptors, allowing you to perform basic file IO such as reading, writing, and locking files.
  1. NSURLProtocol allows you to implement custom loading strategies for your own protocols, so they can be used anywhere a regular NSURL is used.

🎁 Sponsor

This week's episode of Code Completion is brought to you by Pennant! Search for Pennant on the iOS App Store today to give it a try!

📹 Watch the Stream