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 8202565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:13:49+00:00 2026-06-07T07:13:49+00:00

im kinda new to iOS. I know that a void method i.e -(void) pressed

  • 0

im kinda new to iOS.
I know that a void method i.e

-(void) pressed {

}

can be called this way:

[self pressed];

and viewDidAppear
can be called something like this:

[self viewDidAppear:YES];

I was wandering on how to do it in this method below, or how to re-Call it:

- (NSUInteger)numberOfItemsInCarousel:(iCarousel *)carousel
{

    return [images count];
}
  • 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-07T07:13:50+00:00Added an answer on June 7, 2026 at 7:13 am

    That may me data source method… It is called from a controller.

    //And it may be called in the controller as below where delegate is object of some class
        iCarousel *iCarouselObj;
        if(delegate && [delegate respondsToSelector:@selector(numberOfItemsInCarousel:)])
            int items = [delegate numberOfItemsInCarousel:iCarouselObj];
    
    //The below code is just to tell you how to call a method with arguments
    iCarousel *iCarouselObj;
    int items = [self numberOfItemsInCarousel:iCarouselObj];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm kinda new at both programming, and WPF. I know that this is pretty
Kinda new to iOS, Im also studying Android. kinda confuse on arrays. How to
Im kinda new to drupal, and its views. SO can anybody tell me how
I am kinda new to this Regex thing. When analyzing some code I frequently
I'm kinda new to android, I've heard about a new interesting project called androidannotations
This may sound a newbie question, however I'm new to iOS dev. I've a
Im kinda new to Jquery, so this might be easy, then again i cant
im kinda new to javascript i mean i know the syntax but not so
im kinda new to iOS, I'm having a hard time with my array, I'm
Kind of new on iOS and this NSDate is killing me.. I just want

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.