In this video, Mohammad Azam discusses the two types of message applications. Learn about the differences between sticker and iMessage apps, and how iMessage apps can be created with or without code.
- [Instructor] There are two types of messages apps that can be implemented using the iOS messages framework: sticker pack apps and iMessages app. Sticker apps can be created in two different ways: they can either be coded or codeless, meaning no code has to be written. For codeless sticker apps, the developers simply drag and drop the image assets into a designated area of Xcode, and boom you're done.
In other words, assuming that the graphic assets are available, codeless sticket apps can be created in less than 30 seconds. For sticker apps that is also preferred that the image assets are in PNG format. The iOS messages framework also allows the developers to create messages apps using code. The great thing about creating iOS messages in code is that the developer will have complete control over every aspect of map development.
iMessage apps are very similar to the default iOS applications. Coded iMessage apps can include in-app purchases, ads, multiple screens, as well as remotely updating the sticker assets. iMessages apps in iOS must inherit from MSMessagesAppViewController, which provides the properties and functions for working with iMessages applications. Let's take a look at each type of app in action.
This is a sticker pack app completely codeless, meaning no code has been written. Let's go ahead and run it. The stickers are displayed in the app and you can simply select and send stickers to your loved ones by selecting the sticker and pressing the send button. You can even type in some message and decorate that message using a sticker, just like in real life. The receiver is going to get the message, and then click on the message to see it on full screen.
Next, I will look at the iMessages application which I created using code. Let's go ahead and run this application. The secret messages app is launched, which allows you to share secret messages between the two participants. Let's go ahead and create a message. Press the done button. Your message is added using a image, and then you can send the image. Now the receiver is going to get the image instead of the message, but the receiver can also click on the image to see the actual message.
This is the app that we'll be building in this course.
- Understanding iMessage app architecture
- Creating stickers without code
- Preparing image assets
- Creating a sticker project using Xcode
- Creating stickers using code
- Creating a user interface
- Configuring the container view controller
- Configuring view controller containment
- Configuring compact and expanded modes