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
{ | |
"sample":[ | |
{ | |
"id":"4cdad0d1-aef8-48a5-832b-18c6c973f084", | |
"description":"A laptop on a desk", | |
"image_url":"https://picsum.photos/id/0/1000/600" | |
}, | |
{ | |
"id":"3cf78b14-1a14-4f20-83e5-38afe7b34d15", | |
"description":"An open book", |
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
{ | |
"sample":[ | |
{ | |
"id":"4cdad0d1-aef8-48a5-832b-18c6c973f084", | |
"story":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin sodales tortor tellus, et lacinia ipsum mattis id. Cras ullamcorper eget ex vel accumsan. Fusce bibendum est eget sem suscipit tempor. Donec non elit dictum libero semper blandit. Nam vitae convallis ligula. Ut volutpat interdum viverra. In posuere, neque ac vestibulum ultricies, purus erat varius magna, in finibus leo augue quis tellus. Nullam congue enim nisl, ut porta dolor elementum vitae. Vivamus tempus ex nulla, sit amet tempus lectus dapibus in. Cras porta lacinia hendrerit. Mauris sed urna vitae justo rutrum porta eget nec felis. Nullam scelerisque porttitor congue. Mauris tincidunt lectus massa, sed dapibus nunc vulputate eu. Vestibulum lectus nulla, consectetur sit amet enim id, commodo eleifend arcu.", | |
"colour":"#f8805a", | |
"date":"2023-11-22T21:04:37Z" | |
}, | |
{ | |
"id":"3cf78b14-1a14-4f20-83e5-38afe7b34d15", |
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+Ext.swift | |
// | |
// | |
// Created by Maysam Shahsavari on 2020-08-06. | |
// | |
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
// | |
// RoundedTextField.swfit | |
// | |
// Created by Maysam Shahsavari on 2020-07-30. | |
// Copyright © 2020 Maysam Shahsavari. All rights reserved. | |
// | |
import UIKit | |
/// Configuration for `RoundedTextField` |
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
// | |
// ConsoleLogger.swift | |
// | |
// Created by Maysam Shahsavari on 2020-07-20. | |
// Copyright © 2020 Maysam Shahsavari. All rights reserved. | |
// | |
import Foundation | |
struct ConsoleLogger { | |
static func log(_ error: Error, file: String = #file, function: String = #function, line: Int = #line) { |
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
// | |
// UIView+Ext.swift | |
// tahrir | |
// | |
// Created by Maysam Shahsavari on 9/14/19. | |
// Copyright © 2019 Maysam Shahsavari. 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
// | |
// UIImage+Ext.swift | |
// frazeit | |
// | |
// Created by Maysam Shahsavari on 9/24/19. | |
// Copyright © 2019 Maysam Shahsavari. 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
import Foundation | |
struct FibsIterator: IteratorProtocol { | |
private var state:(UInt, UInt) = (0, 1) | |
private var upTo: Int | |
private var counter = 0 | |
init(upTo: Int) { | |
self.upTo = upTo | |
} |
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
// | |
// UISearchBar+Ext.swift | |
// frazeit | |
// | |
// Created by Maysam Shahsavari on 7/30/18. | |
// Updated on 9/26/19. | |
// Copyright © 2018 Maysam Shahsavari. All rights reserved. | |
// Updated: 10/02/2020. | |
import Foundation |