Open in app

Sign In

Write

Sign In

Pete Smith
Pete Smith

428 Followers

Home

About

Published in Zendesk Engineering

·Oct 26, 2021

iOS How-to — Capture Touch Events Outside UIView Bounds

When working with touch events in iOS, UIKit provides most of what we need. In the case of UIButton, we register the action we want to take when a user taps a button. When a user taps anywhere on the screen, and that tap is inside the frame of our…

IOS

6 min read

iOS How-to — Capture Touch Events Outside UIView Bounds
iOS How-to — Capture Touch Events Outside UIView Bounds
IOS

6 min read


Published in Zendesk Engineering

·Aug 31, 2021

Swift Concurrency: An Introduction

The Swift concurrency roadmap was first outlined in a post to the Swift forums in October 2020, with its stated goal being to “make concurrent programming in Swift convenient, efficient, and safe”. In this article, we take a look at why a new concurrency model is being introduced to Swift…

Swift

9 min read

Swift Concurrency: An Introduction
Swift Concurrency: An Introduction
Swift

9 min read


Published in Zendesk Engineering

·Jul 5, 2021

UI Testing iOS Apps with the Robot Pattern

In his book Succeeding with Agile, Mike Cohn defined the concept of a test pyramid. Mike presented a visual metaphor depicting a pyramid of layers, where each layer in the pyramid represented a different type of software test. …

IOS

12 min read

UI Testing iOS Apps with the Robot Pattern
UI Testing iOS Apps with the Robot Pattern
IOS

12 min read


Jan 30, 2021

Covid-19: How My Coronavirus Symptoms Progressed

I just felt…different. Something was off, but I couldn’t say what exactly. I even told my wife that day that I just felt…weird. I didn’t feel sick exactly, more like I was not myself. …

Covid 19

3 min read

Covid-19: How My Symptoms Progressed
Covid-19: How My Symptoms Progressed
Covid 19

3 min read


Published in Zendesk Engineering

·Sep 22, 2020

App Onboarding with SwiftUI

Onboarding is the process of helping users to understand an app, and hopefully, encouraging them to continue to use it. Onboarding flows usually consist of one or more screens explaining how a user can use the app, and often involve some input from the user, e.g …

5 min read

App Onboarding with SwiftUI
App Onboarding with SwiftUI

5 min read


Published in Zendesk Engineering

·Jul 15, 2020

SwiftUI & UIView — A Simple Mistake

“Experience is simply the name we give our mistakes.” I recently made a simple mistake. An implementation which appeared correct, based on its initial usage, turned out to be incorrect when its usage changed. But before we start, although this post describes the mistake I made and shows you how…

Swiftui

5 min read

SwiftUI & UIView — A Simple Mistake
SwiftUI & UIView — A Simple Mistake
Swiftui

5 min read


Published in Zendesk Engineering

·Jun 4, 2020

A Github Actions Workflow to Generate & Publish your Hugo Website

This short post describes a Github Actions workflow to generate your Hugo-based website and publish it to Github Pages. To learn more about Hugo and GitHub Pages, and how to use them to build your website, see my previous post. What is Github Actions Github Actions is a service from Github which allows you…

2 min read

A Github Actions Workflow to Generate & Publish your Hugo Website
A Github Actions Workflow to Generate & Publish your Hugo Website

2 min read


Published in Zendesk Engineering

·Sep 5, 2018

Xcode 10’s build system and Code Generation (R.swift)

Xcode 10 includes a new build system, enabled by default, which improves build performance. This is a very welcome improvement. R.swift is an open source library which makes it both easier and type-safe to use resources such as images, fonts, and segues. …

Swift

2 min read

Xcode 10’s build system and Code Generation (R.swift)
Xcode 10’s build system and Code Generation (R.swift)
Swift

2 min read


Published in Zendesk Engineering

·Jun 18, 2018

iOS How-to — Add Adaptive constraints to support a Universal App

Xcode’s interface builder allows us to configure layouts which will automatically change shape and size based on a range of environment variables, such as: Device screen size (e.g iPhone or iPad) Device Orientation (portrait or landscape) Adaptation (multi-tasking on iPad) In this post, we will learn how to add NSLayoutConstraints…

IOS

7 min read

iOS How-to — Add Adaptive constraints to support a Universal App
iOS How-to — Add Adaptive constraints to support a Universal App
IOS

7 min read


Published in Zendesk Engineering

·Apr 10, 2018

Xcode Quick Tip – Testing your layout for localization

The Zendesk Support app supports a number of languages, meaning that the strings we display in the app change, depending on the device language set. Recently we encountered buggy UI component positioning when the device language was changed from the default language (English). This is shown below with Dutch. Due…

IOS

2 min read

Xcode Quick Tip – Testing your layout for localization
Xcode Quick Tip – Testing your layout for localization
IOS

2 min read

Pete Smith

Pete Smith

428 Followers

Software Engineer @Zendesk. Occasional Medium writer. Sign up here https://superpeteblaze.medium.com/membership

Following
  • Mohammad Azam

    Mohammad Azam

  • Tobias van Schneider

    Tobias van Schneider

  • Ben Sandofsky

    Ben Sandofsky

  • Andrea Prearo

    Andrea Prearo

  • Thaciana Lima

    Thaciana Lima

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech