hello's People
hello's Issues
hello
//
// Constants.swift
// iPrescribe_verI
//
// Created by Mobile Developer on 2/8/17.
// Copyright © 2017 quantum.y. All rights reserved.
//
import Foundation
import UIKit
enum YImageAssets: String {
case CommonBackgroundImage = "CommonBackgroundImage"
case leftarrow = "leftarrow"
case rightarrow = "rightarrow"
case UserphotoPlaceholder = "45985"
case TouchID = "Touch-icon-lg"
case DoctorPhoto = "doctor_photo.jpg"
func image(selected: Bool = false) -> UIImage {
return UIImage(named: selected ? self.rawValue+"-selected" : self.rawValue)!
}
}
struct YConstants {
struct String {
static let logoText = "iPrescribe"
static let MainMenuTitles = ["Dashboard", "Patient", "Appointment", "Outbreaks", "Prom.Prod", "Notes", "Disease", "Settings"]
}
struct ViewControllers {
static let Login = "loginviewcontroller"
static let RegisterDoctorDetail = "registerdoctordetailviewcontroller"
static let RegisterHospitalDetail = "registerhospitaldetailviewcontroller"
static let RegisterLoginDetail = "registerlogindetailviewcontroller"
static let MainContentTabbar = "maintabbarcontent"
}
struct Segues {
static let RegisterToSecond = "RegisterDoctorToHospitalSegue"
static let RegisterToThird = "RegisterHospitalToLoginDetailSegue"
static let RegisterConfirm = "RegisterCompleteSegue"
static let Login = "loginSegue"
}
struct CellNiBNames {
static let MainTab = "MainTabCell"
}
struct CellIdentifiers {
static let MainTab = "maintabcell"
static let Dashboard_I = "dashboardcell-i"
static let Dashboard_II = "dashboardcell-ii"
static let Dashboard_III = "dashboardcell-iii"
}
struct Tags {
struct Dashboard {
static let LableDiseaseName = 1000000
static let LableConfirmedCount = 1000001
static let LablePossibleCount = 1000002
static let HeaderviewFirst = 1000010
static let HeaderviewSecond = 1000011
static let HeaderviewThird = 1000012
}
}
struct Nibs {
static let DashboardHeaderViewI = "DashboardHeaderViewI"
static let DashboardHeaderViewII = "DashboardHeaderViewII"
}
struct Color {
static let backgroundColor = UIColor(red: 22.0/255.0, green: 120.0/255.0, blue: 154.0/255.0, alpha: 1.0)
static let barTintColor = UIColor(colorLiteralRed: 5.0/255.0, green: 171.0/255.0, blue: 224.0/255.0, alpha: 1.0)
}
struct Constraints {
struct Dashboard {
static let SecondTableViewHeightNormal = "dashboardsecondtableviewheightconstraintnormal"
static let SecondTableViewHeightExpand = "dashboardsecondtableviewheightconstraintexpand"
static let ThirdTableViewHeightNormal = "dashboardthirdtableviewheightconstraintnormal"
static let ThirdTableViewHeightExpand = "dashboardthirdtableviewheightconstraintexpand"
}
}
}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.