Outlet not set up in awakeFromNib
| Originator: | gradyplayer | ||
| Number: | rdar://18755803 | Date Originated: | 10/23/2014 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.0 |
| Classification: | Serious Bug | Reproducible: | YES |
Summary: The outlet in this sample project isn't set up in awakeFromNib, but it is set up by .1 seconds later. Steps to Reproduce: open example, run example... assert will be hit Expected Results: when `awakeFromNib` is hit in `PassWordDelegateA` the `self.textField` outlet should already be set, then when the timer is fired the values of `self.textField` and `self.textFieldAtAwakeFromNib` should be the same Actual Results: when `awakeFromNib` is hit in `PassWordDelegateA` the `self.textField` outlet is nil, then when the timer is fired the values of `self.textField` and `self.textFieldAtAwakeFromNib` aren't the same because `self.textFieldAtAwakeFromNib` is nil, and self.textField is set. Version: iOS 8 sdk targeting iOS 7 Notes: Configuration: simulator xcode 6.0.1 Attachments: 'CorrectWayToSwapReturnButton 2.zip' and 'Screen Shot 2014-10-23 at 3.33.52 PM.png' were successfully uploaded. **I will provide the example code if someone wanted to tweet me @gradyplayer**
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!