开发者

is it valid statement?

开发者 https://www.devze.com 2023-01-28 21:41 出处:网络
SqlAssignementApp开发者_如何学GoDelegate *appDelegate =(SqlAssignementAppDelegate *) [[UIApplication sharedApplication]delegate];
SqlAssignementApp开发者_如何学GoDelegate *appDelegate =(SqlAssignementAppDelegate *) [[UIApplication sharedApplication]delegate];
lblresNam.text =[appDelegate.Record objectAtIndex:0];

lblresNam is UITextField type object Record is NSMutableArray

but my application is terminating.. Please give me solutions...


Is your Record object a property, so you know it's being retained, and so dot notation will be available?

More likely the culprit, did you forget to @synthesize Record so it has a getter?

If you neglected to do either one of those, appDelegate.Record is an error.

0

精彩评论

暂无评论...
验证码 换一张
取 消