iOS CoreBluetooth BLE Online Course

Adding Bluetooth LE functionality to your app can be intimidating. Dealing with hardware connections is always a bit of a mystery. CoreBluetooth really helps simplify the details and the heavy lifting. It boils down the connection and communication to something more familiar to most developers. The course: @Lynda @Linkedin Learning However, there are still a lot Read more about iOS CoreBluetooth BLE Online Course[…]

Linkedin Career Clinic

Featured on LinkedIn Career Clinic: Developer Insights

Bear is featured on the latest Linkedin Career Clinic: Developer Insights video. The video features a handful of content authors for Linkedin Learning on the topic of clean code practices. Being passionate about your work is always plus and hopefully a goal. Even though development is often as much math and science as anything else, Read more about Featured on LinkedIn Career Clinic: Developer Insights[…]

iOS Network Development Using URLSession and Alamofire Online Course Release

  iOS Network Development Using URLSession and Alamofire with: Bear Cahill …is now available on LinkedIn Learning: https://www.linkedin.com/learning/ios-network-development-using-urlsession-and-alamofire and on Lynda.com: https://www.lynda.com/iOS-tutorials/iOS-Network-Development-Using-URLSession-AlamoFire/645028-2.html Course Description: Networking is a common component of modern mobile apps, necessary for authenticating user accounts, fetching data, and downloading and uploading files. Learning the latest networking frameworks is vital to quality, maintainable Read more about iOS Network Development Using URLSession and Alamofire Online Course Release[…]

Validation for Email and Password

iOS/Swift Validate Email and Password Format

Here’s a couple of quick functions I use in a few forms in different projects. They’re pretty common and can be found other places. I based these on various things I’ve found online. So, like most things, I can’t take 100% credit but we all learned things from somewhere. The first is an email validator. Read more about iOS/Swift Validate Email and Password Format[…]

UITextField Form with Previous/Next Keyboard Accessory Input View as Extension (iOS/Swift)

UPDATED: Now use a scrollview instead of moving the view around. See the bottom of this post. Here’s how to easily, quickly create a manager for a form of UITextFields including Previous/Next buttons on a toolbar above the keyboard. It uses an extension on the UIViewController so it’s non-intrusive. All you have to do is Read more about UITextField Form with Previous/Next Keyboard Accessory Input View as Extension (iOS/Swift)[…]

Displaying an alert from an Extension

Display Alert Controller Popup from any UIViewController (iOS/Swift) Extension

Many apps use the UIAlertController to display information the user for them to acknowledge with an “OK” button. A UIViewController needs to present the alert controller to the user so I wrote an extension on UIViewController to handle this. This is just a simple alert to the user with an “OK” button that dismisses the Read more about Display Alert Controller Popup from any UIViewController (iOS/Swift) Extension[…]

Loading screen for iOS in Swift

Display a Loading/Waiting Activity Indicator (iOS/Swift)

Oftentimes, you need to display an activity indicator to the user when fetching or loading data.   It’s best to keep this in one place for ease of use. Also, it’s best to make sure this is done on the main/UI thread.   Loading Screen in Swift     Here’s a way to do it Read more about Display a Loading/Waiting Activity Indicator (iOS/Swift)[…]

map view uiviewcontroller extension

Swift: Handle Location and MapView Updates with Extension on UIViewController

As I mentioned in another extension post, I dig them…when they make sense. I tend to do simple map stuff a good bit and wanted to write an extension for it. Swift: Handle Location and MapView Updates with Extension on UIViewController What it does: Requests authorization for user location Centers the map on the user Read more about Swift: Handle Location and MapView Updates with Extension on UIViewController[…]

extension to compose email swift

Swift: Compose Email (MFMailComposeViewController) as an Extension to UIViewController

UPDATED for Swift 4… I’m a fan of extensions – but hopefully only when it makes sense. I wanted to write an extension on UIViewController to allow me to send email from any subclass…         Swift: Compose Email (MFMailComposeViewController) as an Extension to UIViewController Steps… Add a new file (⌘-N) and select Read more about Swift: Compose Email (MFMailComposeViewController) as an Extension to UIViewController[…]