Andrew Bancroft
478 FOLLOWERS
Andrew Bancroft is passionate about discovery and about sharing new insights that come his way. Here, he writes about technology and software development with a primary emphasis on iOS development in Swift, and .Net development in C#.
Andrew Bancroft
3y ago
Persistence prevails: Dave shares his iOS developer journey
After watching Dave Jacobsen’s story on YouTube, I found myself asking, “When would I have given up if I were in Dave’s shoes?”
He shares about the sobering reality of how much effort and dedication it really takes to transition careers. But he also proves it’s possible if you persist!
I'm excited to share the story of how I became an iOS developer?
No sensationalizing and no sugar coating?♂️
Just my honest story of trudging through 500 rejections.
I hope this helps exhibit what a career change into iOS can look like.https://t.co ..read more
Andrew Bancroft
3y ago
Whyyy would I need an old version of Xcode?
Valid question – it’s not often you’ll need one. Two reasons off the top of my head though:
1) To compare with your previous experience
Perhaps you’re just wanting to see what things “used to be like”.
Maybe you’re struggling with the infamous “this code worked before…now it doesn’t…what changed?” and you just want to build your project with a prior version of Xcode in order to rule it out as the culprit.
Grabbing an older version of Xcode could help you here.
2) To upgrade a very old project to newer versions of Swift
I hit this one the other day. I ..read more
Andrew Bancroft
3y ago
Developing for iOS is a valuable and in-demand skill, but if you haven’t developed in the Apple world before, it can be surprisingly different.
In this course, iOS 14: Getting Started, you’ll quickly get up and running using Xcode 12, Swift 5, and SwiftUI to build great iOS apps and tap into the latest features in iOS 14.
Resources
iOS 14 Getting Started
Course Outline
First, you’ll see the tools and learn how to create iOS apps with adaptive user interfaces that work on multiple devices.
Next, you’ll learn how to manage iOS projects and define the building blocks of your own iOS applicat ..read more
Andrew Bancroft
3y ago
This is merely a breadcrumb for finding the Apple Developer documentation page where all of the possible SwiftUI Environment keys are listed.
Resources
Apple Documentation ➡️ SwiftUI ➡️ State and Data Flow ➡️ EnvironmentValues ..read more
Andrew Bancroft
3y ago
June is an invigorating time for iOS developers worldwide.
Invigorating… And exhausting.
Me personally? The flurry of new-ness often has me feeling overwhelmed.
WWDC - The Worldwide Developer Chase
When it comes time for WWDC, are you like me? Do you conjure up a mental image of a race?
It’s as if all of us who are enrolled in the Apple Developer Program line up at the starting line and wait for the pistol to fire, signaling the sprint that is the Worldwide Developer Conference Chase.
The race metaphor induces pressure.
Pressure to figure things out as quickly as you can.
Pressure to be one of ..read more
Andrew Bancroft
3y ago
Manually Testing StoreKit Code Development Workflow Changes
The previous workflow for setting up in-app purchases was a bit disjointed.
You’d have to create your app in Xcode… then jump out to App Store Connect to define your app there… set up your digital products there (in App Store Connect)… and then jump back to Xcode to write your StoreKit code.
Now, you can get started in Xcode, and stay in Xcode. Here’s how:
Go to the File menu
Click New ➡️ File
Type “storekit” into the filter
Click Next to add a StoreKit Configuration File ✅
From there, you get to add the digital products you intend ..read more
Andrew Bancroft
3y ago
Monetizing apps is challenging. In this course, Implementing In-App Purchases on iOS, you’ll learn to offer digital products and services directly within your app as in-app purchases.
Resources
Implementing In-App Purchases on iOS
Course Outline
First, you’ll explore how to translate business requirements into digital products and configure them in App Store Connect and Xcode.
Next, you’ll discover how to build and test a store within your app using StoreKit.
Finally, you’ll learn how to make sure purchases made within your app are authentic, and unlock content that’s been purchased by yo ..read more
Andrew Bancroft
3y ago
Setting the stage with a use case for checking the original_application_version
The task appears to be simple. Suppose that…
You have an existing app on the app store that’s currently at version 1.2
You want to shift to the “freemium” model by implementing in-app purchases starting with version 1.3
You want to be fair to previous-purchasers of my app (anyone who downloaded the app between version 1.0 and 1.2)
Therefore…
You want to check to see if someone originally purchased version 1.2 or below of your app so that you can “grandfather them in”
To figure this out, you’ll need to implement ..read more
Andrew Bancroft
3y ago
Privacy Notice
This privacy notice discloses the privacy practices for and applies solely to information collected by the following websites and apps (SERVICE):
www.andrewcbancroft.com
Ten Read Ten Said
This page is used to inform website visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. We will not u ..read more
Andrew Bancroft
3y ago
CPU cannot execute an instruction
Sometimes we developers don’t play fair with the CPU.
Suppose that I wrote some code that ended up telling the CPU to divide by zero.
That’s… impossible… for you and the CPU.
iOS is ensuring its own stability
iOS may be enforcing a fundamental requirement or policy for its own stability.
Apple isn’t going to let developers wreck the overall user experience of iOS.
Examples:
Your app takes forever to launch
Your app is using too much memory
iOS will opt for killing your app to protect the user’s overall iOS experience.
Swift runtime is preventing failure
Ther ..read more