Now a days Fabric is sending notice for migrating, as I got email about [FINAL NOTICE] Fabric is shutting down May 4, 2020 means Today! We can move to the new Firebase Crashlytics SDK.

Integrating the new Firebase Crashlytics SDK is quick and easy. Let’s take a look.

Installation

If your project is not configured in Firebase then create project on Firebase console and configure it in your project. After that follow the steps:

Step 1 — Go to your Podfile and add Firebase Crashlytics Pods in your project.

pod 'Firebase/Crashlytics'


Xcode 11.4 includes SDKs for iOS 13.4, iPadOS 13.4, tvOS 13.4, watchOS 6.2, and macOS Catalina 10.15.4. Xcode 11.4 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11.4 requires a Mac running macOS Catalina 10.15.2 or later.


SwiftUI has lots of new features with the easiest way of implementation. In this tutorial, you’ll learn how to add fancy 3D animations with SwiftUI.


SwiftUI comes with easiest way of coding!

In SwiftUI they have given 3 types of gradients, you can easily show gradients on any of the view.

  1. Radial Gradient
  2. Angular Gradient


Swift 5 comes with enhancement in string literals delimiters to support Raw Text.

Let’s go with examples

Use of # delimiter

We can use # delimiter with start and end of the strings to use less escape sequences.

fileprivate func useOfHashDelimiter() {
let stringSwift4 = "This is \"Swift 4.x\"."
print(stringSwift4)

let stringSwift5 = #"This is "Swift 5.x"."#
print(stringSwift5)
}

This is “Swift 4.x”.
This is “Swift 5.x”.

Use of variables with # delimiter

We can use variable with string like \#(variableName)

fileprivate func useOfVariableWithString() {
var intSwift = 4
let stringSwift4 = "This is \"Swift \(intSwift).x\" with variable."
print(stringSwift4)

intSwift = 5
let stringSwift5 = #"This is "Swift \#(intSwift).x" with variable."#
print(stringSwift5)
}


iOS 12 have Grouped Notifications!

“A group of four laughing men sits on an edge overlooking a green valley” by Matheus Ferrero on Unsplash

Thread Identifier

Create notification content with threadIdentifier to create group of that notification. Group will be of the application or specific topic from an application.

// Creating Groups with Thread Identifiers
let content = UNMutableNotificationContent()
content.title = "Notifications Group"
content.body = "Tutorial by Ashish Kakkad"
content.threadIdentifier = "notify-team-ios"
{
"aps" : {
"alert" : {
"title" : "Notifications Group",
"body" : "Tutorial by Ashish Kakkad"
}
"thread-id" : "notify-team-ios"
}
}

Summary of group

Simple Notification Group Summary

let summaryFormat = "%u more…


Apple WWDC 2018 keynote is completed in San Jose, California. Basically this keynote is software focused keynote.

Apple CEO Tim Cook announced iOS 12, macOS 10.14 Mojave, watchOS 5 and tvOS 12 with their features.

Here I am drafting all the points:

  • ARKit 2 announced.
  • A new augmented reality file format called Universal Scene Description…


Hello, after a long time I am writing this post regarding use of Alamofire with Codable model object for the ease of MVC architecture.

Continue reading blog at my website.


Codable is added with Xcode 9, iOS 11 and Swift 4. Codable is used to make your data types encodable and decodable for compatibility with external representations such as JSON.

Codable use to support both encoding and decoding, declare conformance to Codable, which combines the Encodable and Decodable protocols. This process is known as making your types codable.

Let’s Take an Example with Structure of Movie, here we have defined the structure as Codable. So, We can encode and decode it easily.

struct Movie: Codable {
enum MovieGenere: String, Codable {…

Ashish Kakkad

iOS Developer [Objective-C] (Swift) | Blog : http://ashishkakkad.com/

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