Skip to content

Instantly share code, notes, and snippets.

//
// FriendsViewController.swift
// Nudge
//
// Created by Peter Nicholls on 2/08/2014.
// Copyright (c) 2014 Peter Nicholls. All rights reserved.
//
import Foundation
import UIKit
class SettingsViewController: UIViewController {
weak var delegate: SettingsViewControllerDelegate?
...
}
#import "SSDataKit.h"
@class CDKList;
@class CDKTask;
extern NSString *const kCDKCurrentUserChangedNotificationName;
@interface CDKUser : SSRemoteManagedObject
@property (nonatomic, strong) NSString *firstName;
import UIKit
class AuthenticationViewController: UIViewController {
// MARK: - Properties
var welcomeLabel: UILabel = {
let label = UILabel()
label.text = "Welcome to Paparazzi"
label.setTranslatesAutoresizingMaskIntoConstraints(false)
label.font = UIFont(name: "HelveticaNeue-Thin", size: 30)
class Stock < ActiveRecord::Base
include Elasticsearch::Model
include Elasticsearch::Model::Callbacks
belongs_to :exchange
belongs_to :company
has_many :comments, as: :commentable
has_many :tasks
has_many :task_comments, through: :tasks, source: :comments