If you are developing a macOS catalyst app, you may be wondering how to conditionally write code specifically for iOS, iPad OS, or the macOS 10.15 catalyst app. Here is how to do it. Use the code below to declare specifically written code, which will compile only for iOS and iPadOS.
Category Archives: Apple macOS
Using SKStoreReviewController API to prompt users to write reviews for your App.
Introduction to StoreKit and Apple App Store policies I will write down a few concepts & ideas to help you understand how to implement StoreKit app review functionality in your app using Xcode. Important Points to Remember You can ask your users to rate your app on a scale of 1 to 5 stars. Users …
Continue reading “Using SKStoreReviewController API to prompt users to write reviews for your App.”
Colour Behaviour Study of Japan / True Black on Real Life Physical Paper & on Computer Displays or Screens
I am now documenting some thoughts about black colour behaviour on Physical Paper & computer displays or screens. I was from a BFA (Bachelor of Fine Arts) – Applied Art background, so we had subjects like Illustration, Calligraphy, Typography, Print Media Design, Logo & Symbol Design, Branding & Identity Design. We used to design our …
Chapter 05: Dictionary in Swift
What is a Dictionary?The Dictionary is an unordered List that can be quickly accessed by key Here is how you can declare an Empty Dictionary Dictionary with Predefined Key Pairs Accessing the First Key Element of the Dictionary
Chapter 04: Array in Swift
What is an Array?An array is an ordered list with indices / Index.Examples of an array are a to-do list, shopping list, Amazon Wish List, etc. Let’s say we have an array list of apps Index:0 1 2 3 Element:“Reminders” “Mail” “Xcode” “Calendar” Important Note:The index of the first element always starts with zero because …
Chapter 03: String in Swift
All About String in Swift Programming Language Let’s know what String is. String is a collection of characters Here is how to declare a String Here is how to use functions like String Concatenation, i.e. attaching one String to a second string Important Note:As you can see above, we have used the ‘+’ operator to …
Chapter 02: Variables & Constants in Swift
Data Types in Swift Language Integers i.e. Int:1, 2, 3, 199, 1000Float & Doubles:3.14, 1.168, M_PIBoolean Values like Bool:true or falseCollection of Characters like Strings:“iOS Development”, “Apple”, “1.2” We can create our data type using the keywords Struct & Class. All About Variables Here is how we declare Variables in Swift:First, we start with the …
Continue reading “Chapter 02: Variables & Constants in Swift”
Chapter 01: Let’s Learn Swift Programming Language
About Swift Swift Programming Language is a new sensation, something happening, or the next paradigm in the computer programming world. Apple introduced Swift at WWDC, Apple’s World Wide Developer Conference, in 2014. Apple declared Swift an Open-Source Programming Language on December 3, 2015. Swift is getting a warm welcome from the development community as a …
Continue reading “Chapter 01: Let’s Learn Swift Programming Language”
Create a single PDF file by combining multiple documents using Preview on Mac.
Here is a simple solution to create a single PDF by combining multiple files from various file types. Assumption: I Assume you have 10 PNG files you want to combine into a single PDF file. Note: It doesn’t matter if those ten files have different height & width dimensions. Here is how to do this: …
Continue reading “Create a single PDF file by combining multiple documents using Preview on Mac.”
How do you use Disk Utility to partition disks on a Mac?
As per Wikipedia: Disk Utility is a system utility for performing disk and disk volume-related tasks on the macOS. Day-to-day functions supported by Disk Utility are: Now, we will learn how to partition disks, Important Note: Precaution: Before proceeding, backup all your computer data using Time Machine on a hard drive other than the one …
Continue reading “How do you use Disk Utility to partition disks on a Mac?”