# 33. Integrate business logic with iOS UI

meta:
  id: native-business-logic-migration-33
  feature: native-business-logic-migration
  priority: P1
  depends_on: [native-business-logic-migration-30, native-business-logic-migration-15]
  tags: [implementation, ios, ui]

objective:
- Connect business logic layer with SwiftUI views

deliverables:
- FeedList view connected to ViewModel
- FeedDetail view connected to ViewModel
- AddFeed view connected to services
- Search view connected to SearchService
- Settings view connected to SettingsStore
- Bookmark view connected to BookmarkStore

tests:
- UI: Test view renders with data
- UI: Test navigation works
- UI: Test error states displayed

acceptance_criteria:
- All views connected to ViewModels
- Data flows correctly
- User actions trigger updates
- Error states shown properly
- Loading states shown properly

validation:
- Run app in simulator
- Test all user flows

notes:
- Use @StateObject for ViewModels
- Use @Query for direct database access
- Implement pull-to-refresh
