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
// | |
// VideoPlayerViewController.swift | |
// Tattoo Store | |
// | |
// Created by Eugenio Baglieri on 13/07/18. | |
// Copyright © 2018 Eugenio Baglieri. All rights reserved. | |
// | |
import UIKit | |
import YoutubeKit |
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
class Response { | |
typealias Headers = [String : String] | |
enum ResponseError: Error { | |
case badInput | |
case noData | |
case noResponseReceived | |
case unacceptableResponse(Int) | |
} |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
class Response { | |
typealias Headers = [String : String] | |
enum ResponseError: Error { | |
case badInput |
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
// Write some awesome Swift code, or import libraries like "Foundation", | |
// "Dispatch", or "Glibc" | |
class PFObject: Any { | |
} | |
let objsA: [PFObject] = [] | |
let objsB: [[String: Any]] = [[:]] |
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
enum UserRequest { | |
case create(username: String, password: String, email: String, birthDate: Date, gender: Gender, weight: Int, height: Int) | |
case login(username: String, password: String) | |
case logout | |
case update(user: Rider) | |
case getProfile(userId: Int) | |
case resetPassword(email: String) | |
case search(name: 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
// | |
// RequestOperation.swift | |
// OperationsTest | |
// | |
// Created by Eugenio Baglieri on 12/04/17. | |
// Copyright © 2017 Eugenio Baglieri. All rights reserved. | |
// | |
import Foundation |
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
// | |
// NetworkOperation.swift | |
// OperationsTest | |
// | |
// Created by Eugenio Baglieri on 11/04/17. | |
// Copyright © 2017 Eugenio Baglieri. All rights reserved. | |
// | |
import Foundation |
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
// | |
// NetworkOperation.swift | |
// OperationsTest | |
// | |
// Created by Eugenio Baglieri on 11/04/17. | |
// Copyright © 2017 Eugenio Baglieri. All rights reserved. | |
// | |
import Foundation |
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+Storyboard.swift | |
// Temi Svolti | |
// | |
// Created by Eugenio Baglieri on 10/11/15. | |
// Copyright © 2015 Eugenio Baglieri. All rights reserved. | |
// | |
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
// | |
// UIStoryboaard+Conveniences.swift | |
// Temi Svolti | |
// | |
// Created by Eugenio Baglieri on 09/11/15. | |
// Copyright © 2015 Eugenio Baglieri. All rights reserved. | |
// | |
import UIKit |
NewerOlder