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

  • Home
  • SEARCH
  • 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 8434621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:42:25+00:00 2026-06-10T06:42:25+00:00

In iPhone every UIContrrol has predefined delegate methods but how we will create our

  • 0

In iPhone every UIContrrol has predefined delegate methods but how we will create our own custom delegate methods

  • 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-06-10T06:42:26+00:00Added an answer on June 10, 2026 at 6:42 am

    In your class create an id object delegate. Create a getter and setter so other classes can set themselves as delegates.
    In your class add this:

    @interface MyClass (Private)
    -(void)myDelegateMethod;
    @end
    

    Then in what ever function you want to call back to the class that is the delegate do something like this:

    if ( [delegate respondsToSelector:@selector(myDelegateMethod)] ) {
    [delegate myDelegateMethod];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone every embeded the iPhone's Email program inside your own App? Let me
every iPhone and iPod Touch has got the Apple Addresses App ... when you
Every iPhone/iPad application has its sandbox area, where I can store files. When I
Imagine an iPhone app with 30 classes. Every class has to interact with every
Does every thread have to have its own pool? I am writing an iPhone
I am trying to create an iPhone app that creates a UIButton for every
I am working on an iPhone app. This app has multiple views and every
Every time I create an Xcode 4 project (iPhone app, cocoa library...) the .app
Let's say I have an encrypted file on an iPhone and every time I
Hi every body i am new in iPhone application development. In my application need

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.