This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import Firebase | |
import GoogleSignIn | |
import UserNotifications | |
import Siren | |
import CleverTapSDK | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate, MessagingDelegate { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
//Input Validation | |
function isNumberKey(evt){ | |
var charCode = (evt.which) ? evt.which : event.keyCode; | |
if (charCode > 31 && (charCode < 48 || charCode > 57)) | |
return false; | |
if(evt.length==7) | |
return false; | |
return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import UIKit | |
// Constant Values | |
var STANDARD_DEDUCTION_RATE_ON_INCOME_FROM_LET_OUT_PROPERTY = 30/100; | |
var MAXIMUM_DEDUCTION_ON_DONATION_TO_CHARITY_US_80G = 9999999; | |
var MAXIMUM_DEDUCTION_ON_INTEREST_ON_EDUCATIONAL_LOAN_US_80E = 9999999; | |
var MAXIMUM_DEDUCTION_ON_MEDICAL_INSURANCE_PREMIUM_US_80D = 9999999; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import ContactsUI | |
struct User { | |
var userContact = CNContact() | |
var recipientContact: CNContact? | |
var isDefault: Bool = false | |
init(userContact: CNContact, recipientContact: CNContact? = nil, isDefault: Bool) { | |
self.userContact = userContact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"success": true, | |
"message": "group found", | |
"data": { | |
"_id": "591954b230f73d6fb2373f92", | |
"created_by": { | |
"_id": "5901a50c0532193e19303641", | |
"login_email": "sushmita.patil@google.com", | |
"active_login_platforms": [ | |
"email" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AppNameUser : Object, Mappable { | |
dynamic var userId: String = "" | |
dynamic var company: String = "" | |
dynamic var designation: String = "" | |
dynamic var name: String = "" | |
dynamic var image: String = "" | |
dynamic var email: String = "" | |
override class func primaryKey() -> String? { |