-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathHelperManager.swift
More file actions
42 lines (37 loc) · 921 Bytes
/
HelperManager.swift
File metadata and controls
42 lines (37 loc) · 921 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// HelperManager.swift
// My_Devoxx
//
// Created by Maxime on 15/03/16.
// Copyright © 2016 maximedavid. All rights reserved.
//
import Foundation
class HelperManager {
class func getShortTalkTypeName(talkType : String) -> String {
if(talkType == "Ignite Sessions") {
return "Ignite"
}
if(talkType == "Conference") {
return "Conference"
}
if(talkType == "Quickie") {
return "Quickie"
}
if(talkType == "Keynote") {
return "Keynote"
}
if(talkType == "University") {
return "University"
}
if(talkType == "Tools-in-Action") {
return "Tools"
}
if(talkType == "Hand's on Labs") {
return "HOL"
}
if(talkType == "BOF (Bird of a Feather)") {
return "BOF"
}
return talkType
}
}