Post

Replies

Boosts

Views

Activity

Reply to App Clip is installed but not displayed on the device.
Thanks for the reply! I was able to find the our app clip (which was installed from TestFlight) in Apps Library so for now, I can tap on it and relaunch it. Yeah I did read about App Clip sizes and I wish to have a smaller sized app clip, but unfortunately we have a dependency on which the entire app is based off of and the dependency itself is taking 72 MB of the app clip size. The actual app clip is very small. Working with the dependency team to provide smaller packages.
Topic: UI Frameworks SubTopic: General Tags:
Apr ’25
Reply to Ellipsis getting added in the toolbar text when font is set on attributed string
I am able to reproduce the issue even with other html tags. Eg: let string = "<h1>Hello World</h1>" I was working with iOS 17 and I was trying to print attributed string directly i.e. print(displayText) and not print("the text = '\(NSAttributedString(displayText!).string)'") Also in case of the app I am working on, HTML string would be coming from the end user, so I don't have control over the tags so the string could have "" tags in it. I will try playing around with more HTML tags and using NSAttributedString(displayText!).string instead of displayText to see if it changes anything.
Topic: UI Frameworks SubTopic: SwiftUI
Mar ’25
Reply to Ellipsis getting added in the toolbar text when font is set on attributed string
One thing that I am noticing is if a string with html tags in it is converted to attributed string using the below block of code, then the attributed string has an additional newline character at the end of the string which is displayed as ellipsis in tool bar. NSAttributedString(data: data, options: [.documentType: NSAttributedString.DocumentType.html, .characterEncoding: String.Encoding.utf8.rawValue]
Topic: UI Frameworks SubTopic: SwiftUI
Mar ’25
Reply to Name of .xcdatamodel gets cleared out automtically from pbxproj file.
Thanks for the quick response! I had created 'xcdatamodel' file using Xcode 15 and moved it under a folder using Xcode 15 as well which added the name property to project file. I later moved out the 'xcdatamodel' file back to the main level of the project and had deleted the folder and hence I am seeing the 'name' property being deleted from the project file whenever I make any changes to the project. I had came across a post on Stack Overflow as well where they were seeing something similar in 'xcdatamodel' section in project file i.e. name being added or the path was changed, using Xcode 15. In my case, I deleted the line manually from the app's project file and it didn't cause any issue to my project. Thanks again!
Sep ’24
Reply to Name of .xcdatamodel gets cleared out automtically from pbxproj file.
Thanks for your response! I haven't changed the Xcode project file manually, but I did create a sample project on the side and followed the steps of what I had done. If I create data model file (.xcdatamodeld) at main project level, then the project file doesn't have "name" property in it and the path to the data model is also correct. I was trying to sort the project into modules and folders and I created a specific folder for data model and moved ".xcdatamodeld" under that folder. That's when "name" gets added to project file and even the path of the data model file changes. Here is what you can try: Create a sample app and add data model file to it at main project level. Check project file and you won't see "name = "sample-app.xcdatamodeld";" in it. Now create a new group/folder at main project level and move the data model file under it. Check the project file and you will see "name = "sample-app.xcdatamodeld";" being added to it. Is this expected?
Sep ’24