私はSwiftの初心者であり、Swift 3.0を使用しています。 私はセットアップを次ていますSwift 3.0の配列を介在する
var profileArray = [[String: AnyObject]]()
profileArray.append(["profile_name":profileName.text! as AnyObject,"wifi":wifiValue.isOn as AnyObject,"bluetooth":btoothValue.isOn as AnyObject,"airplane":airplaneValue.isOn as AnyObject,"mobile_data":mdataValue.isOn as AnyObject,"not_disturb":nodisturbValue.isOn as AnyObject,"loc_service":locationValue.isOn as AnyObject,"ring_vol":ringVolume as AnyObject,"operation":editOperation as AnyObject])
//Value stored in this array
Array:
[
[
"wifi": 1,
"bluetooth": 1,
"not_disturb": 1,
"operation": 1,
"airplane": 1,
"profile_name": loud,
"loc_service": 1,
"ring_vol": 4,
"mobile_data": 1
],
[
"wifi": 1,
"bluetooth": 0,
"not_disturb": 1,
"operation": 0,
"airplane": 1,
"profile_name": quite,
"loc_service": 0,
"ring_vol": 1,
"mobile_data": 1
]
]
私の質問は、私はこの配列を繰り返し処理し、「操作」のインデックスの値をチェックしますかどのようにでしょうか?