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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:16:45+00:00 2026-06-14T06:16:45+00:00

I happend to see one particular code, NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0]; [self.tableView

  • 0

I happend to see one particular code,

NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
[self.tableView insertRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];

What’s the name of annotation @[indexPath], I never see this kind. and since when it introduces in objective-C. I know it replaces [NSArray arrayWithObjects:indexPath,nil], any other functions of that? what the feature to use this (well, other than shorter)?

Thanks.

  • 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-14T06:16:46+00:00Added an answer on June 14, 2026 at 6:16 am

    That is an extension to the “Literals” available in Objective-C with LLVM. I don’t believe it does anything else apart from create an array. They became available with Apple LLVM 4.0.

    If you’d like to see all the literals available, check out http://clang.llvm.org/docs/ObjectiveCLiterals.html – they’re quite handy.

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

Sidebar

Related Questions

I'm trying to understand what happend when someone casts an object of one specific
I figured out how to redirect someone, if they happen across one particular filename:
I have made one project in java. Now in this particular module, i am
I am running into an odd problem with one particular line involving GetKeyState .
After playing a while with Mono, I see one strange thing - every call
I am getting a couple different errors at a particular line of code in
I've read many a post here re: GWT date handling. One in particular that
I have small query today I happen to see when I typed a website
I wanted to see what happened if you change the reference of an object
I was testing a function out to see what happens when it's parameters are

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.