Design Alignment:
The SDK has an option to use the predefined feed as a separate component that can be integrated into existing applications and can be launched within any UIViewController via any user-defined CTA.
- Integration steps to add Baked Feed SDK:
- Add the below pod dependency into your pod file
- To add only core module pod dependency, add below
pod 'GluedInCoreSDK'
- To add Baked the Feed module into the project, add below pod SDK along with the core dependency
pod 'GluedInFeedSDK'
Integration Feed:
- Create the entry point from where you wanted to load the feed module into your application/Module
- Write the navigation flow on self and call the feed controller as show in code snippet
- Convenient to load baked feed module and its protocol callback methods.
Convenient to load baked creator option screen module → Creator camera module and its protocol callback methods.
self.navigationController?.pushViewController(
GluedInFeed.shared.getFeedViewController(
delegate: self,
isBackEnable: true) ?? UIViewController(),
animated: true)
How to call ?
// Baked Feed method to launch Feed module
// Option to launch baked feed by clicking on feed button
// Controller can be open from any button or bottom bar or load screen or any user interction option
@IBAction func callToLaunchedBackedFeedMethod(_ sender: Any) {
self.navigationController?.pushViewController(
GluedInFeed.shared.getFeedViewController(
delegate: self,
isBackEnable: true) ?? UIViewController(),
animated: true)
}
Enable Ads: