Post

Replies

Boosts

Views

Created

JSON Tutorial
HiSuppose i made a macOS App and want to connect to Oracle or mySQL Database I heard best way is using JSON which i dontknow anything about it, where can I find good reading about it thats specifically related to macOS or iOS Apps ?--Kindest Regards
3
0
459
Nov ’19
SwiftuI view Error
Hi Im copying the Apple tutorial project for lists and navigation for SWiftUI but Im getting an error although my code is same as Apple project, can some one check please. Error "Cannot find 'landmarks' in scope" Kindest Regards import SwiftUI struct LandmarkRow: View {     var landmark: Landmark     var body: some View {         HStack {             Text(landmark.name)         }     } } struct LandmarkRow_Previews: PreviewProvider {     static var previews: some View {         LandmarkRow(landmark: landmarks[0])     } } import Foundation import SwiftUI import CoreLocation struct Landmark: Hashable, Codable {     var id: Int     var name: String     var park: String     var state: String     var description: String          private var imageName: String     var image: Image {         Image(imageName)     }          private var coordinates: Coordinates          var locationCoordinate: CLLocationCoordinate2D {         CLLocationCoordinate2D (             latitude: coordinates.latitude,             longitude: coordinates.longitude)     }          struct Coordinates: Hashable, Codable {         var latitude: Double         var longitude: Double     }      }
2
0
1k
Mar ’21
Degrees of Gray on iOS APPS
Hi so based on Apple UIG I should use degrees of transparency to get degrees of gray ? So to apply that on a label for example or text I make them black color then apply transparency on the control element it self ? kindest Regards
1
0
972
Jan ’22
Changing Modifiers by Code
Hi suppose I have 2 buttons button1 and button2 and when button2 is tapped I want to change button1 colors and it’s text, how to do that ? How to reference to button1 and change its modifiers ? now also suppose button one was a text such as Text(“Some Text”), how to change text shown between brackets when button2 is tapped ? Kindest Regards
1
0
427
Feb ’22
placeholderText Color
Hi Theres colors to use in SwiftUI when developing iOS App such as first line, but when I try to use the other system color placeholderText I get the error "Type Color? has no member placeholderText" why ? Text("Hello, World!").foregroundColor(.quaternaryLabel)
3
0
692
Jun ’22
Creating an iPadOS Project
HiI have Catalina OS and Xcode 11.1 when creating new project I see the types iOS, macOS, tvOS and watchOS so shouldnt I seeipadOS as well or im missing something ?Kindest Regards
Replies
3
Boosts
0
Views
2.1k
Activity
Oct ’19
JSON Tutorial
HiSuppose i made a macOS App and want to connect to Oracle or mySQL Database I heard best way is using JSON which i dontknow anything about it, where can I find good reading about it thats specifically related to macOS or iOS Apps ?--Kindest Regards
Replies
3
Boosts
0
Views
459
Activity
Nov ’19
SwiftuI view Error
Hi Im copying the Apple tutorial project for lists and navigation for SWiftUI but Im getting an error although my code is same as Apple project, can some one check please. Error "Cannot find 'landmarks' in scope" Kindest Regards import SwiftUI struct LandmarkRow: View {     var landmark: Landmark     var body: some View {         HStack {             Text(landmark.name)         }     } } struct LandmarkRow_Previews: PreviewProvider {     static var previews: some View {         LandmarkRow(landmark: landmarks[0])     } } import Foundation import SwiftUI import CoreLocation struct Landmark: Hashable, Codable {     var id: Int     var name: String     var park: String     var state: String     var description: String          private var imageName: String     var image: Image {         Image(imageName)     }          private var coordinates: Coordinates          var locationCoordinate: CLLocationCoordinate2D {         CLLocationCoordinate2D (             latitude: coordinates.latitude,             longitude: coordinates.longitude)     }          struct Coordinates: Hashable, Codable {         var latitude: Double         var longitude: Double     }      }
Replies
2
Boosts
0
Views
1k
Activity
Mar ’21
Apps Naming
Hi App names on App Store is it like domain names ? For example when an App named things I can’t publish an App with same name ? And if yes how to check about available names and reserve them ? kindest Regards
Replies
0
Boosts
0
Views
510
Activity
Jan ’22
Font Installing
Hi can my App now install fonts system wide in iOS and iPadOS ? Is there any helpful links ? Kindest Regards
Topic: Design SubTopic: General Tags:
Replies
0
Boosts
0
Views
956
Activity
Jan ’22
Installing font system wide
Hi can my App now install fonts system wide in iOS and iPadOS ? Is there any helpful links ? Kindest Regards
Replies
1
Boosts
0
Views
549
Activity
Jan ’22
Degrees of Gray on iOS APPS
Hi so based on Apple UIG I should use degrees of transparency to get degrees of gray ? So to apply that on a label for example or text I make them black color then apply transparency on the control element it self ? kindest Regards
Replies
1
Boosts
0
Views
972
Activity
Jan ’22
Changing Modifiers by Code
Hi suppose I have 2 buttons button1 and button2 and when button2 is tapped I want to change button1 colors and it’s text, how to do that ? How to reference to button1 and change its modifiers ? now also suppose button one was a text such as Text(“Some Text”), how to change text shown between brackets when button2 is tapped ? Kindest Regards
Replies
1
Boosts
0
Views
427
Activity
Feb ’22
Installing fonts systemwide in iOS & iPadOS
Hi what kit I should use to install a font system wide in iOS & iPadOS ! Anybody have an idea how ? Adobe Creative App have such feature. Kindest Regards
Replies
2
Boosts
0
Views
871
Activity
Mar ’22
SwiftUI Updates
Hi SwiftUI updates such as Charts are available to use now or till the new OS launches in coming fall ? Kindest Regards
Replies
2
Boosts
0
Views
894
Activity
Jun ’22
placeholderText Color
Hi Theres colors to use in SwiftUI when developing iOS App such as first line, but when I try to use the other system color placeholderText I get the error "Type Color? has no member placeholderText" why ? Text("Hello, World!").foregroundColor(.quaternaryLabel)
Replies
3
Boosts
0
Views
692
Activity
Jun ’22
Recent Features in SwiftUI on Big Sur
Hi my MacBook Pro stopped updating at Big Sur although it’s not old it’s 2015. So to use the new SwiftUI features isn’t enough to upgrade to Xcode 14 or it won’t install on my machine ? Kindest Regards
Replies
3
Boosts
0
Views
667
Activity
Jul ’22
Xcode Compatibility Error Message
Hi Im trying to run my Xcode App on physical iPad but getting the attached screen message, this happened recently before few months I didn't get it. My iPad is 9.7" Pro with iPadOS 15.6. Mac is NBP 2015 with macOS 11.5.1 and Xcode Version 13.2.1. is there a fix ?
Replies
0
Boosts
0
Views
410
Activity
Aug ’22
Command - Click on Canvas
Hi, In Xcode 15 is command click on an item in the preview canvas feature removed ? it doesn't work for me ? Kindest Regards
Replies
0
Boosts
0
Views
492
Activity
Sep ’23
Math Functions in Swift
Hi, Is there math functions in Swift built in, such as Sin, Cos, Log etc ? Kindest Regards
Replies
4
Boosts
0
Views
843
Activity
Oct ’23