내가보기간에 데이터를 전송하려면,하지만 난이 오류가 발생합니다 : 인식 할 수없는 선택 ....NSCFNumber 인식 할 수없는 선택
및 디버거에서 변수 mystring에가 NSCFNumber는 ("이것이다 시간 ") 대신있는 NSString의 ...
allergy_appAppDelegate.h
#import <UIKit/UIKit.h>
@interface allergy_appAppDelegate : NSObject <UIApplicationDelegate, UITabBarControllerDelegate> {
UIWindow *window;
UITabBarController *tabBarController;
NSMutableArray *result_array;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;
@property (copy , readwrite) NSMutableArray *result_array;
@end
viewcontroller.m
allergy_appAppDelegate *dataCenter = (allergy_appAppDelegate *)[[UIApplication sharedApplication]delegate];
dataCenter.result_array = [[NSMutableArray alloc] initWithArray:Parser_result];
,
result.m
allergy_appAppDelegate *dataCenter = (allergy_appAppDelegate*)[[UIApplication sharedApplication]delegate];
show_user_array = [[NSMutableArray alloc] initWithArray: dataCenter.result_array]
for (NSString *mystring in show_user_array) {
textView.text = [[textView text] stringByAppendingString:@"\n"];
textView.text = [[textView text] stringByAppendingString:mystring];
}
배열은 NSString 인스턴스로 가득 차 있습니다 ... 읽기 - 쓰기 속성을 시도했지만 성공하지 못했습니다 .. – Phil
아무도 아이디어가 없습니까? – Phil
전체 오류 메시지와 백 트레이스를 게시하십시오. – bbum