r/iOSProgramming • • Jun 02 '14

Passing Data Between View Controllers

http://www.infragistics.com/community/blogs/torrey-betts/archive/2014/05/29/passing-data-between-view-controllers-ios-obj-c.aspx
1 Upvotes

11 comments sorted by

View all comments

1

u/[deleted] Jun 02 '14

How old is this blog post?

  • Interface holds instance variables;

  • No storyboarding;

  • UIViewController initialisation with simple init;

  • Label uses autoresizing mask instead of constraints;

  • Anything else i've missed?

3

u/IGDev Jun 02 '14

The blog post is dated with 05/29/2014.

  • Interface holding instance variables is common, especially when you don't need to expose those publicly

  • Not everyone uses storyboarding

  • There's nothing wrong with initializing a view or view controller using a simple init

  • Not everyone uses constraints