Post

Replies

Boosts

Views

Activity

Reply to Is there a way to translate touches to screen coordinates
If you find the topmost view (calling superview repeatedly) then let touchLocationAbsolute = touch.location(in: topMostView) will give you what you are looking for. To find the topmost, I would do something like this : var topMostView = myGV.guessBar var upperView = myGV.guessBar while upperView != nil { topMostView = upperView! upperView = topMostView!.superview } let touchLocationAbsolute = touch.location(in: topMostView)
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’21
Reply to Attachment in UITextView
If you want to add inside the text, you should use attributedString and NSTextAttachment: See example here: https : / / w w w.hackingwithswift. com/example-code/system/how-to-insert-images-into-an-attributed-string-with-nstextattachment
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’21
Reply to Having very serious doubts regarding User Interface of my first app.
The review guidelines require that your app offer enough functionality in all cases. Even though no one can tell for sure what the review board decision will be, it seems that making all the content of the app unaccessible until user has subscribed can be a cause of rejection. You'd probably better propose a simple plan (4 days for instance) and let user buy more plans.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’21
Reply to Deleting Forum Posts
If you want to delete a post for some other reason then… well… what’s the reason? Sometimes, I can post a question or an answer and then realise it is nonsense. Or because of some recent strange forum behavior (messages seem to disappear for a few minutes then suddenly reappear after verification - not really WYSIWIG at all), I may post the question again… and then notice it is a duplicate. Sure I can edit it and just write : this post has been deleted! But, if no one answered yet, it would be just better to simply remove it. That was possible in the former forum…
Jun ’21
Reply to Attachment in UITextView
Can I make something like 'cell', which will be shows attachment like on attached image? So, that's not a question about UITextView. To get this, just define a custom cell. In its nib, you will position label(s) and image, at the exact position you wish.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’21
Reply to Resources for getting started
With those books, I advise you to start learning in playgrounds. That's a very interactive way to learn Swift and the basics of Xcode. Once you feel comfortable, you will learn to develop real apps, and learn UIKit or SwiftUI. Wish you a good and enjoyable start.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’21
Reply to I want to add RSS Feed to my app to automatically updates when the app loads. How do I do that?
Here is an example. It is using Alamofire, but hope that can help: https : / / stackoverflow. com/questions/52146706/loading-rss-feed-to-ios-swift This other one is very old, objC, but logic should help. w w w raywenderlich. com/3091-rss-reader-tutorial-for-ios-how-to-make-a-simple-rss-reader-iphone-app
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Apple Sign in gettting error "Invalid_client" in Flutter Android application
This forum cannot help on Android. It is dedicated to Apple's products. You'd probably better contact Flutter directly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Is there a way to translate touches to screen coordinates
If you find the topmost view (calling superview repeatedly) then let touchLocationAbsolute = touch.location(in: topMostView) will give you what you are looking for. To find the topmost, I would do something like this : var topMostView = myGV.guessBar var upperView = myGV.guessBar while upperView != nil { topMostView = upperView! upperView = topMostView!.superview } let touchLocationAbsolute = touch.location(in: topMostView)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to NSTouch Bar ScrollView
I accidentally fall on this old question. @normsheeran if still listening, did you try to embed the touchbar into a scrollView (in IB) ?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Attachment in UITextView
If you want to add inside the text, you should use attributedString and NSTextAttachment: See example here: https : / / w w w.hackingwithswift. com/example-code/system/how-to-insert-images-into-an-attributed-string-with-nstextattachment
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Having very serious doubts regarding User Interface of my first app.
The review guidelines require that your app offer enough functionality in all cases. Even though no one can tell for sure what the review board decision will be, it seems that making all the content of the app unaccessible until user has subscribed can be a cause of rejection. You'd probably better propose a simple plan (4 days for instance) and let user buy more plans.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Deleting Forum Posts
If you want to delete a post for some other reason then… well… what’s the reason? Sometimes, I can post a question or an answer and then realise it is nonsense. Or because of some recent strange forum behavior (messages seem to disappear for a few minutes then suddenly reappear after verification - not really WYSIWIG at all), I may post the question again… and then notice it is a duplicate. Sure I can edit it and just write : this post has been deleted! But, if no one answered yet, it would be just better to simply remove it. That was possible in the former forum…
Replies
Boosts
Views
Activity
Jun ’21
Reply to Attachment in UITextView
Can I make something like 'cell', which will be shows attachment like on attached image? So, that's not a question about UITextView. To get this, just define a custom cell. In its nib, you will position label(s) and image, at the exact position you wish.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Resources for getting started
With those books, I advise you to start learning in playgrounds. That's a very interactive way to learn Swift and the basics of Xcode. Once you feel comfortable, you will learn to develop real apps, and learn UIKit or SwiftUI. Wish you a good and enjoyable start.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Using framework with storyboard
Would this tutorial provide what you are looking for ? h t t p s:  / / medium. com/onfido-tech/reusing-code-with-swift-frameworks-cf60f5fa288a
Replies
Boosts
Views
Activity
Jun ’21
Reply to MacOS Big Sur Checking "nul"
We cannot access your screenshot which is on your local disk. You can paste the image on the forum. And explain the problem more in detail.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to My app iAccounts is gone.
I read this: https://discussions.apple.com/thread/251659892 Maybe the app is discontinued.
Replies
Boosts
Views
Activity
Jun ’21
Reply to My Favourite DevForums Improvements
Why is it impossible to reply to this thread ? Even though it is not marked as locked.
Replies
Boosts
Views
Activity
Jun ’21
Reply to features, features, features, bugs, bugs, bugs!
File bug report, for each bug you notice. That's the only official channel. And please report the bug ref here, in case. Good luck.
Replies
Boosts
Views
Activity
Jun ’21
Reply to CGRect Values append in Array
Maybe a type mismatch: Double (XPoitions expects Double) vs CGFloat (rectangle.origin.x). Try: XPoitions.append(Double(rectangle.origin.x))
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21