On Sun, May 10, 2015, at 11:58 AM, Sasikumar JP wrote:
> 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
I don't know why they are nil, but in general it is quite helpful to
use assertions anywhere you could have made a coding error.
This is, rather than:
void foo: (char*)buf
{
// buf points to a valid C string
...
}
use this:
void foo: (char*)buf
{
assert( buf != NULL );
...
}
On
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 va