Skip to content

Instantly share code, notes, and snippets.

View inekipelov's full-sized avatar
🏠
Working from home

Roman Nekipelov inekipelov

🏠
Working from home
View GitHub Profile
@inekipelov
inekipelov / macos-terminal-gatekeeper.sh
Last active April 8, 2017 12:14 — forked from polster/macos-terminal-gatekeeper.sh
macOS: Allow Gatekeeper untrusted apps
# Check if a specific app has been quarantined by Gatekeeper
➜ ~ xattr Applications/Eclipse.app com.apple.quarantine
# Remove the app from the quarantine
➜ ~ sudo xattr -r -d com.apple.quarantine Applications/Eclipse.app
@inekipelov
inekipelov / xcode-build-bump.sh
Created February 21, 2018 20:32 — forked from sekati/xcode-build-bump.sh
Xcode Auto-increment Build & Version Numbers
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)
@inekipelov
inekipelov / update-version.sh
Created September 18, 2020 08:34 — forked from jellybeansoup/update-version.sh
Script for Incrementing Version Numbers
#!/bin/bash
# Link: <https://gist.github.com/jellybeansoup/db7b24fb4c7ed44030f4>
#
# A command-line script for incrementing build numbers for all known targets in an Xcode project.
#
# This script has two main goals: firstly, to ensure that all the targets in a project have the
# same CFBundleVersion and CFBundleShortVersionString values. This is because mismatched values
# can cause a warning when submitting to the App Store. Secondly, to ensure that the build number
# is incremented appropriately when git has changes.
#
@inekipelov
inekipelov / Best in Class iOS Checklist
Created May 23, 2021 14:11 — forked from DreamingInBinary/Best in Class iOS Checklist
This is a public checklist updated every year after the latest version of iOS and iPadOS are shipped. It's a boiled down version of a "Best in Class" app checklist created by Jordan Morgan.
# A Best in Class Checklist
A boiled down checklist adapted from this [post](https://www.swiftjectivec.com/a-best-in-class-app/), created by @jordanmorgan10.
> To use this, create a Github Issue in your own repo, and simply copy and paste this text.
## iOS Core Technology
_Things any iOS app can benefit from_
- [ ] iCloud Sync
- [ ] [Core Spotlight integration](https://github.com/DreamingInBinary/Spend-Stack/issues/120)
//
// UIView+Extras.swift
// Clay Ellis
// gist.github.com/clayellis/0cf1b1092b6a08cb4c5b2da9abee5ed9
//
import UIKit
@objc public protocol ConfigurableView {
@objc optional func configure()
@inekipelov
inekipelov / ios-questions-interview.md
Created May 23, 2021 17:20 — forked from arturlector/ios-questions-interview.md
Вопросы на собеседование iOS разработчика.

Вопросы на собеседование iOS разработчика (дополненное издание):

General:

  • Что такое полиморфизм?

  • Что такое *инкапсуляция? Что такое *нарушение инкапсуляции?

  • Чем абстрактный класс отличается от интерфейса?

  • Расскажите о паттерне MVC. Чем отличается пассивная модель от активной?