- (IBAction)SignUp:(id)sender; { Expected identifier or '('
IBOutlet UITextField *Firstnamefield;
IBOutlet UITextField *Lastnamefield;
IBOutlet UITextField *emailfield;
IBOutlet UITextField *agefield;
IBOutlet UITextField *passwordfield:
IBOutlet UITextField *reenterpasswordfield;
}
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
It seems to me that you put an IBAction at the wrong place in the .h file. It should be after the definition of the instance variables, for example:
There a couple of problems. For one, you can not use the IBOutlet qualifier outside of an interface declaration. And
passwordfield
has a colon after it that should be a semicolon.In case this is the point of confusion, if you were creating the interface declaration for this IBAction, it would look like this:
Other than that, the only other thing that could be causing this is if you are trying to place the entire IBAction inside the header file.