Proyectos de Subversion Iphone Microlearning - Nuevo Interface

Rev

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

Rev 40 Rev 41
Línea 126... Línea 126...
126
                
126
                
127
                let newCapsules = Int(userInfo["new_capsules"] as? String ?? "") ?? 0
127
                let newCapsules = Int(userInfo["new_capsules"] as? String ?? "") ?? 0
Línea 128... Línea 128...
128
                let isForeground = (Int(userInfo["is_foreground"] as? String ?? "") ?? 0) == 1
128
                let isForeground = (Int(userInfo["is_foreground"] as? String ?? "") ?? 0) == 1
129
                
129
                
130
                if newCapsules > 0 {
130
                if newCapsules > 0 {
Línea 131... Línea 131...
131
                    let title = userInfo?["title"] as? String ?? ""
131
                    let title = userInfo["title"] as? String ?? ""
132
                    let body = userInfo?["body"] as? String ?? ""
132
                    let body = userInfo["body"] as? String ?? ""
133
                    
133
                    
134
                    let command = Constants.NOTIFICATION_COMMAND_REFRESH_CONTENT
134
                    let command = Constants.NOTIFICATION_COMMAND_REFRESH_CONTENT