workflow:
$ rails g model NameOfModel
invoke active_record
create db/migrate/YYYYMMDDHHMMSS_create_name_of_models.rb
# db/migrate/20101004063749_create_photos.rb | |
class CreatePhotos < ActiveRecord::Migration | |
def self.up | |
create_table :photos do |t| | |
t.string :name, :null => false | |
t.binary :data, :null => false | |
t.string :filename | |
t.string :mime_type | |
t.timestamps |
// | |
// ViewController.swift | |
// SendEmailWithAttachment | |
// | |
// Created by Kelly Egan on 3/17/15. | |
// Copyright (c) 2015 Kelly Egan. All rights reserved. | |
// | |
import UIKit | |
import MessageUI |
let styles: [UIFont.TextStyle] = [ | |
// iOS 17 | |
.extraLargeTitle, .extraLargeTitle2, | |
// iOS 11 | |
.largeTitle, | |
// iOS 9 | |
.title1, .title2, .title3, .callout, | |
// iOS 7 | |
.headline, .subheadline, .body, .footnote, .caption1, .caption2, | |
] |
Bryan Irace: http://irace.me/ | |
Chris Eidhof: http://chris.eidhof.nl/ | |
Objc.io: https://www.objc.io/ | |
Airspeed Velocity: https://airspeedvelocity.net/ | |
Cocoa With Love: http://www.cocoawithlove.com/ | |
Ash Furrow: https://ashfurrow.com/ | |
Jessie Squires: http://www.jessesquires.com/ | |
Soroush Khanlou: http://khanlou.com/ | |
Ole Begemann: http://oleb.net/ | |
Krzysztof Zabłocki: http://merowing.info/ |