Friday, 7 June 2013

Re: [NSCoderNightDC] Storyboard vs. xib timing...

They are not free but these 2 courses pretty much helped me master AutoLayout and also Storyboards.

http://ideveloper.tv/video/autolayoutcourse.html

http://teamtreehouse.com/library/ios-5-foundations/storyboards

But you may want to wait until WWDC in 2 days, I am sure there will be upgrades to Xcode and also new sessions on both Storyboards & AutoLayout!

For me the 2 courses above filled in some gaps that Apple did not cover at last years WWDC.  

I wish I was going to WWDC but I could not get tickets this year since it sold out so quickly in 2 minutes! I am going to try to access the daily conference session videos online that Apple is supposed to be releasing!

Marcus


On Sat, Jun 8, 2013 at 12:33 AM, Steven Fusco <sfusco@cibotechnology.com> wrote:
Might it be AutoLayout on your storyboard?

The old Xib would have been hard wired in the XML to a number but with
AutoLayout the constraints probably need to be applied later at run
time. Just a guess.



SLF


On Jun 7, 2013, at 4:43 PM, Jon August <jonaugust@gmail.com> wrote:

> I'm updating one of my apps and in the process I've decided to adopt Storyboard.  I was getting really weird behavior with the same code.  I've pulled out all the pieces and I've narrowed it down.  If I make a project, and the only thing I put in the main view is a scrollview and then I try to NSLog it's width, there are these differences…
>
> With Storyboard, I can't measure the width of the scrollview until viewDidAppear.  With a xib, I can measure the width in viewDidLoad, and all my other code works fine because the scrollview appears to be ready for all the stuff I want to do.
>
> Can someone explain why Storyboard doesn't seem ready for me until viewDidAppear?  I don't really want to modify the interface after the view has appeared, but with Storyboard that seems to be the only way to get it to work.
>
> Am I missing something?  Is there a relevant document I should be reading about this difference between xibs and storyboard?
>
> Thanks,
>    -Jon
>
> --
> You received this message because you are subscribed to the Google Groups "NSCoderNightDC" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nscodernightdc+unsubscribe@googlegroups.com.
> To post to this group, send email to nscodernightdc@googlegroups.com.
> Visit this group at http://groups.google.com/group/nscodernightdc?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "NSCoderNightDC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nscodernightdc+unsubscribe@googlegroups.com.
To post to this group, send email to nscodernightdc@googlegroups.com.
Visit this group at http://groups.google.com/group/nscodernightdc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "NSCoderNightDC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nscodernightdc+unsubscribe@googlegroups.com.
To post to this group, send email to nscodernightdc@googlegroups.com.
Visit this group at http://groups.google.com/group/nscodernightdc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 comments:

Post a Comment