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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:40:27+00:00 2026-05-31T04:40:27+00:00

i saw in one post -(id)arrayByPerformingSelector declaration in interface should do , but when

  • 0

i saw in one post -(id)arrayByPerformingSelector declaration in interface should do , but when i tried it this declaration was treated as separate method and incomplete implementation issue came… sorry this is quite a silly doubt i am asking but I’m a newbie to iOS and wasn’t able to find out whats wrong with this..

self.segmentedControl = [[UISegmentedControl alloc] initWithItems:[viewControllers arrayByPerformingSelector:@selector(title)]];
self.segmentedControl.segmentedControlStyle = UISegmentedControlStyleBar;

and also when i run the project thread stops with SIGABRT and in console window

"TableView[866:fe03] -[__NSArrayI arrayByPerformingSelector:]: unrecognized selector sent to instance 0x6e65620
2012-03-07 12:31:16.074 TableView[866:fe03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayI arrayByPerformingSelector:]: unrecognized selector sent to instance 0x6e65620'"

if i have to use selector in declaration please do tell me how…. Thanks all :):)

  • 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-31T04:40:29+00:00Added an answer on May 31, 2026 at 4:40 am

    I checked the iOS SDK and couldn’t find a method with that name. Considering it is making the app crash… there isn’t a method with that name.

    If you get that same type of warning and your app works fine, my answer here would be relevant

    I don’t know if you got started on this SO question: Implementing my own navigation controller?, but the accepted answer there references a blog.

    Researching that, you will need to:
    • download NSArray+PerformSelector.h and NSArray+PerformSelector.m from here
    • add them to your xcode project
    • add #import "NSArray+PerformSelector.h" to the .m file you are experiencing your crash in.

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

Sidebar

Related Questions

I saw this post: Typos… Just use option strict and explicit please.. during one
I swear I saw an article about this at one point but can not
How do you do it? I saw one video tutorial on it, but the
im looking for an example script. I saw one yesterday but for the life
I just saw this question and one of the answers looks really appealing to
Hi i saw a post explaining how to send emails in python. But my
So I saw this post here and read it and it seems like bulk
I have a problem loading different nib files in one tableView. I saw this
I was searching google for something and saw the post that some one needed
I saw that java can't handle unsigned long... If yes, can any one post

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.