Open in app

Sign In

Write

Sign In

Steven Curtis
Steven Curtis

26K Followers

Home

About

10 hours ago

Adding a UITabBarController To a Swift Project

Can be tricky in iOS15 — For so long I’d only implemented UITabBarController using a storyboard. Can I do it now, programmatically? Must be possible. Before we begin Difficulty: Beginner | Easy | Normal | Challenging This article has been developed using Xcode 14.2, and Swift 5.7.2 Terminology: SwiftUI: A simple way to build user interfaces across Apple platforms Prerequisites: You…

Swift

4 min read

Adding a UITabBarController To a Swift Project
Adding a UITabBarController To a Swift Project
Swift

4 min read


1 day ago

Space UITableViewCells in a UITableView

Put gaps between! — Before we start Difficulty: Beginner | Easy | Normal | Challenging This article has been developed using Xcode 12.2, and Swift 5.3 Prerequisites This article is based on the [UITableView Programmatic Example](), and builds on that (although the code is given in this article I usually remove the storyboard using this technique Keywords and Terminology Row: The…

Swift

5 min read

Space UITableViewCells in a UITableView
Space UITableViewCells in a UITableView
Swift

5 min read


2 days ago

Use AttributedString in SwiftUI Before iOS 15

Surely Nobody Needs To? — The Problem Before iOS 15 AttributedString for SwiftUI wasn’t a thing. Something which might produce the following result:

Swift

3 min read

Use AttributedString in SwiftUI Before iOS 15
Use AttributedString in SwiftUI Before iOS 15
Swift

3 min read


3 days ago

Insertion Sort in Swift

The classic sorted and unsorted sub arrays — Difficulty: Beginner* | Easy | Normal | Challenging This article covers the classic sorting algorithm Merge Sort, and it’s implementation in Swift. This is seen as a beginner topic (first year Computer Science degree fare) but is certainly not easy. Terminology Algorithm: A process or set of rules to be followed …

Swift

2 min read

Insertion Sort in Swift
Insertion Sort in Swift
Swift

2 min read


3 days ago

Altering the Flow of an App

5 screens to 1 — If you wish to modify the flow of an App there are many different things that you should be aware of and think about before embarking on the change in your latest sprint. So what should you be thinking about if (say) your login process is to move from 5…

Software Development

3 min read

Altering the Flow of a Swift App
Altering the Flow of a Swift App
Software Development

3 min read


3 days ago

Daily Standup Myths

How to avoid these! — The standup A daily standup meeting is performed during Sprints, and functions to keep members of the development team aligned in order to reach the goal of the sprint. …

Software Development

3 min read

Daily Standup Myths
Daily Standup Myths
Software Development

3 min read


3 days ago

Floyd’s Cycle Detection Algorithm In Swift

Or how I forgot === in Swift — I’m not perfect my any means. I’ve just proven it with my latest attempt at a LeetCode problem. Given the head of a linked list, determine if the linked list contains a cycle. If you can see from the (too small, sorry) image above there is a cycle in that…

Software Development

5 min read

Floyd’s Cycle Detection Algorithm In Swift
Floyd’s Cycle Detection Algorithm In Swift
Software Development

5 min read


4 days ago

Swift: Using Depth-First Search for LeetCode Problems

Algorithms in Swift — Before we start Depth-first search for trees is commonly used for LeetCode challenges, even those rated as Medium or above on the platform. Prerequisites To follow along with this piece, you should be able to create a binary tree using insertions (although a simple implementation is shown below). It would be helpful to be…

Swift

3 min read

Swift: Using Depth-First Search for LeetCode Problems
Swift: Using Depth-First Search for LeetCode Problems
Swift

3 min read


5 days ago

Turbo-Boost Your Unit Tests in Xcode and Swift

Shortcuts and best practices — Unit tests are just as important as your normal programming code. Getting them right is important. Doing a good job is important. Get this right, do. Difficulty: Easy | Normal | Challenging Prerequisites Some basic understanding of functions and methods in Swift. Some String interpolation comes up later, but you can…

Software Development

8 min read

Turbo-Boost Your Unit Tests in Xcode and Swift
Turbo-Boost Your Unit Tests in Xcode and Swift
Software Development

8 min read


6 days ago

Testing the Sandwiches SwiftUI WWDC Code

Without the Hot Dogs References — I’ve previously written an article where I recreated the code from a Video from WWDC. I’m taking a view about the necessity of viewModels when using SwiftUI, and part of that investigation is around testing. Can I write even simple tests for that code, and get them working? …

Swiftui

2 min read

Testing the Sandwiches SwiftUI WWDC Code
Testing the Sandwiches SwiftUI WWDC Code
Swiftui

2 min read

Steven Curtis

Steven Curtis

26K Followers

stevecurtis.me

Following
  • Yuichi Fujiki

    Yuichi Fujiki

  • Theo Ben Hassen

    Theo Ben Hassen

  • Rajesh Banka

    Rajesh Banka

See all (5)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech