• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Outlets are nil after awakeFromNib call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Outlets are nil after awakeFromNib call


  • Subject: Outlets are nil after awakeFromNib call
  • From: Sasikumar JP <email@hidden>
  • Date: Sun, 10 May 2015 22:28:51 +0530

Hi,

   I am observing outlets are nil after the awakeFromNib call in my
viewcontroller which is created from the storyboard.

    As per the apple documentation, awakeFromNib will be called after
initialising all the objects  and outlets for a view controller from nib.

  i hope awakeFromNib is valid for storyboard too.

   my application is crashing if i do any operation on the outlet var. I am
using Xcode 6.3 with Swift.


Regards
Sasikumar JP
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Outlets are nil after awakeFromNib call
      • From: Kyle Sluder <email@hidden>
    • Re: Outlets are nil after awakeFromNib call
      • From: Michael David Crawford <email@hidden>
  • Prev by Date: Re: NSUndoManager.prepareWithInvocationTarget:
  • Next by Date: Re: Outlets are nil after awakeFromNib call
  • Previous by thread: Re: NSUndoManager.prepareWithInvocationTarget:
  • Next by thread: Re: Outlets are nil after awakeFromNib call
  • Index(es):
    • Date
    • Thread