---
title: "Christine Chang (@xtnchang) | Hashnode"
description: "iOS Developer based in the Bay Area ☀️. Read the latest articles by Christine Chang on Hashnode."
url: "https://hashnode.com/@xtnchang"
---

@xtnchang

# Christine Chang

@xtnchang · San Jose, California · Joined December 2022

iOS Developer based in the Bay Area ☀️

### [Configuring Subviews In Collection View Cell After The Init Call](https://yoursswiftly.hashnode.dev/configuring-subviews-in-collection-view-cell-after-the-init-call?utm_source=hashnode&utm_medium=feed)

In some cases, you may need to add and configure subviews in a UICollectionViewCell’s custom configure method that gets invoked outside of the cell’s init. For example, suppose you are configuring a s

2 min read · [yoursswiftly.hashnode.dev](https://yoursswiftly.hashnode.dev/configuring-subviews-in-collection-view-cell-after-the-init-call?utm_source=hashnode&utm_medium=feed)

[Oct 17, 2024](https://hashnode.com/posts/configuring-subviews-in-collection-view-cell-after-the-init-call/671197b7d96b97631396b01b)

### [Swift Interviewing Syntax Tips](https://yoursswiftly.hashnode.dev/swift-interviewing-syntax-tips?utm_source=hashnode&utm_medium=feed)

I’ve spent some time recently preparing for and completing a few rounds of interviews in Swift. Along the way, I learned a couple syntax tricks that can help simplify code and save time. Tip #1: Convert strings to character arrays for easier indexing...

2 min read · [yoursswiftly.hashnode.dev](https://yoursswiftly.hashnode.dev/swift-interviewing-syntax-tips?utm_source=hashnode&utm_medium=feed)

[Apr 16, 2023](https://hashnode.com/posts/swift-interviewing-syntax-tips/643ba2ced25e8d162ddce3a5)

### [Defensive Programming](https://yoursswiftly.hashnode.dev/defensive-programming?utm_source=hashnode&utm_medium=feed)

Defensive programming is the philosophy of promoting bug-resistant code practices, specifically by prioritizing readability and predictability. On my previous team, we also emphasized code approaches that minimize human error. This is especially impo...

2 min read · [yoursswiftly.hashnode.dev](https://yoursswiftly.hashnode.dev/defensive-programming?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/defensive-programming/63afb694bd02b553d9baf875) [Jan 2, 2023](https://hashnode.com/posts/defensive-programming/63afb694bd02b553d9baf875)

### [Converting Non-trailing Closures to Trailing](https://yoursswiftly.hashnode.dev/converting-non-trailing-closures-to-trailing?utm_source=hashnode&utm_medium=feed)

While addressing SwiftLint errors, a common error I’ve encountered is the trailing\_closure violation, which dictates that the trailing closure syntax should be used whenever possible. I wanted to share a few examples here of converting non-trailing c...

2 min read · [yoursswiftly.hashnode.dev](https://yoursswiftly.hashnode.dev/converting-non-trailing-closures-to-trailing?utm_source=hashnode&utm_medium=feed)

[Oct 4, 2022](https://hashnode.com/posts/converting-non-trailing-closures-to-trailing/63afb4a3bd02b553d9baf873)

### [Clean Coding in Swift](https://yoursswiftly.hashnode.dev/clean-coding-in-swift?utm_source=hashnode&utm_medium=feed)

One of the most satisfying things as a developer is seeing a verbose piece of code get converted to a cleaner, more elegant variation of what it was before. I love when teammates make these types of suggestions on code reviews, and wanted to share a ...

2 min read · [yoursswiftly.hashnode.dev](https://yoursswiftly.hashnode.dev/clean-coding-in-swift?utm_source=hashnode&utm_medium=feed)

[Aug 21, 2022](https://hashnode.com/posts/clean-coding-in-swift/63af9cb6831adc04e75cb7fc)
