Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6241039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:41:07+00:00 2026-05-24T11:41:07+00:00

Trying to get my head around protocols and delegates when extending it further into

  • 0

Trying to get my head around protocols and delegates when extending it further into the UIKit framework’s implementation.

From my understanding of this stackoverflow post a delegate method will usually have Did, Should & Will in it’s name.

Based on this, I would assume that - (void)viewDidLoad; declared in UIViewController.h is a delegate method, but of what and from where?

I’ve looked at UIViewController’s header file and it only adhere’s to the NSCoding protocol which is a dead end. UIViewController’s superclass UIResponder is also a dead end as far as I can see.

I’ve used viewDidLoad as an example here but this could apply to any of the Did, Should & Will methods in UIViewController.

Is this simply one of those cases that is an exception to the guidelines or am I missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:41:09+00:00Added an answer on May 24, 2026 at 11:41 am

    “did”, “should”, and “will” are words usually used to describe when a method is called, whether it is asking if it “should” do something”, giving you a hook to run code before something “will” happen, or as a callback when something “did” happen. these words are usually used in delegate and callback methods.

    viewDidLoad is called when your .nib file has been loaded into memory, and your IBOutlets have been instantiated and hooked up, and are ready for configuration. you don’t need to worry about calling it yourself if you intend to subclass UIViewController, if that’s what you’re wondering.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just trying to get my head around Generics by reading this enlightening article by
Trying to get my head around backbone.js. This example is using Backbone Boilerplate and
Im trying to get my head around javascript inheritance and this code doesnt work
Im trying to get my head around the entity framework 4.1 codefirst approach for
I am trying to get my head around NHibernate, I've run through this tutorial
I'm trying to get my head around this isReusable property of the IHttpHandler interface
I'm trying to get my head around the form framework in Symfony 1.4 .
trying to get my head around using Lambda expressions to fetch data from my
I'm trying to get my head around NSNotificationCenter. If I have something like this
I'm trying to get my head around saving to multiple models from the one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.