Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. struct HomeView: View {
  2. var body: some View {
  3. GeometryReader { geometry in
  4. VStack{
  5. HStack{
  6. Button(action: {}){
  7. Image("camera")
  8. .resizable()
  9. .frame(width: 30, height: 30)
  10. }.padding()
  11.  
  12. Text("Back4Gram")
  13. .font(.largeTitle)
  14. .foregroundColor(lightBlueColor)
  15. .fontWeight(.semibold)
  16.  
  17. Spacer()
  18.  
  19. Button(action: {}){
  20. Image("home")
  21. .resizable()
  22. .frame(width: 30, height: 30)
  23. }
  24.  
  25. Button(action: {}){
  26. Image("paper-plane")
  27. .resizable()
  28. .frame(width: 30, height: 30)
  29. }.padding()
  30.  
  31. }.frame(height: 50)
  32.  
  33. ScrollView(.horizontal, showsIndicators: false) {
  34. HStack {
  35. PreviewViewTop()
  36. PreviewViewTop()
  37. PreviewViewTop()
  38. PreviewViewTop()
  39. PreviewViewTop()
  40. PreviewViewTop()
  41. }
  42. }.frame(height: 70)
  43.  
  44. TimelineDetailView().padding(.top, 20)
  45.  
  46. BottomView()
  47. }
  48. }
  49. }
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement