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
// | |
// BackgroundVideoPlayerViewController.swift | |
// DeveloperBelt | |
// | |
// Created by Egzon Pllana on 10/7/19. | |
// Copyright © 2019 Native Coders. All rights reserved. | |
// | |
import UIKit | |
import AVFoundation |
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
## Pods ## | |
SwiftLint: https://github.com/realm/SwiftLint | |
Alamofire: https://github.com/Alamofire/Alamofire | |
RealmSwift: https://github.com/realm/realm-cocoa | |
Crashlytics: Crashlytics | |
TTTAttributedLabel: https://github.com/TTTAttributedLabel/TTTAttributedLabel | |
SwipeCellKit: https://github.com/SwipeCellKit/SwipeCellKit | |
Nuke: https://github.com/kean/Nuke | |
SwiftLocation: https://github.com/malcommac/SwiftLocation | |
InfiniteScrolling: https://github.com/Vishal-Singh-Panwar/InfiniteScrolling |
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
// | |
// AVPlayer+Singleton.swift | |
// DeveloperBelt | |
// | |
// Created by Egzon Pllana on 11/5/19. | |
// Copyright © 2019 Native Coders. All rights reserved. | |
// | |
import Foundation | |
import MediaPlayer |
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
// | |
// MediaPicker.swift | |
// DeveloperBelt | |
// | |
// Created by Egzon Pllana on 11/5/19. | |
// Copyright © 2019 Native Coders. All rights reserved. | |
// | |
/* Info.plist | |
Privacy - Camera Usage Description | |
Privacy - Photo Library Usage Description |
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
// Improved and update **Luke Chase's** [answer][1] to Swift 5, XCode 11, iOS 13 to get text view number of lines and autoresize table view cell height. | |
// 1) You can use storyboard with static cell height to design it as you want. | |
// 2) In viewDidLoad add your estimated row height and your textView delegate. | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
quoteTextView.delegate = self | |
tableView.estimatedRowHeight = 142 |
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
// | |
// Timestamp+ReadableDate.swift | |
// EReminder | |
// | |
// Created by Egzon Pllana on 3/12/20. | |
// Copyright © 2020 Native Coders. All rights reserved. | |
// | |
import Foundation |
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
// | |
// Created by Egzon Pllana on 5/15/20. | |
// Copyright © 2020 Native Coders. All rights reserved. | |
// | |
import UIKit | |
class HomeTableViewController: UITableViewController { | |
// MARK: - Outlets |
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
// Created on 7/9/2020. | |
// | |
// Developed by: Kilo Loco | |
// Improved by Egzon Pllana | |
import Foundation | |
import StoreKit | |
protocol IAPServiceDelegate: class { |
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
override func viewDidLoad() { | |
super.viewDidLoad() | |
let gestureRecognizer = UIPanGestureRecognizer(target: self, | |
action: #selector(panGestureRecognizerHandler(_:))) | |
view.addGestureRecognizer(gestureRecognizer) | |
} | |
@IBAction func panGestureRecognizerHandler(_ sender: UIPanGestureRecognizer) { | |
let touchPoint = sender.location(in: view?.window) | |
var initialTouchPoint = CGPoint.zero |
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
// | |
// Created by Egzon Pllana on 13.4.23. | |
// Copyright © 2023 Native Coders. All rights reserved. | |
// | |
import UIKit | |
class IndicatingTabBarController: UITabBarController, UITabBarControllerDelegate { | |
// MARK: - Properties - |
OlderNewer