Skip to content

Instantly share code, notes, and snippets.

View tularovbeslan's full-sized avatar
:octocat:
Working from home

Beslan Tularov tularovbeslan

:octocat:
Working from home
View GitHub Profile
@tularovbeslan
tularovbeslan / NSDataExtensions.swift
Created July 9, 2018 16:47 — forked from huguesbr/NSDataExtensions.swift
Convert to and from NSData for common Swift types. Includes Eddystone URL conversion.
//
// NSDataExtensions.swift
// MAPO
//
// Created by Hugues Bernet-Rollande on 21/3/16.
// Copyright © 2016 WB Technologies. All rights reserved.
//
import Foundation
localeIdentifier Description
eu Basque
hr_BA Croatian (Bosnia & Herzegovina)
en_CM English (Cameroon)
rw_RW Kinyarwanda (Rwanda)
en_SZ English (Swaziland)
tk_Latn Turkmen (Latin)
he_IL Hebrew (Israel)
ar Arabic
uz_Arab Uzbek (Arabic)
@tularovbeslan
tularovbeslan / SCNText+Typewriter.swift
Created May 25, 2019 18:54
An Example Of Animating SCNText With A Typewriter Like Effect
//1. Timer To Animate Our Text
var animationTimer: Timer?
//2. Variable To Store The Current Time
var time:Int = 0
/// Animates The Presentation Of SCNText To Give An Appearance Of A Typing Effect
///
/// - Parameters:
/// - textGeometry: SCNText