Comments (8)
+1
from mbcontactpicker.
+1
from mbcontactpicker.
@MattCBowman I'm implementing this right now in a project. I'll make a pull request when I finish if you would like?
from mbcontactpicker.
@AnthonyMDev - we'd love to get this implemented. I want to loop in @mhupman because he had some really good thoughts about making it so we could use the other cocoapods that deal specifically with the address book api (which is a lot to learn for very little gain).
from mbcontactpicker.
@AnthonyMDev The thought was that the AddressBook integration would be part of a CocoaPods subspec. That way, if someone wanted to use MBContactPicker without importing the AddressBook framework, they could (e.g. pod 'MBContactPicker/Core'
instead of pod 'MBContactPicker'
.
That said, don't feel like you have to do the podspec work if you don't want to - if you can get the AddressBook integration working we can probably finish the podspec part.
from mbcontactpicker.
Alright, well, I began work on this the other day, but then I realized that Apple changed the Address Book API pretty drastically for iOS8. It's become much, much easier to use.
@MattCBowman Do you have a Cocoapod specifically in mind that you would like to use for Address Book integration? Otherwise, I will just re-create this using the new APIs when I get a chance.
@mhupman I'd be happy to do the podspec work once I've got it working. I need some more experience with creating supspecs (I've only done it once as of now).
Do we want to just dump the address book into an array and create Contact Objects?
I'll create a fork and let you know what I come up with.
from mbcontactpicker.
Hey sorry for the noob comment here, but really does this control not have an easy way to pull contacts from the address book? Isn't that the entire point? I must be missing something.
from mbcontactpicker.
No, thats what this PR is for. Honestly, the use-case of using a data source that isn't AddressBook (e.g., user accounts) seems more common, so we didn't include AddressBook integration from the outset.
from mbcontactpicker.
Related Issues (20)
- Doesnt play nice when contained in a UINavigationController HOT 1
- Adding MBContactPicker to view programatically HOT 2
- How do filter on the "contactTitle" and also "contactSubtitle" HOT 1
- Adding MBContactPicker to tableviewcell HOT 1
- Selected Contacts
- TextField placeholder text is not showing
- iOS8 - Rotation Causes Wrong Offset in Picker
- iOS 8 Support HOT 1
- MBContactPicker should implement UITextInput protocol
- "Unknown type name UIImage" in xcode 6 when implementing model HOT 4
- didEnterCustomText delegate method never called. HOT 1
- Delegate method badly named and not present in protocol HOT 2
- set Propmpt text color
- Fails to compile with Xcode 7.1 HOT 1
- a
- UICollectionViewFlowLayout warning HOT 1
- Unknown type name 'UIImage'
- should let user to choose their preferred keyboard type
- shouldn't show searchtableview when there are no filtered contacts HOT 1
- entrytextcell disappears when typing long text in the textfield and moved to new line HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbcontactpicker.