I previously wrote an article explaining what FileManager
is and how it can be used with UIKit. I recommend reading it before moving on to today’s article:
In this article, we will learn what FileManager
is and how to use it. We will learn how to use FileManager
in a simple SwiftUI project. Let’s start with what FileManager
is.
Note: You can download this article’s example project and sources on GitHub.
FileManager
enables us to create and edit data for JSON or plist file types, and to use this data in our apps.
FileManager
is very similar to Core Data…
In SwiftUI, we normally don’t have the choice to properly use numbers in a TextField
object. For example, if you try to use the Int
variable on a TextField
element, you’ll see an error in your code, like below.
Swift 5.4 brings us a lot which is why I like it. In this article, we learn what is new in Swift 5.4.
Note: You can download this article’s example project and sources on GitHub. To open and edit these files, you have to use Xcode 12.5 beta. You can download Xcode 12.5 beta here. Instead of downloading Xcode 12.5 beta, you can download Swift 5.4 directly here.
As anyone who has created an Xcode project or playground file before will know, when you create a new playground or a new Xcode project, the following value will be written on…
Since their launch, universal apps (multiplatform apps) have been worth considering for both indie developers and large companies. As an indie developer who wants to develop apps especially in the Mac app market, universal applications have been really great for me.
In this article, we’ll learn what a universal app is and develop a simple universal app so we can better understand how universal apps work.
The new multiplatform app concept launched at WWDC20. Before that, we were able to develop somewhat similar applications, but with WWDC20, SwiftUI’s gotten pretty good — so you can actually develop an app with…
Onboarding screens are important to help new users fully understand the application and have a smooth user experience. If you’re creating an indie app, you should think about onboarding screens.
Although I would like to discuss the design of onboarding screens, I’ll leave that for another article. Here, I’m going to explain how onboarding screens are coded.
First part can be true, even it's true.
Second, I have to use Combine for using AnyCancellable object.
A few days ago I browsed through my old articles and noticed that my articles’ code blocks were
missing! This was pretty bad for me because most of my programming articles became unreadable. That’s why my views have dropped a lot…
In this article I explain how I solved this problem and why we should use other tools instead of Gist.
While looking at my old articles, I noticed that my articles’ code blocks are missing! …
Bir UIColor
objesi tanımlamanın birçok yolu vardır ama bu yolların çoğunda UIColor
objesinin ne kadar opaklıkta olacağı ve ne kadar içerisinde yeşil renk olacağını ayrı ayrı tanımlamanız gerekebiliyor. Çok fazla renk barındıran bir uygulama üstünde çalışıyorsanız veya uygulamanızın internet üzerinden bir hex renk bilgisini çekip işlemesi gerekiyorsa bu bahsettiğim yollar sizin için pek iyi olmayabilir. Bu yüzden hex
değerini kullanarak UIColor
objesi tanımlamak çok daha kolaydır.
Normalde hex
formatı ile bir UIColor
objesi tanımlayamıyoruz. Bundan dolayı bir extension oluşturmamız gerekiyor. Bu extension, hex
formatında bir String
değeri girilip girilmediğini kontrol edip String
değerinde yazılan karakterlere göre bir UIColor
objesi döndürecektir.
…
SwiftUI 2.0 brought us a lot of new features. My favorite is the new application lifecycle because it is simpler than the old one, but configuring it with Firebase can be tricky.
In this article, we will learn how to configure Firebase with SwiftUI’s new lifecycle.
First, let’s look at the difference between the new and old app lifecycle!
Note: You can download this article’s example project and sources on GitHub.
With UIKit’s lifecycle, you need to write Firebase’s configure()
function in the didFinishLaunchingWithOptions
method. …
VoiceOver, bir cihaz içerisinde etkileşime geçilebilecek arayüz elemanlarını sesli olarak kullanıcıya söyleyen bir ekran okuyucusudur. Bir uygulamayı erişilebilir yapan ana teknolojilerden birisinin -hatta birincisinin- VoiceOver olduğu söyleyebiliriz.
Bu makalede bir uygulama geliştirirken VoiceOver’ı nasıl kullanabileceğimizden ve test edebileceğimizden bahsedeceğim. İlk önce VoiceOver teknolojisinin tam olarak nasıl çalıştığına göz atalım.
Cihazınızda VoiceOver’ı aktive ettiğiniz zaman bazı veya bütün arayüz elemanlarında sırayla kareler oluşur ve aynı zamanda cihazınız bu arayüz elemanlarını size sözlü olarak anlatır.