Retrieve user profiles and information using the UserRepository with real-time updates
Retrieve user information using the UserRepository to display profiles, user cards, and social metadata. User objects contain core identity information and provide real-time updates when user data changes.
Live Objects: User data is returned as Live Objects that automatically update when the underlying data changes, keeping your UI synchronized.
Retrieve multiple users efficiently using batch operations:
// Get all users with pagination (observe live collection)let liveCollection = userRepository.getUsers(.displayName)token = liveCollection.observe { collection, error in let users = collection.snapshots print("Loaded \(users.count) users") displayUserList(users)}// Load next pageif liveCollection.hasNext { liveCollection.nextPage()}