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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:25:31+00:00 2026-05-30T12:25:31+00:00

I have a core data stack which contains an entity called ‘Client’. Each client

  • 0

I have a core data stack which contains an entity called ‘Client’. Each client has a ‘addressBookID’ property which refers to the uniqueID of the person record in the AddressBook. I am currently using a fetchedResultsController to populate the tableViewController to display these clients. However, the viewController is very basic.

Ideally, I want to use the ABPeoplePickerNavigationController UI so that my Clients are separated by sections of Last Initial and also have the drag bar on the right side which can quickly flick to the desired point in the alphabet. The added search functionality would also be useful.

Is is possible to use a ABPeoplePickerNavigationController but populate it with your own data (by using a delegate for example)?

Alernatively, are these bits of functionality easily added to a fetchedResultsController style table? The only other issue I have is being able to fetch results from the Core Data stack but sort them by their names as stored in the ABAddressBook. I am not sure a sortDescriptor can sort by reference to field stored outside the stack.

Appreciate any advice/comments?

  • 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-30T12:25:32+00:00Added an answer on May 30, 2026 at 12:25 pm

    You need to create an ABAddressBookRef and populate it with the contacts that you want to appear in the navigation controller. Then create the ABPeoplePickerNavigationController and assign your ABAddressBookRef to the addressBook property.

    ABPeoplePickerNavigationController documentation

    Optional. The address book from which to obtain the list of contacts.
    
    @property(nonatomic, readwrite) ABAddressBookRef addressBook
    

    To create an ABAddressBookRef, start with ABAddressBookCreate() and ABAddressBookAddRecord(). These functions are documented in Apple’s ABAddressBook Reference for iOS.

    If you want the changes to the ABAddressBookRef to not be saved (in other words, you want to set it up with temporary contacts), simply don’t call ABAddressBookSave(). The documentation states

    Changes made to the returned address book are reflected in the Address Book database only after saving the address book with ABAddressBookSave.

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

Sidebar

Related Questions

I have a Core Data entity which needs a gender property. I just need
I have a Core Data stack in which there are two entities: 'Client' and
I have a core data entity called images that has just 2 fields: imageName
I have an Core Data Entity with a number of attributes, which include amount(float),
I have a document-based Core Data app. My main Core Data entity has several
In my core data model I have a Person entity that has a to
I have an NSOperation subclass which uses Core Data. It has a custom init
I have started creating an app which uses a core data stack at the
I have a core data application which uses a navigation controller to drill down
I have a Core Data model similar to this: Company Entity companyName attribute (string)

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.