Hey tôi chỉ mới bắt đầu lập trình ios hôm nay và tôi đang đối mặt với công cụ xóa này.Tổng hợp tài sản yếu chỉ được phép trong chế độ arc hoặc gc
plz giúp tôi để loại bỏ lỗi này
plz đề nghị tôi một số nhà phát triển thoải mái ios hướng dẫn
#import "ViewController.h"
@interface ViewController()
@end
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *txtUsername;
@property (weak, nonatomic) IBOutlet UITextField *txtPassword;
- (IBAction)loginClicked:(id)sender;
- (IBAction)backgroundClick:(id)sender;
@end
lỗi nào bạn đang gặp phải? –