Skip to content

Instantly share code, notes, and snippets.

View dooublemint's full-sized avatar
:octocat:
go

Ruslan Filistovich dooublemint

:octocat:
go
View GitHub Profile
@dooublemint
dooublemint / uiappearance-selector.md
Created July 29, 2020 08:45 — forked from mattt/uiappearance-selector.md
A list of methods and properties conforming to `UIAppearance` as of iOS 12 Beta 3

Generate the list yourself:

$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./*     | \
  sed 's/NS_AVAILABLE_IOS(.*)//g'     | \
  sed 's/NS_DEPRECATED_IOS(.*)//g'    | \
  sed 's/API_AVAILABLE(.*)//g'        | \
  sed 's/API_UNAVAILABLE(.*)//g'      | \
 sed 's/UI_APPEARANCE_SELECTOR//g' | \
@dooublemint
dooublemint / lifecycle_uiviewcontroller.md
Created February 18, 2020 07:00 — forked from arturlector/lifecycle_uiviewcontroller.md
Цикл жизни UIViewController? UIViewController life cycle?

Цикл жизни UIViewController?

https://habrahabr.ru/post/129557/

Ответственность UIViewController

UIViewController согласно шаблону проектирования MVC обеспечивает взаимосвязь
@dooublemint
dooublemint / UITextFiledIcon.swift
Created January 23, 2020 14:52 — forked from thomaskioko/UITextFiledIcon.swift
Sample code showing how to add icons to UITextFields
class SignInViewController: UIViewController {
@IBOutlet weak var emailTextField: UITextField!
@IBOutlet weak var passwordTextField: UITextField!
override func viewDidLoad() {
super.viewDidLoad()
//set the label font style
instagramLabel.font = UIFont(name: "Pacifico", size: 50)
@dooublemint
dooublemint / RBResizer.swift
Created January 8, 2020 14:05 — forked from iroller/RBResizer.swift
Swift Image Resizer
//
// RBResizer.swift
// Locker
//
// Created by Hampton Catlin on 6/20/14.
// Copyright (c) 2014 rarebit. All rights reserved.
//
import UIKit
//
// TableViewController.swift
// RSSParser
//
// Created by mihael on 14/04/15.
// Copyright (c) 2015 Mihael Isaev inc. All rights reserved.
//
import UIKit
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
mr Marathi
bs Bosnian
ee_TG Ewe (Togo)
ms Malay
kam_KE Kamba (Kenya)
mt Maltese
ha Hausa
es_HN Spanish (Honduras)
ml_IN Malayalam (India)
ro_MD Romanian (Moldova)