Skip to content

Instantly share code, notes, and snippets.

@mono0926
Created August 20, 2015 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mono0926/05324ee0e877fb9f3153 to your computer and use it in GitHub Desktop.
Save mono0926/05324ee0e877fb9f3153 to your computer and use it in GitHub Desktop.
let params: [String: AnyObject!] = [
"avatarData": avatarData,
"displayName": member.displayName,
"currentCharacterId": member.currentCharacterId,
"profileView.birthday": member.birthday,
"sex": member.sex.rawValue,
"profileView.bloodType": member.bloodType.rawValue,
"address.country": member.address.country.rawValue, // "address: account.address!.dictはbindされないので。通常のrequestならOK"
"profileView.address.prefectures": member.address.prefectures.rawValue,
"profileView.hometown.country": member.hometown.country.rawValue,
"profileView.hometown.prefectures": member.hometown.prefectures.rawValue,
"profileView.currentJob": member.currentJob.rawValue,
"profileView.freeday": member.freeday.rawValue,
"profileView.wakeupTime": member.wakeupTime,
"profileView.bedtime": member.bedtime,
"profileView.pastJob": member.pastJob?.rawValue,
"profileView.hobbies": member.hobbies,
"profileView.educationalBackground": member.educationalBackground?.rawValue,
"profileView.workLocation.country": member.workLocation?.country.rawValue,
"profileView.workLocation.prefectures": member.workLocation?.prefectures.rawValue,
"profileView.favoriteMusics": member.favoriteMusics,
"profileView.favoriteBooks": member.favoriteBooks,
"profileView.favoriteTvs": member.favoriteTvs,
"profileView.favoriteMovies": member.favoriteMovies,
"profileView.favoriteDramas": member.favoriteDramas,
"profileView.favoriteVarieties": member.favoriteVarieties,
"profileView.favoriteAnimations": member.favoriteAnimations,
"profileView.favoriteCharacters": member.favoriteCharacters,
"profileView.personalitiesSelf": member.personalitiesSelf,
"profileView.personalitiesOther": member.personalitiesOther,
"profileView.strongPoints": member.strongPoints,
"profileView.weakPoints": member.weakPoints
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment