Post

Replies

Boosts

Views

Activity

hoverEffect() not working
Tried this simple code, to see if hover effect is suitable for my app, but nothing happened, looks like never detects hover action, I runned in simulator and physical device (iPhone 13) Im using iOS 15.2 in Xcode 13.2.1: import SwiftUI struct HoverEffectView: View {     var body: some View {             Button(action: {}){                 Text("Button")                     .padding()             }             .contentShape(RoundedRectangle(cornerRadius: 8, style: .continuous))            .hoverEffect()         Text("Hello Word")             .padding()             .contentShape(RoundedRectangle(cornerRadius: 10,style: .continuous))             .onHover{ hover in                 print("hover")             }     } }
0
1
857
Feb ’22
Previews Locale - not working
Try to modify Locale in previews, to see how it looks but it didn't work, Code: import SwiftUI struct SettingsView: View {     var body: some View {         VStack {             Text("Current Locale : (Locale.current.identifier)")             Text("Hoy es: (dateToString(Date()))")         }     } } struct SettingsView_Previews: PreviewProvider {     static var previews: some View {             SettingsView()                 .environment(.locale, Locale(identifier: "es_AR"))             SettingsView()                 .environment(.locale, Locale(identifier: "fr"))     } }
2
0
1.3k
Oct ’21
Xcode 13 - make system run out of application memory
After I upgrade to Xcode - 13 I have this problem, every time I try to generate preview in any file, Xcode take more than a minute and the system runs out off application memory: then system become unstable and never recover even closing Xcode, I try restarting but the system hangs and need to make a force shutdown. I reinstalled Xcode more than once and still have the issue. Im running on intel MacBook Pro 2020 BigSur 11.6
1
0
1.2k
Oct ’21
Retrain Model
In CoreML i created a image classification app with a dataset of plants ( about 1000 classes). Now I want to add new plants ( 50 new classes). Is there a way to add this new classification classes to the already trained model, with no need to retrain with all 1050 classes?. Thanks
0
0
658
Jun ’21
IOS 17 mental health register in healthKit
How can I access the mental health record in healthKit to use it in my app? I am developing an application that records how the user feels in some circumstances. At WWDC23, a new iOS application was presented that records this type of data in the health application. I would like to know if it is available to use it in my applications
Replies
0
Boosts
1
Views
767
Activity
Jun ’23
hoverEffect() not working
Tried this simple code, to see if hover effect is suitable for my app, but nothing happened, looks like never detects hover action, I runned in simulator and physical device (iPhone 13) Im using iOS 15.2 in Xcode 13.2.1: import SwiftUI struct HoverEffectView: View {     var body: some View {             Button(action: {}){                 Text("Button")                     .padding()             }             .contentShape(RoundedRectangle(cornerRadius: 8, style: .continuous))            .hoverEffect()         Text("Hello Word")             .padding()             .contentShape(RoundedRectangle(cornerRadius: 10,style: .continuous))             .onHover{ hover in                 print("hover")             }     } }
Replies
0
Boosts
1
Views
857
Activity
Feb ’22
Previews Locale - not working
Try to modify Locale in previews, to see how it looks but it didn't work, Code: import SwiftUI struct SettingsView: View {     var body: some View {         VStack {             Text("Current Locale : (Locale.current.identifier)")             Text("Hoy es: (dateToString(Date()))")         }     } } struct SettingsView_Previews: PreviewProvider {     static var previews: some View {             SettingsView()                 .environment(.locale, Locale(identifier: "es_AR"))             SettingsView()                 .environment(.locale, Locale(identifier: "fr"))     } }
Replies
2
Boosts
0
Views
1.3k
Activity
Oct ’21
Xcode 13 - make system run out of application memory
After I upgrade to Xcode - 13 I have this problem, every time I try to generate preview in any file, Xcode take more than a minute and the system runs out off application memory: then system become unstable and never recover even closing Xcode, I try restarting but the system hangs and need to make a force shutdown. I reinstalled Xcode more than once and still have the issue. Im running on intel MacBook Pro 2020 BigSur 11.6
Replies
1
Boosts
0
Views
1.2k
Activity
Oct ’21
Retrain Model
In CoreML i created a image classification app with a dataset of plants ( about 1000 classes). Now I want to add new plants ( 50 new classes). Is there a way to add this new classification classes to the already trained model, with no need to retrain with all 1050 classes?. Thanks
Replies
0
Boosts
0
Views
658
Activity
Jun ’21
CreateML Json file Annotation Format
Hi, im trying to migrate my datasets from differents formats to CreateMl, is there any document or tool to create json files with annotations, directory estructures and file format ? thanks
Replies
3
Boosts
0
Views
3.7k
Activity
Jun ’21