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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:19:24+00:00 2026-05-26T16:19:24+00:00

I was reviewing the Objective-C Programming Language documentation to get a better understanding of

  • 0

I was reviewing the Objective-C Programming Language documentation to get a better understanding of property declaration and implementation. I came across this line, and thought it might be important to the way I code:

Typically you should specify accessor method names that are key-value
coding compliant (see Key-Value Coding Programming Guide)—a common
reason for using the getter decorator is to adhere to the
isPropertyName convention for Boolean values.

Until now, I have simply used this:

@property (nonatomic, assign) BOOL aBooleanProperty;

But I have always had a sense that this may not be quite right.

I don’t understand that last part (highlighted) in the documentation. How does that suggest that I should provide a getter decorator, and what would that do for me?

  • 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-26T16:19:24+00:00Added an answer on May 26, 2026 at 4:19 pm

    It means that you could use a custom name for a getter like

    @property (nonatomic, assign, getter=isValue) BOOL value;

    So to get it you call it like [someObject isValue] instead of [someObject value]. Apple does this with NSButton (NSControl)'s isEnabled for example.

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

Sidebar

Related Questions

I was reviewing some code for log4net and I came across this. private static
I've been reviewing C++ with the book Practical C++ Programming , and came across
Whilst reviewing some Qt C++ code I came across this: class Foo { Q_OBJECT
I've been reviewing the contributions documentation for Google new language , and was curious
I'm reviewing some code from my job from another employee and came across a
I am reviewing an example code in a book and came across the following
When reviewing, I sometimes encounter this kind of loop: i = begin while (
In reviewing this post Android: I want to shake it , the highest rated
After reviewing this blog by Kirill Osenkov (How to create a generic List of
I have been reviewing algorithms, this is question from Anany Levitin's algo book.. You

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.