New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

loopback-sdk-ios-swift-codegen

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-sdk-ios-swift-codegen

Tool for auto-generating iOS client siwft source code for LoopBack App

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

Note

This project base on iOS objective-C codegen project

LoopBack iOS SDK CodeGen

The iOS CodeGen command line tool generates iOS client side LoopBack Model representations in Swift by looking into the specified server application.

How to Use

The following is an example usage applied to the test server provided under this directory:

  • Run npm install in this directory to initialize the tool bin/lb-ios and the test server under test-env/server.
  • Run bin/lb-ios -p XX -s SS test-env/server/server test-env/client/ios/CodeGenTest/gen-src to generate the models in Objective-C representation, where XX is the prefix and SS is the postfix attached to all the generated class names.

How to Run the Unit Test

After performing the above steps, run the followings:

  • node test-env/server/server.js
  • cd test-env/client/ios/CodeGenTest
  • pod install
  • open CodeGenTest.xcworkspace
  • Run the CodeGenTestTests unit tests.

Limitations

  • Currently properties and simple method generation are supported. See the generated headers for details.

Keywords

LoopBack

FAQs

Package last updated on 24 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts