Post

Replies

Boosts

Views

Activity

App suggestion
Hi developers! Does anyone know an app to make a short animated film like this https://youtu.be/a4PraWW82_A, which is also free? I used Procreate before, but there is the layer limit and since my video is a little long I need more layouts :( thanks in advance
Topic: Design SubTopic: General Tags:
1
0
893
Aug ’22
Error appeared
Hi friends! I was developing an app, everything was working OK, but when I played the app on my iPhone connecting it via cable to the Mac an error has appeared and it says "The operation couldn't be completed. Unable to log in with account ... " "No profiles for ... were found: Xcode couldn't find any iOS app Development provisioning devices matching ..." and I'm not able to try it on my iPhone. Any suggestion or idea to fix these errors?
2
0
1.3k
Dec ’22
Need a help
Hi there, I'm studying SwiftUI on my own, but unfortunately I'm still not able to write complex lines of code, or even code an app independently, which is very frustrating for me. I love coding, it's a way to express my creativity. I already have a lot of ideas, but I can't put them into practice because I feel like I don't have learned enough about this programming language. Can any of you suggest me some free courses or other resources that have also helped you in your first steps with coding?
2
0
1k
Jul ’23
Falling effect SwiftUI
Hi everyone! import SwiftUI struct ContentView: View { let screenHeight = UIScreen.main.bounds.height let letters: [String] = ["A", "B"] @State private var yOffset: CGFloat = 0.0 var body: some View { ForEach(letters, id: \.self) { letter in Text(letter) .padding() .font(.largeTitle) .offset(x: 0, y: yOffset) .animation(Animation.linear(duration: 5.0).repeatForever(autoreverses: false)) .onAppear { yOffset = screenHeight - 90 } } } } I would like in this code, the letters to fall from the beginning of the screen to its end, I have the size of screen's height, but actually I can't understand how I can I use it, until the letters can start from the beginning of the screen. And I would also like that once they reach the bottom, they start falling again... I can't understand how this effect can be achieved, is there anyone who can help me?
1
0
588
Feb ’24
How to change position of a shape
Hello guys! I would like to change the position of a shape but I can't understand which command I have to put in the code so that the square will be to the right. let columns: [GridItem] = [GridItem(.flexible()),                            GridItem(.flexible()),                            GridItem(.flexible())] struct ContentView: View {     var body: some View {         GeometryReader { geometry in             VStack{                 Spacer()                 ZStack {                     LazyVGrid(columns: columns) {                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                         Circle()                             .frame(width: 100, height: 100)                             .foregroundColor(Color(.systemBlue))                             .opacity(0.5)                             Rectangle()                                 .frame(width: 200, height: 80)                                 .foregroundColor(Color(.systemBlue))                                 .opacity(0.5)                                 .cornerRadius(60)                     }                 }                 Spacer()             }         }              } } Of course if I did something wrong, please tell me... Thank u, have a great day!
0
0
386
Dec ’21
Forum full of spammers
Hello Apple, I would like to say that the forum is really full of spam messages saying “call” “girls” please provide to delete them because they’re very irritating. I really think that this space is for developers, for who has some doubts and so they can receive help, but despite there are some people like the spammers who doesn’t care about anything. Please Apple help us.
3
0
661
Dec ’21
Apple Developer Membership is activated
Hi, I heard that Apple will send me an email saying that my Apple developer membership is activated, with the confirmation and I can start exporting and publishing apps, but to me came 3 emails: welcome to the Apple Developer Program App Store connect good news! Your receipt for order — is ready But there isn’t any confirmation email, so how can I know if I can start posting my apps to App Store?
0
0
385
Dec ’21
Apple Developer Membership is activated
Hi, I heard that Apple will send me an email saying that my Apple developer membership is activated, with the confirmation and I can start exporting and publishing apps, but to me came 3 emails: welcome to the Apple Developer Program App Store connect good news! Your receipt for order — is ready But there isn’t any confirmation email, so how can I know if I can start posting my apps to App Store?
2
0
506
Dec ’21
Result of 'Text' initializer is unused
Hello there, I'm trying to create a button with it initially written "hello", then when I click on the button I would like the 'hello' to become a number. I already defined the variable (var Number = 1) and then I called Text("(Number)"). But when I recall the variable, ‘hello’ must change to number 1. It gives me this warning "Result of 'Text' initializer is unused" near Text("(Number)") under the func tapped()... and the text doesn't change. Here's my code: var Number = 1 struct NewView: View {     var body: some View {         Button {             tapped()         } label: {             Text("hello")         }     } }               func tapped() {     Text("\(Number)") } struct NewView_Previews: PreviewProvider {     static var previews: some View {         NewView()     } }
0
0
412
Dec ’21
Text background color
Hi guys do you know how to change the text background color in SwiftUI? .foregroundColor() changes the text color .background(Color) changes all the background's color So which is the command that changes only the text background color? Thanks
4
0
5.7k
Dec ’21
Flip animation in SwiftUI
Hello everyone, I would like to a flip animation, so that when I press on the rectangle it will flip to other side (like in a cards game) How can I do that? Thank you Here's my code: import SwiftUI import PlaygroundSupport struct ContentView: View {     var body: some View {                      Group {                 Button {                                      } label: {                     Rectangle()                         .frame(width: 140, height: 170)                         .foregroundColor(Color(.systemTeal))                         .cornerRadius(20)                 }             }     } } PlaygroundPage.current.setLiveView(ContentView())
1
0
3.0k
Jan ’22