Learning Swift Higher Order Functions (Online Course)

Master and harness the full power of Swift with Higher Order Functions. Take your iOS development to Black Belt level with this online course. Learning Swift Higher Order Functions @Lynda      @Linkedin Learning By taking the time to truly grasp higher-order functions, you’ll go from merely understanding the Swift language to mastering it. In this Read more about Learning Swift Higher Order Functions (Online Course)[…]

Migrating your iOS App to the AWS Cloud (online course)

Migrating your iOS App to the AWS Cloud More apps are requiring server-side storage and functionality, but custom web resources can be expensive to develop and maintain. Using Amazon Web Services (AWS) for migration can make the process easier without being expensive. In this course, explore the resources available and learn about each step involved Read more about Migrating your iOS App to the AWS Cloud (online course)[…]

Learning Amazon Web Services (AWS) for Developers (Online Course)

I recently developed this course for Linkedin Learning/Lynda.com to help people getting started with AWS. The idea is that there are many courses and certifications but many of them just cover a slice of AWS. This is meant to cover the topics in the AWS Associate-Developer certification. Not that you can pass the test after Read more about Learning Amazon Web Services (AWS) for Developers (Online Course)[…]

Building iOS Apps with AWS Mobile (Online Course)

Building iOS Apps with AWS Mobile Amazon Web Services (AWS) provides many services and features for developing server side functionality and resources. This can be particularly helpful and surprisingly easy for adding server side aspects to a mobile app. Using the Mobile Hub, AWS can be used to add user authentication (including Google, Facebook and Read more about Building iOS Apps with AWS Mobile (Online Course)[…]

iOS Development with Firebase (Online Course)

Firebase is popular software suite that enable mobile developers to quickly and easily add server-side functionality to apps: authentication, data storage, and more. This course explores some of the most useful services in the Firebase SDK for iOS app development. Instructor Bear Cahill starts by showing how to set up a project in the Firebase Read more about iOS Development with Firebase (Online Course)[…]

iOS Unit Testing with Xcode (Online Course)

Unit Testing for iOS Developers   Unit testing is a useful method for verifying functionality—both before and after development—and can help you catch and fix bugs. Xcode can automatically add unit test support to your projects. In this course, explore the fundamentals of unit tests in Xcode and discover how to add unit tests to Read more about iOS Unit Testing with Xcode (Online Course)[…]

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:  @Linkedin Learning However, there are still a lot Read more about iOS CoreBluetooth BLE Online Course[…]

iOS RESTful JSON API Development Online Course

My latest online course is released: iOS RESTful JSON API development including the Codable Protocol @Linkedin Learning   Thanks to my producer Audrey Tsaima!   One of my favorite things in Swift: Codable protocol – here’s a sample video:   Decodable protocol: JSON to object from iOS App Development: RESTful Web Services by Bear Cahill

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 A sample video introducing Alamofire: Introduction to Alamofire from iOS Network Development Using URLSession and Alamofire by Bear Cahill   Course Description: Networking is a common component of modern mobile apps, necessary for authenticating user accounts, fetching data, Read more about iOS Network Development Using URLSession and Alamofire Online Course Release[…]

iOS slide in menu

Slide in Menu as an UIViewController Extension

  We often need to add a slide in menu to a UIViewController. It’s no easy task in Interface Builder. Here’s how to make one in code… Slide in Menu as an UIViewController Extension   First create a new file called MenuMgr.swift in your project. Declare the class… (link to the code at the bottom) Read more about Slide in Menu as an UIViewController Extension[…]

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[…]

app development costs

App Development Cost – What Does it Cost?

The all important question everyone has to ask is: how much will it cost? App development cost varies based on several factors and can range widely. App Development Cost Of course the requirements of the app drive the app development cost. However, that’s not very clear since some requirements are easy/cheap and some are very Read more about App Development Cost – What Does it Cost?[…]

significant location change

Test Significant Location Change – iOS Simulator

Testing location functionality can be tough. Significant location change updates especially so. Here’s how to test SLC in the simulator… Test Significant Location Change You may need to reset the simulator  (iOS Simulator>Reset Contents and Settings…) to test Significant Location Change. These steps assume you have setup your app to use the Location Manager to monitor Read more about Test Significant Location Change – iOS Simulator[…]

Parse.com Crash Logs – Adding Crash Reporting

I found out yesterday that Parse.com offers crash reporting now. I love Parse.com and use it for many projects. It’s easy to integration and flexible in almost every way. It provides object database service, push notifications and more and with fairly low effort and low cost. No, I’m not a salesperson for Parse.com. I used Read more about Parse.com Crash Logs – Adding Crash Reporting[…]

simulate slow network

iOS/iPhone Simulator – Simulate Slow Network Speeds

I needed to simulate slow network speeds for the iOS simulator. There’s a pretty easy provided way to do it. Click on Xcode>Open Developer Tool>More Developer Tools… This will take you to an Apple website to download more tools (or just click here).   Pick “Hardware IO Tools for Xcode” and download it. The dmg Read more about iOS/iPhone Simulator – Simulate Slow Network Speeds[…]

beta-reports-active - scheme

beta-reports-active – Testflight app cannot be installed at this time

I started getting “app cannot be installed at this time” from testflight installs. From the device console, I saw that my app entitlements were setting beta-reports-active but my provisioning didn’t include it. You might also get this message: “Entitlements found that are not permitted by provisioning profile” beta-reports-active From what I could piece together from Read more about beta-reports-active – Testflight app cannot be installed at this time[…]

MKMapCamera – Setting the Orientation of a MapView

Using the MKMapCamera, you can set the orientation of a map without messing with transforms on the view or even detecting the user’s heading (though that could be helpful too).

If you don’t want the animation, you can just set the new heading on the existing camera:

There’s some other really cool calls on Read more about MKMapCamera – Setting the Orientation of a MapView[…]

iOS in Practice - book

My Book “iOS in Practice” is the Manning “Deal of the Day”

Use code dotd042614tw at manning.com/cahill iOS in Practice is a hands-on guide with 98 specific techniques to help solve the specific problems you’ll encounter over and over as you work on your iPhone and iPad apps. You’ll dig into the practical nuts and bolts of applying views, view controllers, table views and cells, audio, images, graphics, Read more about My Book “iOS in Practice” is the Manning “Deal of the Day”[…]

Disable ARC Compilation in Xcode for an iOS/Objective-C File

In some cases, you want to disable ARC in your project just for one or some subset of files. Usually this is the case, for me, that I’m using a file from an online repository that I don’t want to change for various reasons. The way to disable ARC for that file is in the Read more about Disable ARC Compilation in Xcode for an iOS/Objective-C File[…]

Changing iOS Font on All Widgets (UILabel, UIButton, etc.)

Sometimes it’s necessary to change the font on an app and you don’t want to go into Interface Builder and manually change them all. Ug. So you can recursively call a method to change the font on all subviews that respond to the setFont: method.

Check that it responds to the selector and call Read more about Changing iOS Font on All Widgets (UILabel, UIButton, etc.)[…]

Forward Geocode in iOS with CLGeocoder

Similar to the post about reverse geocoding, the forward geocoded uses CLGeocoder. I wrote a quick static method that takes an address string (e.g., “4700 Louisiana 22 #1, Mandeville, LA 70471”) and a completion handler. All this method does is create the CLGeocoder for you and make the call. It’s mostly just a way to Read more about Forward Geocode in iOS with CLGeocoder[…]

Reverse Geocode in iOS w/ CLGeocoder

If you’re using CLLocationManager to obtain the user’s location, you can add some code in the delegate method to reverse geocode the user’s location…

Alloc-init a CLGeocoder and call reverseGeocodeLocation: w/ the location passed in (or any location) and a completion handler. I’m storing it in a instance variable to use later. Here’s some code Read more about Reverse Geocode in iOS w/ CLGeocoder[…]

iOS Email Aliases for From field

I have several domains and a) want to check them all from 1 account and b) want to be able to write from them using that one account.

This isn’t tough w/ web clients (I use Yahoo!) but for my iOS devices it has the added challenge that I want to use the native client. That way if an app kicks me to the email UI, I can carry on as usual.

So the other emails are just forwards to my Yahoo account. No problem. But to have them as options to write from is different.

I found a couple sites that helped me figure out how to do this…
[…]

Manning: iOS in Practice – RELEASED!

iOS in Practice is a hands-on guide with 98 specific techniques to help solve the specific problems youll encounter over and over as you work on your iPhone and iPad apps. Youll dig into the practical nuts and bolts of applying views, view controllers, table views and cells, audio, images, graphics, file structure—and more. Examples Read more about Manning: iOS in Practice – RELEASED![…]

ASIHTTPRequest example code – All-Seeing Interactive

    I roll my own for most URL/HTTP communication, but I hadn’t messed w/ multipart image posts in a while. I found the class I wrote a while back (based on this) but wanted to try ASIHTTPRequest. Their doco is well put together and it’s fairly easy to implement… To send POST data in Read more about ASIHTTPRequest example code – All-Seeing Interactive[…]