- https://www.raywenderlich.com/709-ios-unit-testing-and-ui-testing-tutorial
- https://medium.com/flawless-app-stories/applying-unit-tests-to-mvvm-with-swift-ba5a79df8a18
- https://www.swiftbysundell.com/posts/reducing-flakiness-in-swift-tests
- https://medium.com/cocoaacademymag/unit-testing-uiview-with-nimble-snapshot-651a7c5a5e93
- https://medium.com/cocoaacademymag/unit-testing-parsing-a-json-response-b694a1b669ff
- https://medium.com/cocoaacademymag/unit-testing-uitableview-2387f3a42b4f
- http://adamborek.com/rxtests-rxactionsheet/
Design patterns - rayweinderlich
- Structural patterns describe how objects are composed to form larger subsystems. Examples of structural patterns are:
- Behavioral patterns describe how objects communicate with each other.
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 Combine | |
fileprivate class CancellableStore { | |
static let shared = CancellableStore() | |
var cancellables = Set<AnyCancellable>() | |
} | |
public enum DownloadOutput { | |
case complete(Data) |
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
// Created on 7/9/2020. | |
// | |
// Developed by: Kilo Loco | |
// Improved by Egzon Pllana | |
import Foundation | |
import StoreKit | |
protocol IAPServiceDelegate: class { |
General iOS, CS questions and interview prep resources.
-
iOS Interview Questions for Senior Developers (useful even if you're not senior yet)
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 Photos | |
struct UnexpectedNilError: Error {} | |
extension PHImageManager { | |
func requestImage( | |
for asset: PHAsset, | |
targetSize: CGSize, | |
contentMode: PHImageContentMode, | |
options: PHImageRequestOptions? |