MegoChat is one of the module of MegoGrid. So here I am explaining what MegoChat is and how it works for an Ios App Developer.

Now a days , Mobile Technology is becoming too vast for the ease of the world, keeping the KISS principle (Keep It Short and Simple), Developers are doing their best to make the world Techno Freak. As their time is too precious, Frameworks are being developed to save the time. So, Every developer needs details of their application users, by which they could kept record of each and every brief detail of their user, which he/she could use accordingly.

Now I am sure, Everybody have some questions in their mind, So lets start knowing What, Why and How? about MegoChat.

MegoChat Demo is an app which provides real time enviroment for singlechat, groupchat and chatrooms. This app is available in App Store and its source code available on Github.You can take all reference of source code and how we integrate a power platform of Mego Chat to initiate chatting in any of the described chat type said earlier.In this document we will represent and guide you how we can integrate Mego Chat to an App and how this power framework makes chat mechanism so simple whether it is registered by our MegoChat SDK or any custom self registration provided by you. (How you can integrate your self registration mechanism with this module is described later in this document).

This tutorial is divided into several parts, each focusing on a different aspect of our Mego Grid Demo App. Feel free to read them in any order, but we recommend that you download the source code and refer to it while reading. Some parts of the code were omitted or changed in this tutorial in order to keep it clear and concise, so you may find it useful to keep the full version close at hand.

MegoChat demo architecture

MegoChat contains some of the helper class for photo editing effect: slideView show all the option in slide view DownloadimageHistoryViewController shows the saved images history, FlipRotate this controller apply rotate images in different direction, UIImage+Filtering and ALAssetsLibrary+CustomPhotoAlbum this two Catagories apply different Effects on the images help content of app

Aside from basic functinality we had integrate our MeGoGrid Api in differnt section of application

Getting Started


To use the MegoChat SDK first of all you need to authenticate your application/device with our server. So to authenticate your application/device use the Authentication-Layer SDK and call the below mentioned code in your app launcher Activity.

Integrating Authorization SDK in your Ios app

Inside the didFinishLaunchingWithOptions method of your AppDelegate.m configure MegoAuthorizer SDK .

AuthManager =[[MewardAuthenticate alloc]init];
[AuthManager Intialize];


The MegoGrid Demo app represents here the use of MegoChat SDK. MegoChat use the two way mechanism to the user to register his/her device/application on our server. These are as described below:

Here we have provide the integration of MegoChat with option one described above along with MegoChat SDK.

Integrating MegoChat SDK in your Ios app

Before integrating MegoChat SDK you have to configure the required details on our MegoGrid CMS Panel provided to you by us for MegoChat SDK and MegoChat SDK both. Here you have to provide the SMS option, a user of your app will have for registration of their devices/application.

For this Demo App we have already configured all the detials (dummy configuration) so that you can download and check how this unique system works or you can check if it suits your developemnt need.

Please call the walcomePage class and start MegoChat SDK in DemoApp.

WelcomePage *ChatObj=[[WelcomePage alloc]init];
[self.navigationController pushViewController:
ChatObj animated:NO];



In this demo app we have represent following types of chats which is represent in this demo application of chat

This part of stuff and now chat demo app is ready

© 2015-2016 Megogrid Inc. / Term of service / Licenses / Privacy Policy 913 N Market Street Suite 200 Wilmington DE 19801 USA