open-menu closeme
Home
Development icon
Apple Dev Android Dev Firebase Software Biz
About icon
Profile Portfolio Résumé
linkedin mastodon github rss
  • Using iOS 16 view modifiers with iOS 15 targets

    calendar Sep 20, 2022 · 6 min read · SwiftUI iOS  ·
    Share on: twitter facebook linkedin copy

    With each new version of iOS, Apple introduces new SwiftUI features to add new features and plug holes in the framework. This article provides a solution for using new view modifiers that ship with new iOS versions--without raising the app's minimum iOS target setting. What are View Modifiers If you've used SwiftUI …


    Read More
  • Check if a SwiftUI View is in Preview

    calendar Nov 17, 2021 · 2 min read · SwiftUI iOS  ·
    Share on: twitter facebook linkedin copy

    SwiftUI Preview is a fantastic piece of development tooling to quickly iterate UI designs in Xcode. But sometimes the code in your view just doesn't work--or worse it crashes the preview engine. How can we work around this issue? I ran into a Preview crash issue in a SwiftUI view containing a Sign in with Apple button. …


    Read More
  • Create an ESP32 BLE peripheral for iOS

    calendar Aug 8, 2021 · 17 min read · Bluetooth iOS ESP32 Arduino  ·
    Share on: twitter facebook linkedin copy

    This post is part one of a series targeted at helping mobile app developers build their own BLE Peripherals using inexpensive ESP32 hardware in less than 100 lines of code. This can help to more fully understand the BLE protocol. If you’re an iOS developer who would like to build their own BLE Peripherals for learning …


    Read More
  • Create an ESP32 BLE peripheral for iOS

    calendar Aug 8, 2021 · 16 min read · Bluetooth iOS ESP32 Arduino  ·
    Share on: twitter facebook linkedin copy

    This post is part two of a series targeted at helping mobile app developers build their own BLE Peripherals using inexpensive ESP32 hardware in less than 100 lines of code. This can help to more fully understand the BLE protocol. If you’re an iOS developer who would like to build their own BLE Peripherals for learning …


    Read More
  • Bridging Javascript and WKWebkit

    calendar Jun 21, 2021 · 7 min read · JavaScript iOS UIKit  ·
    Share on: twitter facebook linkedin copy

    Many mobile applications incorporate remote web pages, either as passive (static) content — or as in this case as integral parts of the UI. Using the WebKit/WKWebView techniques presented here, your native apps can be better integrated with web content and provide a superior experience to end-users. Two-way Integration …


    Read More
  • A visual reference to SwiftUI DatePicker styling for iOS and macOS

    calendar Feb 8, 2021 · 3 min read · SwiftUI iOS macOS  ·
    Share on: twitter facebook linkedin copy

    Each section below provides a snippet of code that configures a particular DatePicker, followed by the UI component created by iOS and macOS output for the specific component configuration. -- Some SwiftUI styles are not available on both iOS and macOS. For example the Wheel style is iOS only; the Stepper style is …


    Read More
  • Creating an iOS bar chart in code using Swift and UIKit

    calendar Feb 3, 2021 · 12 min read · Data Viz iOS UIKit  ·
    Share on: twitter facebook linkedin copy

    In this post, I'll build a simple bar chart in code, and add it to a the default UIViewController created by an Xcode template project. The techniques you'll learn in this article are: Creating a UIView entirely in code Adding Auto Layout constraints to views in the hierarchy using code Calculating view sizes and …


    Read More
  • Using automatic API request retries make iOS apps more resilient

    calendar Jan 29, 2021 · 8 min read · iOS  ·
    Share on: twitter facebook linkedin copy

    This technique is demonstrated within the context of a SwiftUI application, but the real topic of discussion is the NetworkClient singleton used by the SwiftUI app. There's really no difference between how this technique applies for UIKit or AppKit, so it should still be relevant. App Architecture The overall app for …


    Read More
  • Capture a UIView as image using Swift

    calendar Jan 4, 2021 · 3 min read · iOS UIKit  ·
    Share on: twitter facebook linkedin copy

    This technique demonstrates the simple but useful task of capturing the contents of a UIView as a JPEG image data object. The resulting Data object can be written to a .jpg file, uploaded to a web service, or sent as an e-mail attachment (as is covered in this related post). Application This technique is relatively …


    Read More
  • Sending Email with Image Attachments in Swift

    calendar Jan 4, 2021 · 4 min read · iOS UIKit  ·
    Share on: twitter facebook linkedin copy

    Sending content from an iOS application to external sources like email is a common requirement. This quick post summarizes the steps to implement this feature. Aa an added twist, the project used for this technique post includes capturing an image from one of the app's UIViews. Below is a video demo of the application …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Categories

APPLE 23 PROGRAMMING 13 FIREBASE 4 ANDROID 3 STRATEGY 2

Series

COMPARATIVE-SYNTAX 4

Tags

SWIFT 16 IOS 12 KOTLIN 10 JAVASCRIPT 9 UIKIT 5 SWIFTUI 4 BACKEND 3 ARDUINO 2 BLUETOOTH 2 CLOUD-FUNCTION 2 ESP32 2 JETPACK-COMPOSE 2 APP-STORE 1 DATA-VIZ 1
All Tags
APP-STORE1 ARDUINO2 BACKEND3 BLUETOOTH2 CLOUD-FUNCTION2 DATA-VIZ1 ESP322 GOOGLE-CLOUD1 IN-APP-PAYMENTS1 IOS12 JAVASCRIPT9 JETPACK-COMPOSE2 KOTLIN10 MACOS1 SWIFT16 SWIFTUI4 UIKI1 UIKIT5 XCODE1
[A~Z][0~9]

Recent Posts

  • Awaiting Kotlin suspend functions in serial, parallel and lazy startup modes
  • Filtering Collections in Swift, Kotlin and JavaScript
  • REPL Tool Reference
  • Android Jetpack Compose View Model Eventing Architecture
  • Using Firebase Auth claims with Swift, Kotlin and JavaScript
  • Simple For Loop in Swift, Kotlin and JavaScript
  • URL Encoding GET parameters in Swift
  • Async/Await Syntax in Swift, Kotlin and JavaScript

Copyright  Rob Kerr. All Rights Reserved

to-top