Skip to content

Instantly share code, notes, and snippets.

View bengidev's full-sized avatar
👾
iOS App Developer

B e n g i bengidev

👾
iOS App Developer
View GitHub Profile
@gdavis
gdavis / xcode-vim.markdown
Last active December 2, 2025 19:20
Notes for working with Xcode VIM mode

Xcode VIM

Learning VIM in Xcode comes with its own set of challenges and limitations, but there is enough there for you to give your mousing hand a break and master the keyboard.

A limited set of commands are available in Xcode, and this document attempts help ease the learning curve of using VIM in Xcode by providing a handy reference as well as what I find works for me in practice.

NOTE: Commands are case-sensitive. A command of N means pressing shift + n on the keyboard.

This document is a work in progress! Leave a comment if you would like to see a change.

@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active December 8, 2025 20:24
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

extension UILabel {
static func spaceLabel() -> UILabel {
let spacingLabel = UILabel()
spacingLabel.frame = CGRect(x: 0, y: 0, width: 150, height: 50)
spacingLabel.textColor = .white
spacingLabel.textAlignment = .center
spacingLabel.font = UIFont.boldSystemFont(ofSize: 18)
spacingLabel.text = "LIKE ME"
spacingLabel.backgroundColor = .red
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 9, 2025 18:37
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@zacwest
zacwest / ios-font-sizes.swift
Last active September 25, 2025 07:59
iOS default font sizes - also available on https://www.iosfontsizes.com
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,
]