Proyectos de Subversion Iphone Microlearning - Nuevo Interface

Rev

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

Rev 43 Rev 44
Línea 147... Línea 147...
147
                var userNotification : UserNotificationModel  = UserNotificationModel(userUuid: appData.userUuid, title: title, body: body, viewed: 0, url: "", command: command, dateOn: dateOn, timeOn: timeOn)
147
                var userNotification : UserNotificationModel  = UserNotificationModel(userUuid: appData.userUuid, title: title, body: body, viewed: 0, url: "", command: command, dateOn: dateOn, timeOn: timeOn)
Línea 148... Línea 148...
148
                        
148
                        
Línea 149... Línea -...
149
                userNotificationDao.insert(userNotification: userNotification)
-
 
150
                    
-
 
151
                    
-
 
152
                var message : String = ""
-
 
153
                switch newCapsules
149
                userNotificationDao.insert(userNotification: userNotification)
154
                {
-
 
155
                    case 0  :
-
 
156
                        message = Config.LANG_MESSAGE_NEW_CONTENT_THERE
-
 
157
                        break
-
 
158
                
-
 
159
                    case 1 :
150
                    
160
                        message = Config.LANG_MESSAGE_NEW_CONTENT_THERE_IS_ONE_CAPSULE
-
 
161
                        break
-
 
162
  
-
 
163
                    default :
-
 
Línea 164... Línea 151...
164
                        message = Config.LANG_MESSAGE_NEW_CONTENT_THERE_ARE_MULTIPLE_CAPSULES.replacingOccurrences(of: "%s", with: String(newCapsules))
151
                    
165
                        break
152
                var message : String =  Config.LANG_MESSAGE_NEW_CONTENT_THERE
166
                }
153
 
167
                
154