Proyectos de Subversion Iphone Microlearning - Nuevo Interface

Rev

Rev 25 | Rev 27 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 25 Rev 26
Línea 147... Línea 147...
147
        { data in
147
        { data in
Línea 148... Línea 148...
148
            
148
            
149
            let title = data.userInfo?["title"]! as? String ?? ""
149
            let title = data.userInfo?["title"]! as? String ?? ""
150
            let body = data.userInfo?["body"]! as? String ?? ""
150
            let body = data.userInfo?["body"]! as? String ?? ""
151
            let url = data.userInfo?["url"]! as? String ?? ""
151
            let url = data.userInfo?["url"]! as? String ?? ""
-
 
152
            let sNewCapsules = data.userInfo?["new_capsules"]! as? String ?? " 
Línea 152... Línea 153...
152
            let newCapsules = Int(data.userInfo?["new_capsules"]! as? String ?? "0") ?? 0
153
            let newCapsules =  Int("sNewCapsules") ?? 0
Línea 153... Línea 154...
153
 
154
 
Línea 170... Línea 171...
170
                
171
                
171
                let timeFormatter = DateFormatter()
172
                let timeFormatter = DateFormatter()
Línea 172... Línea 173...
172
                timeFormatter.dateFormat = Constants.FORMAT_TIME_12
173
                timeFormatter.dateFormat = Constants.FORMAT_TIME_12
173
                
174
                
Línea 174... Línea 175...
174
                let dateOn = dateFormatter.string(from: now)
175
                let dateOn = dateFormatter.string(from: now)
175
                let timeOn = dateFormatter.string(from: now)
176
                let timeOn = timeFormatter.string(from: now)