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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:46:23+00:00 2026-05-31T16:46:23+00:00

for an iOS 5.0 application using ARC, i have an NSArray of objects that

  • 0

for an iOS 5.0 application using ARC, i have an NSArray of objects that contain NSArray of other objects within it. Is it possible to extract a list of objects from inner arrays without iterating through the Array e.g. say, with NSpredicate or valueForKeyPath. To be clearer, I have:

NSArray *objtype1 contains
         -id
         -NSArray *imageObjs containing imageObjects
                       -imagetype = 1 <--1st imageObject
                        imageURL1 
                       -imagetype = 2 <--2nd imageObject
                        imageURL2
         -NSArray *objtype2 
         -other parameters

I need to extract the NSArray of imageType = 1 imageObjects to pass in for further processing. Is this possible? (I’m looking at NSpredicate, and valueForKeyPath, but have not found anything yet)

  • 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-31T16:46:25+00:00Added an answer on May 31, 2026 at 4:46 pm

    I think the reason you haven’t found anything yet is because it’s not there. You could implement your own category on NSArray to use predicates recursively. Perhaps someone else have done it already. I don’t know.

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

Sidebar

Related Questions

I have the following error on a Ios 5 application using ARC: *** -[ViewDettaglio
We have an iOS Application that connects to a WebDav server using the ASIHTTPRequest
I have an iOS application that downloads an xml file using: NSURL *queryURL =
I have an application that was originally written using iOS 3.1 Last week I
I'm developing a large scale application for iOS 5 using ARC in xcode. The
I have created a simple API for a Rails application using token-based-authentication that supports
I am building an iOS application which is using Facebook API. I found that
I am creating an iPad application for ios 5 using arc and storyboard in
Is this possible to retrieve Facebook user name and password in ios Application using
Let's say I want to make an iOS application that is using new notifications

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.