This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIImageView+Omar.swift | |
// ......... | |
// | |
// Created by Omar Alshammari on 12/20/15. | |
// Copyright © 2015 ___OALSHAMMARI___. All rights reserved. | |
// | |
/* | |
This enum is to help referencing Assets ID. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
let alphabitDict = [0: "A", 1: "B", 2: "C", 3: "D", 4: "E", 5: "F", 6: "G", 7: "H", 8: "I", 9: "J", 10: "K", 11: "L", 12: "M", 13: "N", 14: "O", 15: "P", 16: "Q", 17: "R", 18: "S", 19: "T",20: "U", 21: "V", 22: "W", 23: "X", 24: "Y", 25: "Z", 26: " "] | |
var initalRowOrder = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
typealias StyleAttributes = [NSAttributedString.Key: Any] | |
enum AttributedText { | |
case text(String, StyleAttributes) | |
case image(UIImage, StyleAttributes) | |
} | |
@_functionBuilder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// CallsUI | |
// | |
// Created by Omar Alshammari on 06/11/1442 AH. | |
// | |
import SwiftUI | |
struct ContentView: View { |