Trying to use the code block below, but don't know how to get the options bit to work in the else clause, I keep getting 'NSPropertyListMutabilityOptions' is not convertible to 'NSPropertyListReadOptions'. But the Read options don't have MutableContainersWithLeaves that I need.
//if the file does not already exist
if(appStatsData != nil) {
appStats.setObject(NSNumber.numberWithInt(0), forKey:"RunCount")
appStats.setObject("No Courses Viewed", forKey:"LastCourseViewed")
}else {
appStats = NSPropertyListSerialization.propertyListWithData(appStatsData, options: NSPropertyListMutabilityOptions.MutableContainersAndLeaves, format: nil, error: &error)
}