This file contains hidden or 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
// | |
// PhoneCallModifier.swift | |
// WebView | |
// | |
// Created by MANAS VIJAYWARGIYA on 03/03/25. | |
// ------------------------------------------------------------------------ | |
// Copyright © 2025 Blacenova. All rights reserved. | |
// ------------------------------------------------------------------------ | |
// | |
This file contains hidden or 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
// | |
// HapticFeedback.swift | |
// Feeback | |
// | |
// Created by MANAS VIJAYWARGIYA on 19/03/25. | |
// ------------------------------------------------------------------------ | |
// Copyright © 2025 Blacenova. All rights reserved. | |
// ------------------------------------------------------------------------ | |
// | |
This file contains hidden or 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
// | |
// ShowUIKitFullScreenModal.swift | |
// CameraAVFoundation | |
// | |
// Created by MANAS VIJAYWARGIYA on 26/02/25. | |
// ------------------------------------------------------------------------ | |
// Copyright © 2025 Blacenova. All rights reserved. | |
// ------------------------------------------------------------------------ | |
// |
This file contains hidden or 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
// | |
// CardBackgroundModifier.swift | |
// CameraAVFoundation | |
// | |
// Created by MANAS VIJAYWARGIYA on 26/02/25. | |
// ------------------------------------------------------------------------ | |
// Copyright © 2025 Blacenova. All rights reserved. | |
// ------------------------------------------------------------------------ | |
// |
This file contains hidden or 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
// | |
// SafeAreaInsetModifier.swift | |
// CameraAVFoundation | |
// | |
// Created by MANAS VIJAYWARGIYA on 26/02/25. | |
// ------------------------------------------------------------------------ | |
// Copyright © 2025 Blacenova. All rights reserved. | |
// ------------------------------------------------------------------------ | |
// | |
This file contains hidden or 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 SwiftUI | |
var Words = """ | |
"CORNER" : { | |
}, | |
"Country Picker" : { | |
}, | |
"Enter your mobile number" : { |
This file contains hidden or 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
extension String { | |
func encoded() -> String { | |
return self.addingPercentEncoding(withAllowedCharacters: .urlHostAllowed) ?? self | |
} | |
} |
This file contains hidden or 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 SwiftUI | |
// How to decode a Dictionary, if value is different, let's say [String: String], [String: Int], [String: Bool] & so on... | |
let json = """ | |
{ | |
"type": "featuredImage", | |
"rating": 4, | |
"isVisible": true | |
} | |
""" |
This file contains hidden or 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 SwiftUI | |
struct ShimmerConfig { | |
var tint: Color | |
var highlight: Color | |
var blur: CGFloat = 0 | |
var highlightOpacity: CGFloat = 1 | |
var speed: CGFloat = 2 | |
} |
This file contains hidden or 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 SwiftUI | |
extension Color { | |
init(hex: String) { | |
let hex = hex.trimmingCharacters(in: CharacterSet.alphanumerics.inverted) | |
var int: UInt64 = 0 | |
Scanner(string: hex).scanHexInt64(&int) | |
let a, r, g, b: UInt64 | |
switch hex.count { | |
case 3: // RGB (12-bit) |
NewerOlder