Skip to content

Instantly share code, notes, and snippets.

View AlessioAnesa's full-sized avatar

Alessio Anesa AlessioAnesa

  • MidaTicket s.r.l.
  • Bergamo - Italy
View GitHub Profile
@AlessioAnesa
AlessioAnesa / StopXcodeSVN.sh
Last active January 2, 2018 11:17
Block annoying Xcode's requests for SVN credentials
cd `xcode-select -p`/../PlugIns
#this disable SVN support for Xcode
mv IDESubversion.ideplugin IDESubversion.PLS.STHAP.ideplugin
@AlessioAnesa
AlessioAnesa / NSView+Debug.swift
Created March 10, 2016 13:46
Extension for NSView hierarchy description
extension NSView {
func logRecursiveDescription() {
Swift.print(self._recursiveDescription())
}
func _recursiveDescription(depth: Int = 0) -> String
{
var subviewsDescription = ""
#!/usr/bin/env ruby
# gist: https://gist.github.com/3217498
# This script can be called from an Xcode 'Run Script' build phase at the
# beginning of the build process, like this:
#
# ${PROJECT_DIR}/LocalizeStringsFromAndroid.rb ${PROJECT_NAME}
#
# This script should be placed in the same directory as your .xcodeproj
A PageViewController subclass with a configuration block and scroll handling.
UITableView convenience classes for resizing header and footer with autolayout.
@AlessioAnesa
AlessioAnesa / !MarkdownAttributedLabel
Last active August 29, 2015 14:10 — forked from andreacremaschi/ MarkdownAttributedLabel
MarkdownAttributeLabel using XNGMarkdownParser
A TTTAttributedLabel convenience subclass that uses MMarkdown to parse markdown text.