Skip to content

Instantly share code, notes, and snippets.

@amorbytes
amorbytes / StringSeries.swift
Last active August 11, 2016 09:52
Swift : Increment character string same as number
// paste code in to playground to see result
// This gist is capable to give your equivalent string for any number your pass to function
// want to verify result given by it. just give lesser value to **numFiles** variable and uncomment forloop and see result in playground
import UIKit
var fileName:String
var counter:Double = 0
var alphabets:Array = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
let totalAlphaBets:Double = 26.0