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
// | |
// AGUploadImageWebServices.swift | |
// BaseProject | |
// | |
// Created by AshvinGudaliya on 27/02/18. | |
// Copyright © 2018 AshvinGudaliya. All rights reserved. | |
// | |
import UIKit |
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 AGRoundCornersView: UIView { | |
fileprivate var roundCornerRadius: CGFloat = 0.0 | |
fileprivate var cornerRect: UIRectCorner = [] | |
fileprivate var cornerCustom: [AGCornerTypes] = [] | |
enum AGCornerTypes { | |
case topLeft(CGFloat) | |
case topRight(CGFloat) | |
case bottomLeft(CGFloat) |
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
// | |
// AGCodableStorage.swift | |
// BaseProject | |
// | |
// Created by thirdeyes Infotech Pvt Ltd on 05/04/18. | |
// Copyright © 2018 AshvinGudaliya. All rights reserved. | |
// | |
import UIKit |
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 | |
class ChatCollectionViewFlowLayout: UICollectionViewFlowLayout { | |
private var topMostVisibleItem = Int.max | |
private var bottomMostVisibleItem = -Int.max | |
private var offset: CGFloat = 0.0 | |
private var visibleAttributes: [UICollectionViewLayoutAttributes]? |
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 | |
/// Holds file MIME, and introduces selected type MIME as constants | |
public struct AGContentMIMEType: RawRepresentable, Hashable, Equatable { | |
public var rawValue: String | |
public typealias RawValue = String | |
public init(rawValue: String) { | |
self.rawValue = rawValue | |
} |
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 | |
extension UITableView { | |
private struct AssociatedKeys { | |
static var ActionKey = "UIRefreshControlActionKey" | |
} | |
private class ActionWrapper { | |
let action: RefreshControlAction | |
init(action: @escaping RefreshControlAction) { |
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 | |
open class AGTapGestureClosure: UITapGestureRecognizer { | |
private var tapAction: ((UITapGestureRecognizer) -> Void)? | |
public override init(target: Any?, action: Selector?) { | |
super.init(target: target, action: action) | |
} | |
public convenience init ( |
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
// | |
// AGAutocompletePlaceTextfield.swift | |
// AGAutocompletePlaceTextfield | |
// | |
// Created by Arpit Jain on 28/07/17. | |
// Copyright © 2017 Arpit Jain. All rights reserved. | |
// | |
import UIKit | |
import GooglePlaces |
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
// | |
// TapticEngine.swift | |
// AGBaseProject | |
// | |
// Created by Ashvin Gudaliya on 2017/04/09. | |
// | |
// | |
import UIKit |
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
// | |
// AGAudioRecorder.swift | |
// BaseProject | |
// | |
// Created by AshvinGudaliya on 17/09/18. | |
// Copyright © 2018 AshvinGudaliya. All rights reserved. | |
// | |
import UIKit | |
import AVFoundation |
OlderNewer