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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:32:26+00:00 2026-06-01T04:32:26+00:00

Is @selector a convenience syntax for some sort of longer C syntax, or is

  • 0

Is @selector a convenience syntax for some sort of longer C syntax, or is it a “hard wired” part of the Objective-C language/compiler? For example, I know that when I call @property, depending on the arguments, different equivalent Objective-C code is “generated” re: getters and setters. What is going on behind the scenes with @selector? Is it specifying an Objective-C message?

  • 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-01T04:32:28+00:00Added an answer on June 1, 2026 at 4:32 am

    @selector() is a part of the language. It specifies literal SEL just like @"" specifies a literal NSString.

    It’s worth understanding that @selector represents a selector, not a message. A selector is just a name. It’s just one small part of a message. It doesn’t even carry type information.

    Also note that @property doesn’t generate anything. It just promises that the object will respond to one or two selectors (the getter and the setter). There are several ways to fulfill that contract. @synthesize is just one of them. You can also manually implement the needed methods, or use @dynamic to promise that it will somehow be handled at runtime.

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

Sidebar

Related Questions

Is there a selector that matches an exact text match? For example if I
Is there some css selector or something of the like that allows you to
I need a CSS selector that can find the 2nd div of 2 that
Example: I have a selector like this, which I give to another method as
I have a jQuery selector that queries elements by tag name and class. In
I have a jQuery selector that is running way too slow on my unfortunately
$(selector).eq(-1) I spent some time to find why the above script doesn't work for
What does the selector <div/> syntax mean in this code? I've seen selectors like
Possible Duplicate: CSS Selector that applies to elements with two classes I've got the
Is there any selector that do this? Select all input field which value is

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.