open-menu closeme
Home
Development icon
Apple Dev Android Dev Firebase Software Biz
About icon
Profile Portfolio Resume
linkedin mastodon github rss
  • Swift high-order map usage with custom types

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

    What is Map? Map is a term that has roots in other technologies (such as Hadoop big data processing, which is where I've used it before 🙂). Map means to iterate over a sequence of objects, and perform some operation on each one, returning a new sequence of objects as the final output. The operation performed is …


    Read More
  • Sorting collections of custom types using higher order functions in Swift

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

    This post is a cheat sheet for sorting sequences of custom objects using Swift's sort operators. While sorting simple types (String, Int) are covered well in Apple's documentation on the subject and in many other places, I've focused below on sorting custom object types, which is more relevant to my daily work. The …


    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
  • Drawing with Core Graphics using Swift

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

    This techique illustrates a mid-level technique: impelmenting custom Core Graphics drawing in a UIView. Often a custom effect in a View can be implemented by adding subviews and positioning them with constraints. But other times, you just need to take over and draw what you need. In those cases--CoreGraphics to the …


    Read More
  • iOS Image Caching for UIKit Apps

    calendar Dec 28, 2020 · 7 min read · iOS UIKit  ·
    Share on: twitter facebook linkedin copy

    The most common approach to displaying images in an iOS application is to include images in asset catalogs compiled into and shipped with the app. For images that are provided at design time and never change, this is nearly always the best approach. There are some scenarios where bundling images isn't possible or …


    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