Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #1571 - Improved objc Compatibility #1599

Closed

Commits on Dec 1, 2018

  1. 1571 - Improved objc compatibility

    Improved Objective C compatibility when using **objcCompatible**
    - Use **class** instead of **struct**
    - Add **@objc** and **NSObject** for classes in API and model classes
    Sal0g committed Dec 1, 2018
    Configuration menu
    Copy the full SHA
    8f3e97a View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2018

  1. Minor edit

    Sal0g committed Dec 2, 2018
    Configuration menu
    Copy the full SHA
    6628a2a View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2018

  1. Further improved objc compatibility

    - Models: Expose non-optional variables to @objc. Otherwise e.g. Int64 is not visible in objc
    - Models: Try avoiding generated code that has boolVariable.map ({ return NSNumber(value: $0) }) as map does not exist for Bool in Swift (see Issue OpenAPITools#1456)
    - API: Avoid Void? arguments with @objc, as they are not available in objc
    Gunther Cronenberg committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    741e43f View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. Avoid empty lines

    Cosmetic changes to avoid trailing/leading spaces or empty lines.
    Sal0g committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    cae878b View commit details
    Browse the repository at this point in the history
  2. Space missing

    Sal0g committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    b967380 View commit details
    Browse the repository at this point in the history