Sign in

Tweeting tips and tricks about #swift #xcode #apple Twitter @batikansosun Weekly Swift Blogging
Photo by Universal Eye on Unsplash

In software development, one of the challenges is software localization. You have to keep the code readable, simple, and understandable as well as providing a better experience for the user. I am not gonna deep dive into this topic.

In the native iOS applications we develop, the localized text management…

Photo by Rudy Dong on Unsplash

We were already familiar with the @ “at sign” in Objective-C. Then we were using @IBAction, @NSCopying, @UIApplicationMain examples in Swift language, and we thought it would be limited to these.

As time passed, Swift began to increase the use of @ prefixed attribute.

By way of the SwiftUI announcement…

Apple almost every year releases a main version of Xcode. And this version of Xcode comes up with several features and improvements.

I’m going to write about source editor improvements in Xcode 13. There is no need to prolong this, you have already heard it from somewhere. I’ll start short.

Google Images

As you know, Apple has introduced a biometric authentication system TouchID in iOS 7 and iPhone 5S.

The authentication system allows users to unlock the device, and make the purchases in the AppStore/iTunes/others.

In iOS 8, Apple has allowed developers to use the fingerprint sensor authentication mechanism in their applications…

Make some work easier by higher-order functions.

Photo by Ben Kolde on Unsplash

I share programming guides that make programmer’s practices simple.

In this guide, I’m going to explain Swift’s higher-order functions with examples as much as I can.

Sometimes it’s hard to understand what you’re doing with these. …

Availability checking in Swift

In some cases, we need the negative of any conditions. At this point, if I describe that case as a basic instance;

if #available(iOS 13, *) {} else {
someOldStuff()
}

In this specific case, we don’t want that. The positive case is unnecessary and impairs code readability.

Swift’s new feature: Unavailability Condition

if #unavailable(iOS 13, *) {
someOldStuff()
}

Take a look at the negative availability.

https://github.com/apple/swift-evolution/blob/main/proposals/0290-negative-availability.md

Easily clean up the unused images and resources in your Xcode project

Photo by Neal E. Johnson on Unsplash

Images that are not used in our projects can sometimes be annoying. One of the biggest results of this is that it increases the size of the application.

On the contrary, when we remove unused images or if they are left, the project is reduced and the application size decreases…

Photo by Karen Vardazaryan on Unsplash

In this iOS guide, I am going to explain collection types that are Arrays and Sets and I am going to reinforce them with short examples.

  1. Array
  2. Set

Arrays and Sets have several features in common. They both store a collection of values of the same type. …

What are Swift Literals and how do they work?

Photo by Joshua Reddekopp on Unsplash

In this iOS guide, I am going to explain Swift literals, and I am going to reinforce the following topics by giving examples in order.

  • What are the Swift literals?
  • How do they work?
  • Standard literals
  • Literal initialization for custom types

What Are the Swift Literals?

Literals are digits of characters that describe constant values…

Google Images

Github introduced Github Action last year. I was very excited when I heard this news, it makes some differences for all processes. The main reason for my excitement is all CI/CD works on one platform.

Yay!
A long time I am waiting for now and we will experience that together.

Batikan Sosun

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store