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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:57:46+00:00 2026-05-25T22:57:46+00:00

I am stuck up with below line and i am not have much knowledge

  • 0

I am stuck up with below line and i am not have much knowledge on coredata ,

`NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(bookPath == %@) AND (accessed==%u)) AND (isCurrentSession==%u)", myString,[NSNumber numberWithBool:NO],[NSNumber numberWithBool:_accessed]];` 

upto now i sent two values to my predicate, in the above predicate i am using three values,

My Question: can we apply two AND operations in a single predicate, can any one provide some idea about this.Thanks in Advance.

  • 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-25T22:57:47+00:00Added an answer on May 25, 2026 at 10:57 pm

    Yes, you should be able to combine predicates with ‘AND’ and ‘OR’ to an arbitrary level of complexity. The formal parser grammar for the predicate syntax can be found here.

    For best performance you should order your predicate terms so that simple tests (e.g numeric comparisons) appear first in the format string and more complex tests (e.g. REGEX pattern matching) appear last.

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

Sidebar

Related Questions

I run mvn install in command line and get stuck by below error. Caused
I am a little stuck. I have created almost everything in the picture below.
I have a pretty simple line graph that is rendered by the code below.
Below is my main activity file. I am stuck with the bottom area (commented
So im stuck on a few things in each part below, they are pretty
i am new to C++ and stuck in the swap stuff the code below
I'm trying to run the below-mentioned code in VB(Excel Macro) but I'm stuck with
I've attached a source file below, I'm kinda stuck. Basically, its an FLA that
I have a large text file in the below format, which I wish to
As discussed elsewhere, NSTabView does not have a setBackgroundColor method and subclassing NSTabView and

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.