• 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
Moving from nib to code with custom controller.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Moving from nib to code with custom controller.


  • Subject: Moving from nib to code with custom controller.
  • From: James Cicenia <email@hidden>
  • Date: Wed, 31 Mar 2010 10:01:06 -0500

Hello -

I have always used IB before. I added my controller and linked it all up and it worked great.

Now, I have to move this instead to code. I am confused on how to do this.

1) I have a custom view controller. (FeaturedViewController)
2) I have a UIScrollView  (FeaturedScrollView)
3) I normally linked it up with IB
	scrollView = FeaturedViewController
	delegate = FeaturedViewController
	view = FeaturedViewController.

SO.. How do I set this up in my init of my master Controller (HomePageController)

Thank you very much
James







_______________________________________________

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: Moving from nib to code with custom controller.
      • From: Kevin Brock <email@hidden>
  • Prev by Date: Re: Terminating subtasks reliably
  • Next by Date: Re: "-forwardInvocation:" like NSInvocation creation
  • Previous by thread: Re: Best book for learning Objective c and cocoa
  • Next by thread: Re: Moving from nib to code with custom controller.
  • Index(es):
    • Date
    • Thread