Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View MertCelik's full-sized avatar
🎯
Focusing

Mert MertCelik

🎯
Focusing
  • Veriff
  • Tallinn/Estonia
View GitHub Profile
@MertCelik
MertCelik / KeyboardDismissExample.swift
Created April 20, 2018 18:17
How to dismiss keyboard in iOS
import UIKit
class RegistrationViewController: UIViewController, UITextFieldDelegate {
@IBOutlet weak var firstNameField: UITextField!
@IBOutlet weak var lastNameField: UItextField!
override func viewDidLoad(){
super.viewDidLoad()
configurations()
# Merge Script
# 1
# Set bash script to exit immediately if any commands fail.
set -e
# 2
# Setup some constants for use later on.
FRAMEWORK_NAME="BrandingFramework"
@MertCelik
MertCelik / combine_static_libraries.sh
Created December 7, 2017 10:40 — forked from evands/combine_static_libraries.sh
Combine multiple .a static libraries, which may each have multiple architectures, into a single static library
#!/bin/sh
# Combined all static libaries in the current directory into a single static library
# It is hardcoded to use the i386, armv7, and armv7s architectures; this can easily be changed via the 'archs' variable at the top
# The script takes a single argument, which is the name of the final, combined library to be created.
#
# For example:
# => combine_static_libraries.sh combined-library
#
# Script by Evan Schoenberg, Regular Rate and Rhythm Software