text stringlengths 8 1.32M |
|---|
//
// R.reuseIdentifier.swift
// YumaApp
//
// Created by Yuma Usa on 2018-06-18.
// Copyright © 2018 Yuma Usa. All rights reserved.
//
import Foundation
extension R
{
struct reuseIdentifier
{
fileprivate init() {}
}
}
|
//
// MockRSSUrlConstructor.swift
// AlbumRSSTests
//
// Created by Gavin Li on 8/16/20.
// Copyright © 2020 Gavin Li. All rights reserved.
//
import Foundation
@testable import AlbumRSS
class MockRSSUrlConstructor: UrlConstructorProtocol {
private let mockFile = "mockRSS"
func rssFeedUrl() -> URL? {
let... |
//
// LPaimUtilsOperators.swift
// LPaimUtils
//
// Created by LPaimUtils on 29/10/14.
// Copyright (c) 2014 LPaimUtils. All rights reserved.
//
import Foundation
prefix operator ~ {}
/**
:returns: A NSDictionary with the object atributtes
*/
prefix public func ~( _object: AnyObject) -> NSDictionary{
... |
import Cocoa
let PanelSize = 120
let NUMAXES = 2
let NUMPANELS = 4
var panelIndex = Int()
var selectIndex = Int()
var controlPickerSelection = Int()
var vcControl:ControlViewController! = nil
var panelList:[ControlPanelView]! = nil
var panelRect:[NSRect]! = nil
class ControlViewController: NSViewController {
@I... |
//
// SearchExperimentsOperation.swift
// Experiment Go
//
// Created by luojie on 9/27/15.
// Copyright © 2015 LuoJie. All rights reserved.
//
import Foundation
import CloudKit
class SearchExperimentsOperation: GetObjectsWithCreatorUserOperation {
convenience init(searchText: String?) {
self.ini... |
//
// RepositoryResponse.swift
//
// Created by Augusto Cesar do Nascimento dos Reis on 13/12/20
// Copyright (c) ACNR. All rights reserved.
//
import Foundation
struct RepositoryResponse: Decodable {
let items: [ItemResponse]?
let incompleteResults: Bool?
let totalCount: Int?
enum Coding... |
//
// FCNetworkConfiguration.swift
// icar
//
// Created by 陈琪 on 2019/12/3.
// Copyright © 2019 Carisok. All rights reserved.
//
import Foundation
struct Configs {
struct Network {
static let useStaging = true // 测试模式
static let loggingEnabled = false // 请求日志输出
static let environme... |
//
// ProductCell.swift
// FoodicsAssesment
//
// Created by mohamed gamal on 12/17/20.
//
import UIKit
class ProductCell: UICollectionViewCell {
//MARK:- OutLets
@IBOutlet weak var productImage: UIImageView!
@IBOutlet weak var productTitle: UILabel!
@IBOutlet weak var continerView: UIView!
@IB... |
//
// Model.swift
// E-card
//
// Created by EthanLin on 2018/2/6.
// Copyright © 2018年 EthanLin. All rights reserved.
//
import Foundation
|
//
// GameScene.swift
// ShootingGallery
//
// Created by Juan Francisco Dorado Torres on 22/09/19.
// Copyright © 2019 Juan Francisco Dorado Torres. All rights reserved.
//
import SpriteKit
import GameplayKit
class GameScene: SKScene {
// MARK: - Properties
var scoreLabel: SKLabelNode!
var shotsNode: SKS... |
//
// LeaveFeedbackActivityTableCell.swift
// MyLoqta
//
// Created by Kirti on 9/7/18.
// Copyright © 2018 AppVenturez. All rights reserved.
//
import UIKit
protocol LeaveFeedbackActivityTableCellDelegate: class {
func leaveFeedbackTapped(cell: LeaveFeedbackActivityTableCell)
func replyTapped(cell: LeaveF... |
//
// ForecastView.swift
// SwiftWeatherTemplate
//
// Created by Florian on 18.07.20.
// Copyright © 2020 Florian. All rights reserved.
//
import UIKit
import SnapKit
final class ForecastView: UIView {
let tableView = UITableView()
convenience init() {
self.init(frame: .zero)
tableView.a... |
//
// main.swift
// h.w.f
//
// Created by Ghada Fahad on 15/03/1443 AH.
//
import Foundation
print("Hello, World!")
|
//
// ChatMessage.swift
// Finder
//
// Created by Tai on 6/18/20.
// Copyright © 2020 DJay. All rights reserved.
//
import Foundation
//import FirebaseDatabase
class ChatMessage {
var id = ""
var senderId = ""
var receiverId = ""
var message = ""
var imgURL = ""
... |
//
// PreparePlayerViewController.swift
// Avgle
//
// Created by ChenZheng-Yang on 2018/1/7.
// Copyright © 2018年 ChenCheng-Yang. All rights reserved.
//
import UIKit
import BMPlayer
import SafariServices
import Firebase
import SVProgressHUD
class PreparePlayerViewController: BaseViewController {
// MARK: -... |
//
// UserTeaser.swift
// TinderApp
//
// Created by Serg on 13.02.2020.
// Copyright © 2020 Sergey Gladkiy. All rights reserved.
//
import Foundation
struct TinderUserTeaser: Decodable {
let type: String?
let string: String
}
struct UserJob: Decodable {
let company: CompanyJob?
let title: TitleJ... |
//
// GoogleSignINView.swift
// caffinho-iOS
//
// Created by Rafael M. A. da Silva on 8/3/16.
// Copyright © 2016 venturus. All rights reserved.
//
import Foundation
import UIKit
public class GoogleSignINView: UIView {
var contentView: GoogleSignINContentView!
public override func awakeFromNib(... |
//
// UIColor+Extensions.swift
// InAppNotification
//
// Created by Arnold Plakolli on 5/20/18.
// Copyright © 2018 Arnold Plakolli. All rights reserved.
//
import Foundation
extension UIColor {
convenience init(r: CGFloat, g: CGFloat, b: CGFloat) {
self.init(r: r, g: g, b: b, a: 255)
}
... |
import GRDB
class AccountRecordStorage {
private let dbPool: DatabasePool
init(dbPool: DatabasePool) {
self.dbPool = dbPool
}
}
extension AccountRecordStorage {
var all: [AccountRecord] {
try! dbPool.read { db in
try AccountRecord.fetchAll(db)
}
}
func s... |
//
// bigImageViewController.swift
// SlideshowApp
//
// Created by まく on 2018/07/15.
// Copyright © 2018年 sshiono. All rights reserved.
//
import UIKit
class bigImageViewController: UIViewController {
@IBOutlet weak var bigImageParts: UIImageView!
var firstValue:Int = 0
let imageList = ["cat.jpg", "... |
//
// SecondScreen.swift
// bleedApp
//
// Created by Peter Ostiguy on 11/19/16.
// Copyright © 2016 Peter Ostiguy. All rights reserved.
//
import UIKit
class SecondScreen: UIViewController, GIDSignInUIDelegate {
override func viewDidLoad() {
super.viewDidLoad()
}
override func did... |
//
// AllBreedsList.swift
// Doggy_App
//
// Created by User on 19/06/2019.
// Copyright © 2019 Maximkapitonov. All rights reserved.
//
import Foundation
struct AllBreedsList: Codable {
var status: String?
var message: [String: [String]]?
}
|
//
// ViewController.swift
// Foodie COPY - TRY DUMB SHIT OUT HERE
//
// Created by Justine Breuch on 8/30/15.
// Copyright (c) 2015 Justine Breuch. All rights reserved.
//
import UIKit
import Parse
import Bolts
class ViewController: UIViewController {
// override func viewDidLoad() {
// super... |
//
// MyAccCSViewController.swift
// YumaApp
//
// Created by Yuma Usa on 2018-02-15.
// Copyright © 2018 Yuma Usa. All rights reserved.
//
import UIKit
class MyAccCSViewController: UIViewController
{
@IBOutlet weak var navBar: UINavigationBar!
@IBOutlet weak var navTitle: UINavigationItem!
@IBOutlet weak var ... |
//
// EmojiArtDocument.swift
// EmojiArt
//
// Created by Ahmed Albaqawi on 6/27/20.
// Copyright © 2020 Ahmed Albaqawi. All rights reserved.
//
import SwiftUI
import Combine
//ViewModel
class EmojiArtDocument: ObservableObject {
private static let untitled = "EmojiArtDocument.Untitled"
//we have a ... |
//
// CategoryViewController.swift
// bundapp
//
// Created by YinZhang on 14/12/8.
// Copyright (c) 2014年 THEBUND. All rights reserved.
//
import UIKit
class CategoryViewController: UIViewController {
var key: (String, String, String?, String?, String?, String?, String?, String?, Bool) = ("","",nil,nil,nil,n... |
// DomRoundTripTableViewCell.swift
import UIKit
class AirLinesCell: UITableViewCell {
@IBOutlet weak var airlineLogo: UIImageView!
@IBOutlet weak var centerLine: UIImageView!
@IBOutlet weak var airlineName: UILabel!
@IBOutlet weak var depTime: UILabel!
@IBOutlet weak var arrTime: UILabel!
... |
//
// CreatePaymentDataSource.swift
// Hippo
//
// Created by Vishal on 21/02/19.
//
import UIKit
class CreatePaymentDataSource: NSObject {
var store: PaymentStore
var shouldSavePaymentPlan : Bool?
init(store: PaymentStore) {
self.store = store
}
enum DataSourceSecti... |
public func width(_ size: Size) -> Feature {
return .init(key: "width", value: size.value())
}
public func maxWidth(_ size: Size) -> Feature {
return .init(key: "max-width", value: size.value())
}
public func minWidth(_ size: Size) -> Feature {
return .init(key: "min-width", value: size.value())
}
|
//
// MapMarker.swift
// bm-persona
//
// Created by Kevin Hu on 2/24/20.
// Copyright © 2020 RJ Pimentel. All rights reserved.
//
import Foundation
import UIKit
import MapKit
// MARK: - KnownType
enum KnownType<T: RawRepresentable>: RawRepresentable {
typealias RawValue = T.RawValue
case known... |
//
// LPJNavigationController.swift
// LightPomodoro
//
// Created by 王嘉宁 on 2020/12/9.
// Copyright © 2020 Johnny. All rights reserved.
//
import UIKit
class LPJNavigationController: UINavigationController {
}
|
//
// ViewController.swift
// Past Paper Crawler
//
// Created by 吴浩榛 on 2018/8/26.
// Copyright © 2018年 吴浩榛. All rights reserved.
//
import Cocoa
class MainViewController: NSViewController {
@IBOutlet var quickOpComboBox: NSComboBox!
@IBOutlet var quickOpPerformButton: NSButton!
@IBOutlet var qu... |
//
// Copyright © 2020 Tasuku Tozawa. All rights reserved.
//
import Combine
import Domain
protocol SettingsViewProtocol: AnyObject {
func set(version: String)
func set(isICloudSyncEnabled: Bool)
func confirmToUnavailabilityICloudSync(shouldTurnOff: @escaping (Bool) -> Void)
func confirmToUnavailabil... |
//: Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
var platesArray = [1,2,3,4,5,5,5,5,9,10,11,12]
for i in platesArray{
i
}
for var i = 0; i < platesArray.count; i++ {
++platesArray[i]
}
var plates = [10,0,2,0,0,0]
var thePlates = [0,0,0,0,0,0]
//1 is 45
//2 is... |
//
// AddTableViewController.swift
// FoodPin
//
// Created by 廖慶麟 on 2016/2/25.
// Copyright © 2016年 廖慶麟. All rights reserved.
//
import UIKit
import Foundation
import CoreData
import CloudKit
class AddTableViewController: UITableViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UI... |
//
// SessionManager+Exposure.swift
// Exposure
//
// Created by Fredrik Sjöberg on 2017-10-13.
// Copyright © 2017 emp. All rights reserved.
//
import Foundation
import iOSClientDownload
import iOSClientExposure
extension iOSClientDownload.SessionManager where T == ExposureDownloadTask {
/* /// Create a... |
//
// LeafEdgeImageSelectionView.swift
// florafinder
//
// Created by Andrew Tokeley on 6/05/16.
// Copyright © 2016 Andrew Tokeley . All rights reserved.
//
import Foundation
class LeafEdgeImageSelectionView: ImageSelectionView
{
override internal var cellSize: CGSize
{
return CGSizeMake(70,80)... |
//
// TimerViewController.swift
// StudyUp
//
// Created by Mitchel Eppich on 2017-03-04.
// Copyright © 2017 SFU Health++. All rights reserved.
//
// Contributions from: Owen Kwok, Leone Tory
//
import UIKit
import FirebaseAuth
class TimerViewController: UIViewController, UIPickerViewDataSource, UIPickerViewDel... |
//
// PeripheralsTVC.swift
// Bluetooth Scanner
//
// Created by Pavan Athreya on 01/03/2019.
// Copyright (c) 2019 Pavan Athreya. All rights reserved.
//
import UIKit
import CoreBluetooth
import CoreLocation
//Class for listing the peripherals
class PeripheralsTVC: UITableViewController, CBCentralManagerDelegate... |
//
// MoreListViewController.swift
// PyConJP2016
//
// Created by Yutaro Muta on 3/7/16.
// Copyright © 2016 PyCon JP. All rights reserved.
//
import UIKit
import WebAPIFramework
import SafariServices
class MoreListViewController: UITableViewController {
override func viewDidLoad() {
super.viewD... |
//
// TeamsTableViewCell.swift
// AutosportInfo
//
// Created by Egor Salnikov on 05.10.2020.
// Copyright © 2020 Egor Salnikov. All rights reserved.
//
import UIKit
class TeamsTableViewCell: UITableViewCell {
@IBOutlet weak var cellView: UIView!
@IBOutlet weak var teamName: UILabel!
@IBOutlet weak va... |
//
// productsCollectionViewCell.swift
// D2020
//
// Created by MacBook Pro on 3/10/20.
// Copyright © 2020 Abdallah Eslah. All rights reserved.
//
import UIKit
class productsCollectionViewCell: UICollectionViewCell {
@IBOutlet weak var productImageView: RoundedImageView!
@IBOutlet weak var product... |
//
// Mine.swift
// FudanNews
//
// Created by Lotus on 2016/11/16.
// Copyright © 2016年 Fudan University. All rights reserved.
//
import UIKit
import AlamofireImage
import MJRefresh
class SubscriptionMine: UITableViewController {
var dataArray = [Subscription]()
var dataArrayAll = [Subscription]()
... |
//
// LoginViewController.swift
// Frames-App
//
// Created by Tyler Zhao on 12/5/18.
// Copyright © 2018 Tyler Zhao. All rights reserved.
//
import UIKit
import RxSwift
import RxCocoa
class SignInViewController: UIViewController, StoryboardInitializable {
@IBOutlet weak var loginTextField: FramesTextFie... |
//
// TimeEntryCellDelegate.swift
// MPM-Sft-Eng-Proj
//
// Created by Sebastian Peden on 9/18/18.
// Copyright © 2018 Harrison Ellerm. All rights reserved.
//
import Foundation
import UIKit
protocol TimeEntryCellDelegate {
func textFieldInCell(cell: TimeEntryCell, editingChangedInTextField newText:String)
}... |
//
// Constants.swift
// Papr
//
// Created by Mitchell Sturba on 2020-03-23.
// Copyright © 2020 Mitchell Sturba. All rights reserved.
//
import Foundation
struct Constants {
struct StoryBoard {
static let homeViewController = "HomeVC"
}
}
|
//
// UIKitExtension.swift
// delinshe_ios
//
// Created by Xu on 2020/9/28.
// Copyright © 2020 com.delinshe. All rights reserved.
//
import UIKit
public enum PostingType: String {
case all = "default"
case note = "note"
case value = "value"
case remove_mines = "remove_mines"
case dynamic = "... |
//
// Enums.swift
// Adapt
//
// Created by 599944 on 11/21/18.
// Copyright © 2018 TheATeam. All rights reserved.
//
import Foundation
enum SetType {
case rep
case Tsec
case Tmin
case distMi
case distKm
case distM
case NA }
enum WorkoutType {
case superset
case fortime
ca... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 4