---
title: "Cong Le (@CongLe) | Hashnode"
description: "iOS Mobile Developer @Ally. Read the latest articles by Cong Le on Hashnode."
url: "https://hashnode.com/@CongLe"
---

@CongLe

# Cong Le

@CongLe · California, US · Joined April 2023

iOS Mobile Developer @Ally

### [Passing closure as an argument while initializing an object in Swift and SwiftUI](https://conglesolutionx.hashnode.dev/passing-closure-as-an-argument-while-initializing-an-object-in-swift-and-swiftui?utm_source=hashnode&utm_medium=feed)

Passing closure as an argument while initializing an object in Swift and SwiftUI

6 min read · [conglesolutionx.hashnode.dev](https://conglesolutionx.hashnode.dev/passing-closure-as-an-argument-while-initializing-an-object-in-swift-and-swiftui?utm_source=hashnode&utm_medium=feed)

[Oct 26, 2023](https://hashnode.com/posts/passing-closure-as-an-argument-while-initializing-an-object-in-swift-and-swiftui/6539ba69eb4f499fae6b24db)

### [Previewing UIViews and UIViewControllers With SwiftUI Preview](https://conglesolutionx.hashnode.dev/previewing-uiviews-and-uiviewcontrollers-with-swiftui-preview?utm_source=hashnode&utm_medium=feed)

Steps on how to do it 1. Create a new Cocoa Touch Class File template as a subclass of UIViewController using Swift language. Name that file as BaseUIViewController 2. Replace the boilerplate code with this example code snippet import UIKit import Sw...

3 min read · [conglesolutionx.hashnode.dev](https://conglesolutionx.hashnode.dev/previewing-uiviews-and-uiviewcontrollers-with-swiftui-preview?utm_source=hashnode&utm_medium=feed)

[Oct 10, 2023](https://hashnode.com/posts/previewing-uiviews-and-uiviewcontrollers-with-swiftui-preview/652527f6bd286de1be25803b)

### [Objective-oriented Programming Principles in Swift](https://conglesolutionx.hashnode.dev/objective-oriented-programming-principles-in-swift?utm_source=hashnode&utm_medium=feed)

Object-oriented programming has four main principles: Encapsulation, Inheritance, abstraction, and polymorphism. Let's see how these four critical principles of Object-Oriented Programming (OOP) apply in Swift. 1. Encapsulation Encapsulation is an OO...

2 min read · [conglesolutionx.hashnode.dev](https://conglesolutionx.hashnode.dev/objective-oriented-programming-principles-in-swift?utm_source=hashnode&utm_medium=feed)

[Oct 10, 2023](https://hashnode.com/posts/objective-oriented-programming-principles-in-swift/6525153055fc2c0dba42df4f)

### [Adding Swift Font to your SwiftUI app](https://conglesolutionx.hashnode.dev/adding-swift-font-to-your-swiftui-app?utm_source=hashnode&utm_medium=feed)

Adding custom fonts to your Xcode project involves adding font files to your project and declaring them in your app's Info.plist. The following steps detail the procedure: Add Font Files to Your Project Drag and drop your .ttf or .otf font files int...

4 min read · [conglesolutionx.hashnode.dev](https://conglesolutionx.hashnode.dev/adding-swift-font-to-your-swiftui-app?utm_source=hashnode&utm_medium=feed)

[Oct 10, 2023](https://hashnode.com/posts/adding-swift-font-to-your-swiftui-app/6524e35bed0b7361e844747b)
