NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

2417

May '20

Identifying current LazyVStack view

1

7

23m

Horizontal Paging ScrollView?

1

12

5h

Alert before onDelete list element

7

1994

5h

Bluetooth with Arduino

0

14

10h

Learning SwiftUI with a complicated data model

4

58

14h

Can SwiftUI environment objects be accessed within SpriteKit Scene?

1

17

1d

Button withAnimation onAppear - How do I stop and start animation from a modal view?

0

8

1d

SOLVED: What is a good practice to handle TextField validations?

6

51

1d

How to play sound on stepper increment & decrement and also using on change modifier

0

11

2d

SOLVED: How do I append a new page into TabView, PageTabViewStyle?

7

1956

2d

Picker Click and go to another UIView?

4

268

2d

SOLVED: Localizable.strings

2

38

2d

Animation issue when deleting from sectioned list backed by Core Data

4

425

2d

Core Data iPad: crash after deleting the NSManagedContextObject of the detailView

0

10

2d

Uploading Codable Data - HWS+ example

0

24

2d

SOLVED: Button's action being run when clicking anywhere in HStack surrounding it

6

882

2d

How to persist a computed property SwiftUI 2.0 Xcode 12.3

1

30

2d

With Animation Not Working

0

16

2d

SOLVED: resizing view width DragGesture MacOS

1

34

3d

SF Symbols for user selection

3

73

3d

SwiftUI WKWebview.loadHTMLString Not displaying content

4

36

3d

SOLVED: Creating dynamic section headers with dynamic lists

3

66

3d

SOLVED: Showing conditional progress indicator

2

76

3d

SOLVED: Got "Cannot find 'objectWillChange' in scope" error that I can't figure out why

2

36

3d

Core Data and SwiftUI Life Cycle

0

25

4d

How to load(read) images from an online array (folder) in SwiftUI?

3

93

4d

Advice on live switching of CoreData persistence controllers

0

17

4d

SOLVED: Day88: How the callback in CardView work with cards.remove in ContentView?

3

66

4d

Which Modifier to use?

2

35

5d

Increasing ZIndex when rendering inside a View inside a List

1

24

5d

SOLVED: EnvironmentObject usage in init() of a View

2

46

6d

SOLVED:button background colours

2

91

6d

Decompress JSON File from URL

0

24

7d

Rendering Difference with Dynamic Lists vs Normal Lists

1

26

7d

How to Safely Remove CocoaPod from Project?

0

19

7d

Unwanted overlaying text in Navigation Bar

1

49

7d

Why is a Class faster in SwiftUI than a Struct? (with example)

4

93

7d

Is there a way to dismiss a SwiftUI view from within a SpriteView scene?

1

366

7d

How to customise firebase facebook login button?

0

36

8d

SOLVED: How to make a button that "cycles through" multiple options?

2

52

8d

SOLVED: Quoting code

2

53

8d

Adding an item to the array of a list add another view to the NavigationView stack

2

45

9d

Just a Happy Camper Comment

0

46

9d

How to make a .onAppear

1

61

10d

Why does animation not work when view overlapping the tabbar?

0

24

10d

How to check which tab the user is on?

4

80

11d

SwiftUI QR code rectangle fit into the rectangle

1

66

11d

PopOver Drop Down using SwiftUI

1

60

11d

Keyboard Accessory Buttons - Cancel / Clear / Done

1

65

11d

FetchRequest conversion in SwiftUI

2

69

11d

SOLVED: Help with error: "No exact matches in call to initializer"

1

180

11d

SOLVED: Reordering a CoreData entity bound List

1

47

12d

Nested Navigation Views

0

64

14d

How to use fetched (Core)Data in a Picker?

15

2016

14d

SOLVED: TabView: freeze when switching (randomly, but often)

3

75

14d

.NSExtensionHostDidBecomeActive not fired

0

18

15d

How can display with @Binding view?

1

132

15d

TextField, .disabled(), and macOS

2

69

16d

Is this correct way to use CoreData with the swiftUI 2.0 @main app protocol?

6

2294

16d

SOLVED: Using a complex view as a picker

1

59

16d

Change initial screen based on a variable

1

54

16d

How to change View after Authentication?

3

123

16d

CoreData and LSTypeIsPackage

0

26

16d

Toolbar with VStack gets truncated after selecting picker value from navigation view

0

39

17d

SOLVED: Toggle control action

4

94

17d

navigation bar back button hidden

0

49

17d

SOLVED: Using .sheet and .fullScreenCover together?

2

515

18d

Play a video

7

1599

18d

Checking Todo List Items

1

40

18d

As - You - Type - String Formatting Textfield

4

1511

18d

Getting your app onto your phone.

1

64

19d

SOLVED: Help with @State/@ObservedObject data not updating in the UI

5

103

20d

Map (not using UIRepresentative) - Get it to move to your current location on the map.

1

44

20d

[SOLVED]Problem with position() / offset()

1

73

20d

Edit an item fetched from CoreData into swiftUI List

0

49

21d

Interaction from API class to view

1

51

21d

iOS 14 recommendations for TabView and NavigationView?

4

1425

21d

SOLVED: Xcode is taking forever to compile this code

2

79

21d

Code Cleanup - Customizing a TextField

3

96

22d

Run code when the spacebar is pressed while typing in TextField

0

41

22d

Core Data delete functionality in Multiplatform swiftUI app

0

57

22d

Core Data - Model for date and hour

2

104

22d

ObservableObject => TextField => Doubles

1

88

22d

Genstring command not working in terminal !!

0

49

22d

How to insert other views into text

6

287

23d

SOLVED: Lint - turn off trailing whitespace check

2

80

23d

How do I bind Toggle to an item in an array with ForEach?

7

9893

24d

SOLVED: Update view when CoreData fetched item property is changed

2

108

25d

ForEach View not updating

5

223

25d

Help With Changing a variable in a Array in a List

2

86

25d

@main not being called

1

68

26d

SOLVED: .toolbar - Not working from App Template

2

133

26d

Need a solution for [.horiztonal, .vertical] ScrollView causing offset childView content

1

587

27d

Tapp position on screen and graphical elements, what to lear ??

1

57

27d

Environment object not being inherited by child (sometimes) and app crashes

7

5902

29d

PageTabViewStyle() in iOS 14 - how to get current swipe distance/offset?

3

3348

29d

Type 'JSONLocationData' does not conform to protocol 'Identifiable' ??

4

222

Dec 21

Presenting sheet causes view to navigate to root

2

138

Dec 21

SOLVED: Default values -- CloudKit and CoreData

2

203

Dec 21

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by Fernando Olivares

SPONSORED Would you describe yourself as knowledgeable, but struggling when you have to come up with your own code? Fernando Olivares has a new book containing iOS rules you can immediately apply to your coding habits to see dramatic improvements, while also teaching applied programming fundamentals seen in refactored code from published apps.

Try the book!

Sponsor Hacking with Swift and reach the world's largest Swift community!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.