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
// | |
// SegmentView.swift | |
// CustomSegment | |
// | |
// Created by Amir Daliri on 18.04.2025. | |
// | |
import SwiftUI |
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
// | |
// UIDevice+JailBroken.swift | |
// IsJailBroken | |
// | |
// Copyright © 2020 AmirDaliri. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
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
// | |
// NetworkLayer.swift | |
// CCINext | |
// | |
// Created by Amir Daliri. | |
// Copyright © 2019 Mobilion. All rights reserved. | |
// | |
import Foundation | |
import Alamofire |
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
// | |
// UIViewController+ActivityIndicator.swift | |
// | |
// Created by Eduard Moya on 5/11/18. | |
// Copyright © 2018 Eduard Moya. All rights reserved. | |
// | |
import UIKit | |
fileprivate let overlayViewTag = 999 |
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
// | |
// SwiftQRScanner.swift | |
// SwiftQRScanner | |
// | |
// Created by Vinod Jagtap on 12/5/17. | |
// | |
import UIKit | |
import CoreGraphics | |
import AVFoundation |
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
// | |
// Device.swift | |
// ISKUR | |
// | |
// Created by Amir Daliri on 10/22/19. | |
// Copyright © 2019 Mobilion. All rights reserved. | |
// | |
#if os(watchOS) | |
import WatchKit |
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 UIKit | |
class ViewController: UIViewController, UITextFieldDelegate { | |
@IBOutlet weak var yourBottomConstraint: NSLayoutConstraint! | |
// MARK: - Lifecycle Methods | |
override func viewDidLoad() { | |
super.viewDidLoad() |
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 UIKit | |
import MapKit | |
class LocationSearchTable: UITableViewController { | |
weak var handleMapSearchDelegate: HandleMapSearch? | |
var matchingItems: [MKMapItem] = [] | |
var mapView: MKMapView? | |
func parseAddress(selectedItem:MKPlacemark) -> String { |
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
localeIdentifier | Description | |
---|---|---|
eu | Basque | |
hr_BA | Croatian (Bosnia & Herzegovina) | |
en_CM | English (Cameroon) | |
en_BI | English (Burundi) | |
rw_RW | Kinyarwanda (Rwanda) | |
ast | Asturian | |
en_SZ | English (Swaziland) | |
he_IL | Hebrew (Israel) | |
ar | Arabic |
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 Foundation | |
import CoreLocation | |
let beaconManagerDidEnterRegionsNotification = "beaconManagerDidEnterRegionsNotification" | |
let beaconManagerDidExitRegionsNotification = "beaconManagerDidExitRegionsNotification" | |
let beaconManagerUserInfoEnteredRegionsKey = "enteredRegions" | |
let beaconManagerUserInfoExitedRegionsKey = "exitedRegions" | |
class BeaconManager: NSObject, CLLocationManagerDelegate { | |
private var manager = CLLocationManager() |
NewerOlder