Mac Client

Nepenthes supports both iOS and Mac Client.

Mac Project Initialization

  1. Create a OS X Cocoa Application:NepenthesClient
  2. Select Objective-C language and checked Use StoryBoards.
  3. Download,unzip it,drag Nepenthes.framework to the project.
  4. Create Config.plist with the following contents.(Make sure Host and Port are your own specified values.)
  5. In order to make App call server,you need add the following codes to info.plist
  6. Download Mac Client Xcode Project

Json Object and BLSync Object

We will use the same source codes from iOSClient,please download the following files and drag them to your project.

Invoke backend service

  1. We will invoke backend service in ViewController.h and ViewController.m
  2. ViewController.h
  3. ViewController.m (you can uncomment different blocks to test that function)


The deveopment of Mac Client is very similar to iOS Client,only the Nepenthes framework is not same and the Json & BLSync header files imports. Congratulation,you have reached to the end of the Nepenthes Quick Guide,we are looking forword you to create your own iOS or Mac enterprise applications.
Next:HTML Client