Post

Replies

Boosts

Views

Activity

Reply to Using Image Classification to detect image attributes rather than content?
I would not do it this way, but just create a set of perfect square and train the model to recognise perfect square. Then test with "unperfect squares" and you should get the score directly. Otherwise, how would you create your different categories (from nearly perfect to totally not ? And the training will just confuse the classifier. Different categories that could make sense are shapes: Perfect Square, perfect Circle, Perfect Triangle, Perfect Pentagon…
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Dec ’21
Reply to POD Compatibility
From Swift 5, pods should be compatible with newer versions of API (forward compatibility). API deprecation is another issue, because that's not the API that changes, it's the OS that does not support it anymore. So using old Xcode may not work (and anyway, you will not be able to submit to Appstore). So if pods are yours, you will have to update for those deprecations. Could you show some examples of Swift5 warnings and of deprecation ?
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Reply to How to resurrect the iPhone 12?
Do you have an iCloud backup ? If so, do as instructed here: https://support.apple.com/en-gb/HT204184
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to App Rejected Guideline 2.1 - Performance - App Completeness
Maybe there is a network issue that does not show on your side. Could someone in another location try to reproduce the problem on the TestFlight version ?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Why does a dismissed child UIView doesn't reappear properly after its first appearance?
There are visibly some issues with curl when dismissing. In some cases, animation doesn't work. https://stackoverflow.com/questions/62187639/swift-modal-transition-partial-curl-on-dismiss-got-stuck Could you test with another type of animation: transitionFlipFromLeft
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Using Image Classification to detect image attributes rather than content?
I would not do it this way, but just create a set of perfect square and train the model to recognise perfect square. Then test with "unperfect squares" and you should get the score directly. Otherwise, how would you create your different categories (from nearly perfect to totally not ? And the training will just confuse the classifier. Different categories that could make sense are shapes: Perfect Square, perfect Circle, Perfect Triangle, Perfect Pentagon…
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Swift playgrounds 4
Announced in Xcode 13.2 RC: New Features Xcode 13.2 includes support for app projects you create with Swift Playgrounds 4. (84436977)
Replies
Boosts
Views
Activity
Dec ’21
Reply to Is this the proper order of commands to dismiss a UIView?
When reading doc, it seems you do it in the proper order. But if I may ask: why do you need to add childView instead of subview ? Is the view so complex that it needs its own controller ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Why does a dismissed child UIView doesn't reappear properly after its first appearance?
To remove all constraints on a view: func removeAllConstraintsFromView(view: UIView) { for c in view.constraints { view.removeConstraint(c) } }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Create ObjC project with Storyboards in Xcode 13
I tested in Xcode 13.2RC and could create it:
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Use volume buttons observer by pressing it without violating the app store guidelines
How would you make the difference between user pressing button to change volume (what he/she must always be capable of) and pressing to start a timer without changing the volume ? So I fear there is no way to do this whilst being compliant.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Cell only shows and hides once; and then not able to show again
I do not see how you react to startDateLabel tap. Is there a gesture ? Or is it through cell selection ? In this case, reselecting the same cell does not trigger the delegate func for select/deselect. Could you show the delegate func cellForRow at ?
Replies
Boosts
Views
Activity
Dec ’21
Reply to POD Compatibility
From Swift 5, pods should be compatible with newer versions of API (forward compatibility). API deprecation is another issue, because that's not the API that changes, it's the OS that does not support it anymore. So using old Xcode may not work (and anyway, you will not be able to submit to Appstore). So if pods are yours, you will have to update for those deprecations. Could you show some examples of Swift5 warnings and of deprecation ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Is your Xcode13 stuck?
Which version exactly ? In which conditions ? At start, when editing, when compiling… ? Which MacOS version ?
Replies
Boosts
Views
Activity
Dec ’21
Reply to Prevent taking a screenshot on iPhone and iPad
As of the documentation we've found no robust solution so far. That's because there is no robust solution.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Distribution certificate not listed anymore?
Where do you look ? In Xcode > Preferences > Account ? Which version of Xcode ?
Replies
Boosts
Views
Activity
Dec ’21
Reply to dateFormater returns nil on Specific date
Do you really run this in playground ?
Replies
Boosts
Views
Activity
Dec ’21