Do I Need a Stylish Button in SwiftUI?
While creating or design an APP one control is always required for an action or event. either saving the data or dismissing the message. Every Programming or UI Based Programming language have their own approach to design Button or Stylish Button in…
What’s new in Swift 5.5?
In the latest edition of swift programming language, there are some changes in the latest version of Swift 5.5 What’s new in Swift 5.5? are these changes will impact the current syntax or code? is the changes are minor or major? Read Also :…
What’s New in Swift? New Features in Swift 5.0
So Finally Swift 5 is released, There are some new features and some featured are enhanced. to use the benefits of swift -5, we need to understand in details, Lets Begin Migrating to Swift 5 Finally, if you are impressed by the Swift 5 features and…
Basic Introduction to Swift vs SwiftUI
What is Swift? Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with…
What is Protocol Oriented Programming
Protocol Oriented Programming : As a programmer or developer I can say that , neither I m completely understand the structured programming or Procedural programming or now protocol programming.Only thing I know that solving a problem using most suitable…
How to Generate Random Numbers in Swift !
Generate Random Numbers in Swift : Random number is the unprecedented and unpredictable, Sometimes we use Random number to choose instances in Games or is Arcade game or poping-out the blocks from block game. In game development, you use random numbers…
What is the @objc attribute and when to use @objc in swift code?
What is the @objc attribute and when to use @objc in swift code? The @objc attribute makes your Swift API available in Objective-C and the Objective-C runtime. A Swift class or protocol must be marked with the @objc attribute to be accessible and usable…
How to change Status Bar text color in iOS
How to change Status Bar text color in iOS The status bar can have a dark and light appearance inside an app In this tutorial the appearance of the status bar will be changed Open Xcode and create a new Single View App. For product name, use…
How to Load local web files & resources in WKWebView
How to Load local web files & resources in WKWebView In Swift you can load HTML files into your WKWebView from an file which is part of your App Bundle. Before you use the below code snippet, please make sure that the HTML file you want to display in…
how to detect low power mode in swift
How to detect low power mode in swift What is low power mode? Low power mode is a new way that apple is tackling their ever dwindling batteries. It stops all background activity, dims the screen and uses different assets to save power. It’s pretty neat…