Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Use __typeof instead of typeof #664

@hansemannn

Description

@hansemannn
  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Description

I want to build a bridge for this library to be used in the Appcelerator Titanium SDK. When importing the library, I noticed that Xcode complains about the weak self references, e.g.

_weak typeof(self) weakSelf = self;

It can easily be fixed by using __typeof instead. Or do you see any downsides in doing that? Thanks!

Expected result:

Xcode builds fine.

Actual result:

Xcode doesn't build fine 🤫.

Attachments:

bildschirmfoto 2018-04-03 um 19 20 30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions