Code Monkey home page Code Monkey logo

Comments (7)

heardrwt avatar heardrwt commented on July 26, 2024

DO you happen to have a code example of what you are trying / what isnt working?

from rhaddressbook.

heardrwt avatar heardrwt commented on July 26, 2024

To create a new one you will need to create a Mutable MultiValue with type String. eg

RHMutableMultiStringValue *new = [RHMutableMultiValue alloc] initWithType:type]; where type is one of the below multi keys.


enum {
   kABInvalidPropertyType         = 0x0,
   kABStringPropertyType          = 0x1,
   kABIntegerPropertyType         = 0x2,
   kABRealPropertyType            = 0x3,
   kABDateTimePropertyType        = 0x4,
   kABDictionaryPropertyType      = 0x5,
   kABMultiStringPropertyType     = kABMultiValueMask | kABStringPropertyType
   kABMultiIntegerPropertyType    = kABMultiValueMask | kABIntegerPropertyType
   kABMultiRealPropertyType       = kABMultiValueMask | kABRealPropertyType
   kABMultiDateTimePropertyType   = kABMultiValueMask | kABDateTimePropertyType
   kABMultiDictionaryPropertyType = kABMultiValueMask | kABDictionaryPropertyType
};
RHMutableMultiStringValue *new = [RHMutableMultiValue alloc] initWithType:kABMultiStringPropertyType];

from rhaddressbook.

Mpak87 avatar Mpak87 commented on July 26, 2024

The problem is seems to be in including static library to my project, but what is really unclear for me is why Xcode shows me when I type RH (in my implementation) RHPerson, RHGroup, RHSource, RHRecord and RHAddress..., RHAuthorization. I've tried to put in RHAddressBook.h @Class RHMultiString and then it show me in my imlementation file, but functionality isn't proper. And the other thing is when I typed RHMultiStringValue in my.m Xcode doesn't recognize (no highlight) but in quick inspector it show Declared in RHMultiValue.h
No idea why but try to play with pathes for headers.

from rhaddressbook.

heardrwt avatar heardrwt commented on July 26, 2024

Hopefully this can help. http://rheard.com/blog/using-static-ios-libraries/

from rhaddressbook.

Mpak87 avatar Mpak87 commented on July 26, 2024

#import <RHAddressBook/AddressBook.h>
I did mistake in this string. I'm so ashamed. I've put #import <RHAddressBook/RHAddressBook.h> that's why only partially static library was working. Sorry man for useless disturbing.

from rhaddressbook.

Mpak87 avatar Mpak87 commented on July 26, 2024

RHAddressBook/RHAddressbook.h instead of RHAddressBook/Addressbook.h

from rhaddressbook.

heardrwt avatar heardrwt commented on July 26, 2024

Ah, no worries. I'm certain i've made similar mistakes. It's not the most cleanly named set of files in the library.

from rhaddressbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.