THat's correct. In a switch you'd need full pattern-matching syntax,
case let unwrappedUserInfo? where application.application == .Active:
and you can't do an assignment right there.
perhaps you meant to switch(userInfo["msgIdenitifer"])
on Mon Feb 08 2016, James Campbell <email@example.com> wrote:
In Swift 2.1 its possible to do the following:
if let _ = userInfo["msgIdenitifer"] where application.applicationState == .
case let _ = userInfo["msgIdenitifer"] where application.applicationState