Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

EXTConcreteProtocol:Model Confirm Protocol Duplicate Symbol #132

@tangzzz-fan

Description

@tangzzz-fan

Thanks for wanting to contribute to this project!

Unfortunately, it's not really maintained anymore.

Feel free to use it as-is, or fork it and modify as much as you want to suit your needs.
However, I can't guarantee that I'll have time/energy to look at new issues and pull requests.

Sorry for the trouble!

Hi, I used EXTConcreteProtocol to extend my protocol. I met a question when I used it.
When used liked this
#import <EXTConcreteProtocol.h>
@protocol TestProtocol
@concrete

  • (void)changed;
    @EnD

@concreteprotocol(TestProtocol)

int main(int argc, const char * argv[]) {
@autoreleasepool {
TestObject *object = [TestObject new];
[object buzz];
}
return 0;
}

it worked well.

======

But when I used in a single application like
let TestObject confirm TestProtocol, and I used it on my viewController, then, it cannot be complied success.

Further, I let my viewController confirm TestProtocol, call function buzz in viewDidLoad, it worked.

I found another git repository called ProtocolKit, which call do same work like EXTConcreteProtocol.
Maybe I have problem in using protocol.

I create a repository here to describe my question: [email protected]:tangzzz-fan/TGTestProtocol.git

Thanks advanced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions