Complete social home page experience with feeds, content creation, community discovery, and user engagement components
Key Benefit: Build comprehensive social experiences with pre-built components for content feeds, community discovery, post creation, and user engagement - all designed to work seamlessly together in a social home page.
The Social Feeds & Content Discovery UIKit provides a complete suite of components for building engaging social home experiences. From dynamic newsfeeds and story displays to community discovery and content creation tools, these components create the foundation for modern social applications.
Complete social home experienceThe AmitySocialHomePage serves as the central hub integrating multiple social components for a comprehensive user experience.
let socialHomePage = AmitySocialHomePage()let viewController = AmitySwiftUIHostingController(rootView: socialHomePage)
Navigation Customization: Custom navigation behavior can be implemented to enhance interaction flow, including overriding default actions for global search or community search.
Custom navigation behavior can be implemented to enhance or modify the interaction flow on the AmitySocialHomePage.
Copy
Ask AI
class CustomAmitySocialHomePageBehavior: AmitySocialHomePageBehavior { override init() { super.init() } override func goToGlobalSearch(context: AmitySocialHomePageBehavior.Context) { // Custom implementation for navigating to Global Search } override func goToCommunitySearch(context: AmitySocialHomePageBehavior.Context) { // Custom implementation for navigating to Community Search }}// Call this function to setup custom behaviour class in UIKitfunc setSocialHomePageBehaviour() { let customBehavior = CustomAmitySocialHomePageBehavior() AmityUIKit4Manager.behaviour.socialHomePageBehavior = customBehavior}
Newsfeed and content displayComponents for displaying and managing social content feeds with stories and posts.
The behavior of the AmityGlobalFeedComponent can be customized to handle navigation to the post detail page differently.
Copy
Ask AI
class CustomAmityGlobalFeedComponentBehavior: AmityGlobalFeedComponentBehavior { override init() { super.init() } override func goToPostDetailPage(context: AmityGlobalFeedComponentBehavior.Context) { // Custom implementation for navigating to Post Detail Page }}// Call this function to setup custom behaviour class in UIKitfunc setGlobalFeedComponentBehaviour() { let customBehavior = CustomAmityGlobalFeedComponentBehavior() AmityUIKit4Manager.behaviour.globalFeedComponentBehavior = customBehavior}
Post and story creation toolsComponents for enabling users to create posts, stories, and other content types.
let createPostMenuComponent = AmityCreatePostMenuComponent()let viewController = AmitySwiftUIHostingController(rootView: createPostMenuComponent)
Navigation Behavior: The component behavior can be customized to manage navigation flow for post and story creation aligned with your application’s user experience.
The behavior of the AmityCreatePostMenuComponent can be customized to manage how the application navigates upon user actions related to post and story creation.
Copy
Ask AI
class CustomAmityCreatePostMenuComponentBehavior: AmityCreatePostMenuComponentBehavior { override init() { super.init() } override func goToSelectPostTargetPage(context: AmityCreatePostMenuComponentBehavior.Context) { // Custom implementation for navigating to Select Post Target Page } override func goToSelectStoryTargetPage(context: AmityCreatePostMenuComponentBehavior.Context) { // Custom implementation for navigating to Select Story Target Page }}// Call this function to setup custom behaviour class in UIKitfunc setCreatePostMenuComponentBehaviour() { let customBehavior = CustomAmityCreatePostMenuComponentBehavior() AmityUIKit4Manager.behaviour.createPostMenuComponentBehavior = customBehavior}
Explore and discover communitiesComponents for helping users find and engage with communities through categories and recommendations.
Designing comprehensive social experiencesPlan your social home page layout by combining feed components, content creation tools, and community discovery elements. Consider user flow between different sections and how users will navigate from content consumption to creation and community engagement.
Content Flow Optimization
Balancing consumption and creationDesign the balance between content display (feeds, stories) and content creation opportunities. Position creation menus strategically to encourage user-generated content while maintaining focus on content discovery and consumption.
Community Engagement Strategy
Driving community participationUse community discovery components strategically to introduce users to relevant communities. Combine categories, recommendations, and trending displays to provide multiple pathways for community exploration and joining.
Creating intuitive social interfacesDesign clear visual hierarchy between different content types, provide smooth transitions between components, and ensure navigation patterns are consistent across all social features. Consider mobile-first design for optimal user engagement.
Performance Optimization
Ensuring smooth social experiencesImplement efficient loading strategies for feeds, optimize image and media display, and use appropriate pagination for community discovery. The underlying SDK handles data optimization, so focus on UI responsiveness and user interaction patterns.
Customization Strategy
Aligning with your brand identityCustomize themes, colors, and component behaviors to match your application’s design system. Consider different user contexts (content creation vs consumption) and adjust styling to guide user attention appropriately.
Implementation Strategy: Start with AmitySocialHomePage for a complete experience, then customize individual components (newsfeed, create post menu, community discovery) based on your specific user engagement goals and brand requirements.
social_home_page/*/*social_home_page/*/newsfeed_buttonsocial_home_page/*/explore_buttonsocial_home_page/*/my_communities_button Navigation Behavior
Custom navigation behavior can be implemented to enhance or modify the interaction flow on the AmitySocialHomePage. Newsfeed Component
Integrates story display and global feed for a complete social feed experience. Global Feed Component
Central component for aggregating and displaying diverse community posts. Empty Newsfeed Component
Handles empty states with engaging placeholders and call-to-action buttons. Navigation Behavior
The behavior of the AmityGlobalFeedComponent can be customized to handle navigation to the post detail page differently. Create Post Menu Component
Provides users with options to create various types of content.social_home_page/create_post_menu/*social_home_page/create_post_menu/create_post_buttonsocial_home_page/create_post_menu/create_story_buttonsocial_home_page/create_post_menu/create_poll_buttonsocial_home_page/create_post_menu/create_livestream_button Navigation Behavior
The behavior of the AmityCreatePostMenuComponent can be customized to manage how the application navigates upon user actions related to post and story creation. Community Categories Component
Displays five categories in a horizontally scrollable view with explore options. Recommended Communities Component
Shows top four recommended communities for users to join. Trending Communities Component
Showcases the top five trending communities for user interaction.social_home_page/community_categories/*social_home_page/recommended_communities/*social_home_page/trending_communities/*