AWS API Gateway with HTTP, Lambda, DynamoDB, and iOS (Online Course)

AWS API Gateway with HTTP, Lambda, DynamoDB, and iOS   AWS can be used to create a variety of features on the server side. Many of those can work together and create an entire online set of storage and functionality with little-to-no code. Check out this course and see how Lambda (serverless functions) can be Read more about AWS API Gateway with HTTP, Lambda, DynamoDB, and iOS (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 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[…]

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

What to Expect From Apple’s September 7 Event – Video

Source: What to Expect From Apple’s September 7 Event We’re just a few days away from Apple’s annual fall event, where we expect to see the launch of the new iPhone 7 and iPhone 7 Plus, a second-generation Apple Watch with new bands, and refreshed Beats products. We may also see the debut of Apple’s rumored wireless “AirPods” earbuds, Read more about What to Expect From Apple’s September 7 Event – Video[…]

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

wwdc keynote summary video

Watch Apple’s Two-Hour 2016 WWDC Keynote in 7 Minutes – Mac Rumors

It’s even less time if you watch it at 1.5 speed… Apple today unveiled new versions of iOS, watchOS, tvOS, and macOS, all of which are jam-packed with new features. iOS in particular was referred to as Apple’s biggest iOS update ever, with major improvements to Messages, Apple Music, Siri, and tons of other minor Read more about Watch Apple’s Two-Hour 2016 WWDC Keynote in 7 Minutes – Mac Rumors[…]

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

Apple’s App Review Process Now Takes as Little as Two Days – Mac Rumors

Good news… Apple’s app review process has become significantly faster during the first five months of 2016, according to AppReviewTimes.com, a website that tracks average App Store review times for both the iOS and Mac App Store using data crowdsourced from developers on both platforms. Source: Apple’s App Review Process Now Takes as Little as Read more about Apple’s App Review Process Now Takes as Little as Two Days – Mac Rumors[…]

app cost

How Much Time and Money It Takes to Develop a Mobile App

Many mobile apps are so simple you might be tricked into thinking they took almost no time or effort to create. This infographic, outlining the mobile app development process, however, tells us that there’s a lot more to it.The graphic comes from app development company NineHertz. It says that it takes almost 18 weeks to Read more about How Much Time and Money It Takes to Develop a Mobile App[…]

iOS 9.0 – Use HTTPS Exclusively for App Transport Security

Apple is “strongly” suggesting you use HTTPS only going forward with iOS 9 for App Transport Security. When Apple tends to make something a default (even if they allow exceptions) it usually means it will be required later. Hint: Change. App Transport Security App Transport Security (ATS) enforces best practices in the secure connections between an Read more about iOS 9.0 – Use HTTPS Exclusively for App Transport Security[…]

Accessing Info.plist within your iPhone App

I needed to access the app name w/in my app. I figured I cd get it from the Info.plist display name or executable. Yep. See all the values w/ this (print out below)… [code] NSLog(@"%@", [[NSBundle mainBundle] infoDictionary]); [/code] Or get a single value w/ this… [code] NSString *exeName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"]; [/code] You Read more about Accessing Info.plist within your iPhone App[…]

iPhone HTTP Cookie support

In trying to figure out how to get the cookies from the headers in HTTP and then return them on subsequent calls, I found this… NSHTTPCookieStorage *cookies = [NSHTTPCookieStorage sharedHTTPCookieStorage]; [cookies setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways]; Works like a champ. 🙂

iPhone Dev Book

I recently signed a contract with Manning Publishing to develop and write a new book on iPhone development. Details here.

Add a spell checker to your C# applications

Add a spell checker to your C# applications using Sentry’s spellchecker Steps once you get the download the eval: copy DLL (C:Program Filesssceruntimessce5532.dll) and C:Program Filesssceruntimelex folder to target dir add: “using Sentry;” to any classes using the spell checker set the eval key: SpellingCheckerEngine.SetKey(<eval key from email>); set lex path: SpellingCheckerEngine.SetMainLexPath(<target dir> + “\lex”); Read more about Add a spell checker to your C# applications[…]

ILMerge – compile your DLLs into your EXE (C#)

ILMerge – Microsoft Research If you want to compile your DLLs into your C# output EXE, use this command-line too called ILMerge. There are good docs for the API and such and there’s command line help, but the core syntax is: C:ilmerge /out:<filename> <primary assembly> [<other assemblies>…] NOTE: Your out filename can’t be the same Read more about ILMerge – compile your DLLs into your EXE (C#)[…]

New Leaf IT

Forgot about IT? Just don’t want (can’t) do it? Check out… New Leaf IT Small businesses pick their battles focusing on Customer Service, Quality, or Expertise. A department that commonly gets less attention is IT.