ApplozicSwift
Open source iOS Chat and Messaging SDK that lets you add real time messaging in your mobile (android, iOS) applications and website.
Sample Project
There's a sample project in the Demo directory. To use it, run pod install
to download the required libraries. Have fun!
Project Status
It's production ready.
Installation
CocoaPods
For ApplozicSwift, use the following entry in your Podfile:
pod 'ApplozicSwift'
Then run pod install
.
In any file you'd like to use ApplozicSwift in, don't forget to
import the framework with import ApplozicSwift
.
Manually
- Open up Terminal,
cd
into your top-level project directory, and run the following command if your project is not initialized as a git repository:
$ git init
- Add ApplozicSwift, Applozic, Kingfisher & MGSwipeTableCell as a git submodule by running the following commands:
$ git submodule add https://github.com/AppLozic/ApplozicSwift
$ git submodule add https://github.com/AppLozic/Applozic-iOS-SDK
$ git submodule add https://github.com/onevcat/Kingfisher.git
$ git submodule add https://github.com/MortimerGoro/MGSwipeTableCell.git
- Open the new
ApplozicSwift
folder, and drag theApplozicSwift.xcodeproj
into the Project Navigator of your application's Xcode project. Do the same with theApplozic.xcodeproj
in theApplozic
folder,Kingfisher.xcodeproj
in theKingfisher
folder andMGSwipeTableCell.xcodeproj
in theMGSwipeTableCell
folder.
They should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
-
Verify that the deployment targets of the
xcodeproj
s match that of your application target in the Project Navigator. -
Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
-
In the tab bar at the top of that window, open the "General" panel.
-
Click on the
+
button under "Embedded Binaries" again and add the build target you need forApplozicSwift
. -
Click on the
+
button under "Embedded Binaries" again and add the build target you need forApplozic
. -
Click on the
+
button under "Embedded Binaries" again and add the build target you need forKingFisher
. -
Click on the
+
button again and add the correct build target forMGSwipeTableCell
. -
And that's it!
The four frameworks are automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
Docs
Check out our detailed documentation here.
Requirements
- iOS 10.0+
- Xcode 10.2+
- Swift: 4.2+