Open in app

Sign In

Write

Sign In

Tolga Taner
Tolga Taner

161 Followers

Home

About

Jan 25

Combinest Error Handling in Swift

Using tryMap, catch, replaceError operations and Fail Publisher — Error handling provides us catching an error during an application lifecycle in the mobile development. When we develop the app by written imperatively in Swift such as try-catch, Result failure case are significant to catch any error. In Combine, differently, it pushes us to handle catching an error at the…

Combine

3 min read

Combinest Error Handling in Swift
Combinest Error Handling in Swift
Combine

3 min read


Jan 8

Just in Swift

Get an Idea About Combine with UIKit — Just is a struct that gets a generic value in its initialization for using asynchronous programming namely Combine. It only emits its value once to subscriber and it is finished so it is known as Publisher, too. …

Combine

1 min read

Just in Swift
Just in Swift
Combine

1 min read


Published in Better Programming

·Sep 15, 2022

Building a Command Line Tool using Argument Parser in Swift

Share Xcode Snippets With Your Team — Argument Parser is a new package introduced by Apple. It makes writing a command line tool easier to automate common tasks. Argument Parser has three property wrappers: Argument, Flag, and Option. Argument It is a value set in our argument variable when running the script. For example, we will run swift…

Swift

2 min read

Building a Command Line Tool in Swift To Share Xcode Snippets With Your Team
Building a Command Line Tool in Swift To Share Xcode Snippets With Your Team
Swift

2 min read


Jul 3, 2022

Preventing Index out of Range with Safe in Swift

Safe provides bounds-checking for existing collections in Swift. It prevents Index out of range error when we deal with for instance accessing collection’s element to show for every table view or collection view. It unwraps the value of collection if it is not inside it, gives a nil value. Therefore…

Type Safe

2 min read

Preventing Index out of Range with Safe in Swift
Preventing Index out of Range with Safe in Swift
Type Safe

2 min read


Apr 16, 2022

Automate Repeated Code Blocks in Swift

Meet XCTemplate — Sometimes almost every task is often similar to another one from some aspects. There is always a boilerplate code for those tasks and there are common part of each other. For example, if we want to list something, we always prefer UITableView or we want to list and configure something…

Template

3 min read

Automate Repeated Code Blocks in Swift
Automate Repeated Code Blocks in Swift
Template

3 min read


Published in Better Programming

·Mar 19, 2022

Color Blending and Off-Screen Rendering in Swift

Improve performance for older iPhones — Both color blending and off-screen rendering are an unheeded topic for iOS development owing to the power of iPhones. On the other hand, it is not only a hot topic for iOS interviews, but also if you are working with lots of high-resolution images in a list for an old…

Swift

3 min read

Color Blending and Off-Screen Rendering in Swift
Color Blending and Off-Screen Rendering in Swift
Swift

3 min read


Mar 15, 2022

Cache in Swift

Working with Data Locally — Caching provides the apps more responsive and useful for example, when it is offline mode and prevents data loading over and over again. Thanks to caching, we can easily use app features as we want. In iOS, the device can delete smartly all caches when it is running on low…

Cache

2 min read

Cache in Swift
Cache in Swift
Cache

2 min read


Mar 7, 2022

Live Preview UIKit in Swift

Inspect an UIViewController without running the project — Preview is a cool feature that comes with SwiftUI to show views in xCode without any running operation so, what if UIKit? For example, If you want to do same thing for UIKit to minimize service request count when drawing, coding some complex UI, you are bored about endless Xcode…

Preview

2 min read

Live Preview UIKit in Swift
Live Preview UIKit in Swift
Preview

2 min read


Published in Better Programming

·Feb 23, 2022

Encrypting Common Scenarios in Swift

With AES Encryption — Encryption is, I think, the most important topic in mobile development to prevent reverse engineering, stealing user-sensitive data at the present time. It sometimes can be ignored due to the development prioritization. There are lots of ways to protect user-sensitive data such as; end to end protection with an encryption…

Encryption

3 min read

Encrypting Common Scenarios in Swift
Encrypting Common Scenarios in Swift
Encryption

3 min read


Published in Better Programming

·Jan 19, 2022

A Look at CurrentValueSubject in Swift

Working with the Combine publisher in iOS — Apple announced new two publishers with Combine Framework are CurrentValueSubject, PassthroughSubject. These are also known as custom publishers that iOS developers can create and use for binding, subscribing to primitive-non primitive types. In this story, I will explain what is CurrentValueSubject with an example. CurrentValueSubject It is a custom publisher that…

Swift

2 min read

A Look at CurrentValueSubject in Swift
A Look at CurrentValueSubject in Swift
Swift

2 min read

Tolga Taner

Tolga Taner

161 Followers

iOS Developer

Following
  • Halil Özel

    Halil Özel

  • Steven Curtis

    Steven Curtis

  • Mark Moeykens

    Mark Moeykens

  • Gökhan Ayrancıoğlu

    Gökhan Ayrancıoğlu

  • Anupam Chugh

    Anupam Chugh

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech