Search results for

“xcode github”

98,153 results found

Post

Replies

Boosts

Views

Activity

Reply to Expressionvalue
Hello,Thank you for your code and your help !My code was:let formule = pow(x,3.0)let x = -2.0 //examplelet expression = NSExpression(format: formule)let objet = [x:x]let expression1 = NSExpression(format: formule)let ResultatFonction = expression1.expressionValue(with: objet, context: nil)as?DoubleMy wish is to automatically calculate the formula pow (x, y) for x between -100 and 100 and y between 1 and 10.I agree for the absolute, but only if the power is an even number.
Nov ’17
Reply to iOS 16 crash
Look at this,hope it helps you - https://developer.apple.com/forums/thread/711820?answerId=745458022#745458022 Using a UITouch category to filter the deallocating object. - (BOOL)_wantsForwardingFromResponder: toNextResponder: withEvent: Github: https://github.com/SnowGirls/Objc-Deallocating . Just Drag the ObjcUtil.h/m and UITouch+FixCrashOnInputKeyboard.h/m into your Xcode project.
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’23
Reply to apply strike through on Special character Rp‎ 4.752.000
Tested on the Playground of Xcode 8.3.3.import UIKit let oldpricenameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let productView = UIView(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let decodedString = Rp 514.800 var style = [NSStrikethroughStyleAttributeName: 2] let attributeString = NSMutableAttributedString(string: decodedString, attributes: style) oldpricenameLabel.attributedText = attributeString oldpricenameLabel.backgroundColor = UIColor.yellow productView.addSubview(oldpricenameLabel)With Quick Look into `productView`, I get something like this:Rp 514.800Seems this code acutally works.Please show enough code to reproduce your issue. I believe you can try with your Playground.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’17
Reply to Redeem Code
If you're running beta versions of OS X, like 10.10.4, it won't work.Try redeeming the code in a stable version of OS X and then pause the download there. Once it is redeemed, you can download it from any OS X versions in the App Store > Purchased.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Watch Connectivity - WCSessionDelegate methods not called (simulator)
I'm having exatly the same problem, but with an actual Watch and iPhone (ie not simulator). Interestingly, the Apple sample code for WCSession, Potloc, had the same problem in a beta and/or Xcode version, then worked OK in another, and now fails to complie under the latest Xcode beta. Unfortunately I have two development environments that have had different versions of Xcode and OS X at various times combined with the iOS 9 and OS2 betas, so I haven't kept track of what version of Potloc worked in which specific environment.This is very frustrating.Regards,Michael
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Reply to Expressionvalue
Hello,Thank you for your code and your help !My code was:let formule = pow(x,3.0)let x = -2.0 //examplelet expression = NSExpression(format: formule)let objet = [x:x]let expression1 = NSExpression(format: formule)let ResultatFonction = expression1.expressionValue(with: objet, context: nil)as?DoubleMy wish is to automatically calculate the formula pow (x, y) for x between -100 and 100 and y between 1 and 10.I agree for the absolute, but only if the power is an even number.
Replies
Boosts
Views
Activity
Nov ’17
Reply to iOS 16 crash
Look at this,hope it helps you - https://developer.apple.com/forums/thread/711820?answerId=745458022#745458022 Using a UITouch category to filter the deallocating object. - (BOOL)_wantsForwardingFromResponder: toNextResponder: withEvent: Github: https://github.com/SnowGirls/Objc-Deallocating . Just Drag the ObjcUtil.h/m and UITouch+FixCrashOnInputKeyboard.h/m into your Xcode project.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to apply strike through on Special character Rp‎ 4.752.000
Tested on the Playground of Xcode 8.3.3.import UIKit let oldpricenameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let productView = UIView(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let decodedString = Rp 514.800 var style = [NSStrikethroughStyleAttributeName: 2] let attributeString = NSMutableAttributedString(string: decodedString, attributes: style) oldpricenameLabel.attributedText = attributeString oldpricenameLabel.backgroundColor = UIColor.yellow productView.addSubview(oldpricenameLabel)With Quick Look into `productView`, I get something like this:Rp 514.800Seems this code acutally works.Please show enough code to reproduce your issue. I believe you can try with your Playground.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’17
How to write UI Test for debuggable IPA file in X-Code 8?
Hello developers,Is it possible to write UI Test for a debuggable IPA file without having any buildable project?
Replies
1
Boosts
0
Views
494
Activity
Jun ’17
How to switch On/Off accessibility keyboard using swift code for OS X
Hi i am creating app for disabled persons and I want the code to switch on off the accessibility keyboard and want to these setting through swift code.Can you guide me for any apis which can be used for this.Any Help would be appreciated.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
630
Activity
Feb ’18
Reply to How to use the DocC Archive Hosting Base Path build setting for Swift Packages?
Hi @fruitcoder_DE – have you tried using the Swift-DocC Plugin to build your project? There's documentation for publishing the documentation for a Swift Package to GitHub Pages here: https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/publishing-to-github-pages.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Visual Intelligence: App Intent Not Found?
Note: I have removed the Github repo.
Replies
Boosts
Views
Activity
Nov ’25
Reply to Xcode 5.0.1 can't run on macOS Catalina
x code 5.0 was the one i downloaded
Replies
Boosts
Views
Activity
Jan ’24
Reply to How to relaunch the installer?
there is only the X Code 8 beta? :/
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’16
Reply to App Store redemption codes
If you head over to the OS X Download page and scroll down to the bottom you should see a download link & code for OS X Server.- Tom
Replies
Boosts
Views
Activity
Jul ’15
Reply to Redeem Code
If you're running beta versions of OS X, like 10.10.4, it won't work.Try redeeming the code in a stable version of OS X and then pause the download there. Once it is redeemed, you can download it from any OS X versions in the App Store > Purchased.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Eclipse (4.4) and other Java applications unusable under El Capitan DP3
There's a workaround, but corresponding comment is under review and not being released. Trying again: search for javamake on github - like github slash mnott slash javamake. I wrote a small makefile that you can adapt and that allows me to continue working, with a different editor.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Watch Connectivity - WCSessionDelegate methods not called (simulator)
I'm having exatly the same problem, but with an actual Watch and iPhone (ie not simulator). Interestingly, the Apple sample code for WCSession, Potloc, had the same problem in a beta and/or Xcode version, then worked OK in another, and now fails to complie under the latest Xcode beta. Unfortunately I have two development environments that have had different versions of Xcode and OS X at various times combined with the iOS 9 and OS2 betas, so I haven't kept track of what version of Potloc worked in which specific environment.This is very frustrating.Regards,Michael
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to How to make root volume writeable in Big Sur?
I've built a small program which enables you to write anywhere on your Mac again in Big Sur, check the github link for a detailed description on how to use it (use at your own risk): writeable_root on GitHub - https://github.com/fxgst/writeable_root Cheers!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’21
Reply to login item still displays my personal name after migrating to company account
I did do this on clean mac, it is done on github CI, so it is clean mac for sure. https://github.com/rustdesk/rustdesk/blob/1d6037003a24664ac92f2cb390fb94f30468b3a2/.github/workflows/flutter-build.yml#L591 Do you mean the display name is related to notarization rather than signing?
Replies
Boosts
Views
Activity
Aug ’25