텍스트 뷰 컬렉션에서 반복하여 배열을 표시하려고합니다. IBOutletCollection에서 반복되는 Ioos TextView
@property (strong, nonatomic) IBOutletCollection(UITextView) NSArray *myTextViewCollection;
그러나 UI에
내 배열의 마지막 요소는 사용할 수 있습니다.for (UITextView *textView in myTextViewCollection) {
for (int i = 0; i < feeds.count; i++) {
textView.text = [[feeds objectAtIndex:i] objectForKey:@"title"];
textView.editable = false;
}
}
feeds
이 NSMutableDictionnary 개체의 목록을 contening있는 NSMutableArray입니다 :
내가 함께 반복.
아이디어가 있으십니까?
같은 코드를 변경해야입니까? – PCoder123
나는 변수를 추가하기 위해 내 질문을 편집했다 – user3433920