-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added `jsonRepresentation` method to `OSInAppMessageAction` class * `OSJSONEncodable` now opens up possibility to have the `jsonRepresentation` method * Modified how we construct the json for the `OSInAppMessageAction` class * Fixed demo app example IAM click block and now print out the constructed json rep * Did not need `OSJSONEncodable` * Fixed comment format to `//` instead of `/* */` * Changed how jsonRepresentation method internals work * Added `null` check for `clickUrl` because we have to call `absoluteString` method `NSURL` class * Added `jsonRepresentation` method to `tag` and `outcome` class * `OSInAppMessageTag` now has `jsonRepresentation` * Made `tagsToAdd` and `tagsToRemove` public access * `OSInAppMessageOutcome` now has `jsonRepresentation` * Made `name`, `weight`, and `unique` public access * Wihtin `OSInAppMessageAction` now, the `tags` and `outcomes` are also public access * This is now consistently with Android IAM click action class and what is given to the developers from the IAM click handler
- Loading branch information
Showing
8 changed files
with
75 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters