"I have seven years of experience in the IT industry. Initially, I started as a full-stack web developer. However, my journey into iOS development began when I took on the task of creating a Progressive Web App (PWA), which required integrating with iOS. Since then, I've primarily focused on iOS development."
7 years in IT. Started as full-stack web dev, shifted to iOS after PWA project. Now specialize in iOS
Pinned Loading
-
SceneDelegate-SwiftUI
SceneDelegate-SwiftUI 1import UIKit
2import SwiftUI
34class SceneDelegate: UIResponder, UIWindowSceneDelegate {
5 -
UIKit + Coordinator
UIKit + Coordinator 1import Foundation
2import UIKit
34protocol Coordinator {
5var viewController: UIViewController? {get}
-
Removing Storyboard From App [Xcode ...
Removing Storyboard From App [Xcode 14, Swift 5] 1// 1. Delete the Main.storyboard file from the project. Click Move to Trash.
2// 2. Remove Storyboard Name from File info.plist
3// 3. Go to Application Target -> Build Settings -> Find the line: UIKit Main Storyboard File Base Name and remove the name of the storyboard.
4// 4. In order to programmatically set the root controller of our application:
5// Go to SceneDelegate file and in the func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) method add the following code:
-
fetchURLData with Generics
fetchURLData with Generics 1func fetchURLData<T: Decodable>(urlString: String, decodingType: T.Type) async throws -> T {
23guard let url = URL(string: urlString) else {
4throw URLError(.badURL)
5}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.