open-menu closeme
Home
Development icon
Apple Dev Android Dev Firebase Software Biz
About icon
Profile Portfolio Resume
linkedin mastodon github rss
  • 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
  • Integrating Firebase with Google Big Query for Realtime Mobile App Analysis

    calendar Jun 6, 2021 · 10 min read · Google Cloud  ·
    Share on: twitter facebook linkedin copy

    Introduction Well designed mobile and web apps incorporate platforms such as Google Analytics, Amplitude, Mixpanel and similar services. These services are important tools to achieve one or more tactical objectives: Tracking unique users, launch frequency, clickstream behavior and feature usage helps in planning which …


    Read More
  • Swift Closures Field Notes

    calendar Feb 9, 2021 · 8 min read · Swift  ·
    Share on: twitter facebook linkedin copy

    General Notes Closures are reference types Global functions are closures that have names and capture no values Closures are commonly used as callback functions for network API requests The parameter to the .sorted() and .sort() functions accept closures--which illustrates that closures can also be used in …


    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
  • Swift String Field Notes

    calendar Jan 31, 2021 · 5 min read · Swift  ·
    Share on: twitter facebook linkedin copy

    Constructing Strings String from Literal 1 let str = "Hello, dog!" 2 let str2 = "Hello, 🐶!" Including Escaped Characters 1 print("Backslash: \") 2 print("Tab: \t") 3 print("LF: \nThis is on the next line") 4 print ("CR\r") 5 print("Single Quote: '") 6 …


    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
  • Swift Dictionary Field Notes

    calendar Jan 28, 2021 · 6 min read · Swift  ·
    Share on: twitter facebook linkedin copy

    Dictionary Fundamentals A Dictionary, provided by Foundation, is a type of hash table that stores key/value pairs. Keys must conform to Hashable Access to elements is O(1) Derived from NSDictionary Best used for key/value storage where lookup by key is the primary use case. However, Apple has added a lot of handy …


    Read More
  • Using DispatchGroup in SwiftUI

    calendar Jan 21, 2021 · 10 min read · iOS  ·
    Share on: twitter facebook linkedin copy

    This post covers how to use the Grand Central Dispatch's DispatchGroup object to coordinate separate web requests so that UI updates can be completed at the same time, even when asynchronous requests aren't guaranteed to return in a predictable order. This post is primarily a tutorial of using GCD's DispatchGroup, and …


    Read More
  • Swift high-order reduce usage with custom types

    calendar Jan 20, 2021 · 7 min read · Swift  ·
    Share on: twitter facebook linkedin copy

    What is Reduce? Map is a general term that has roots in other technologies (such as Hadoop big data processing, which is where I've used it before 🙂). Reduce means to iterate over a sequence of objects, and perform some operation on each one, returning some summary value computed from the entire set. Map and Reduce are …


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

Categories

APPLE 22 ANDROID 2 FIREBASE 1 SOFTWAREBIZ 1

Tags

IOS 13 SWIFT 7 UIKIT 6 SWIFTUI 4 BLUETOOTH 2 APP-STORE 1 DATA-VIZ 1 GOOGLE-CLOUD 1 JAVASCRIPT 1 JETPACK-COMPOSE 1 MACOS 1

Recent Posts

  • Using iOS 16 view modifiers with iOS 15 targets
  • Checking for Google Play Services with Kotlin
  • Accepting Credit Cards for In-App Purchase of Physical Goods
  • Apple’s new Unlisted App Distribution model
  • Check if a SwiftUI View is in Preview
  • Adding a dropdown menu to a Jetpack Compose TopAppBar
  • Create an ESP32 BLE peripheral for iOS #2
  • Create an ESP32 BLE peripheral for iOS #1

Copyright  Rob Kerr. All Rights Reserved

Mastodon Links
Follow on mas.to
Follow on a2mi.social
Follow on iosdev.space

to-top