Skip to content

Modernize and fix Objective-C code #1

Description

@mittsh
  • init methods should return instancetype
  • get rid of this ugly _init method – replace by method inheritance
  • add nullability info to header files
  • add doc strings to methods in header files (especially for delegate methods)
  • declare NS_DESIGNATED_INITIALIZER
  • replace +CRLFData and +CRLFCRLFData by static FOUNDATION_EXPORT NSData* created on +load

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions