Search results for

“xcode github”

95,435 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 Question regarding memory/processor CPU and number of images vs size of images.
So I just tried loading a plain green/grassy background image into my game. The background map was 1000 x 1000 but after testing it out I could actually use closer to 2000 x 2000 map size. The player in the game will need a lot of space to explore + at anytime there will be like 20 monsters chasing after him.When I loaded the 1000 x 1000 background image it started to get choppy as the player ventured towards the middle of the map. When he went closer to the sides or off the map the FPS went back up. I didn't use any fancy coding to break the map down into parts or tell xcode to do any of that for me.What do you suggest I do if I want to use a map around the size of 2000 x 2000... Please help and thank you for your time.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Aug ’15
Reply to Xcode 10 simulator iPad 9.7 vs 12.9 views rendering not to Storyboard's constraints
I haven't looked at UIScreen.mainbounds report ....but for my launch images, I am using an .xcassets catalog file in Xcode 10.1 for my app designed for for IOS 11.0+. I see in the .xcassets file / my launch Images for ipad landscape, IOS 7.0 or later has only two launch image files: 1x (1024 x 768) and 2x (2048 x 1536). If an iPad 12.9 in landscape is 2732 x 2048, and I'm using storyboard with all necessary constraints .....is the 2x launch screen in my .xcassets resolution forcing contraints to a lower resolution with different constraints? Any suggestions how to resolve? ...do I need to add a 2732 x 2048 launch screen somehow to .xcassets file or add some device detection code since my ipad storyboard constraints are being ignored in Simulator?
Nov ’18
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 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 Question regarding memory/processor CPU and number of images vs size of images.
So I just tried loading a plain green/grassy background image into my game. The background map was 1000 x 1000 but after testing it out I could actually use closer to 2000 x 2000 map size. The player in the game will need a lot of space to explore + at anytime there will be like 20 monsters chasing after him.When I loaded the 1000 x 1000 background image it started to get choppy as the player ventured towards the middle of the map. When he went closer to the sides or off the map the FPS went back up. I didn't use any fancy coding to break the map down into parts or tell xcode to do any of that for me.What do you suggest I do if I want to use a map around the size of 2000 x 2000... Please help and thank you for your time.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to Xcode 10 simulator iPad 9.7 vs 12.9 views rendering not to Storyboard's constraints
I haven't looked at UIScreen.mainbounds report ....but for my launch images, I am using an .xcassets catalog file in Xcode 10.1 for my app designed for for IOS 11.0+. I see in the .xcassets file / my launch Images for ipad landscape, IOS 7.0 or later has only two launch image files: 1x (1024 x 768) and 2x (2048 x 1536). If an iPad 12.9 in landscape is 2732 x 2048, and I'm using storyboard with all necessary constraints .....is the 2x launch screen in my .xcassets resolution forcing contraints to a lower resolution with different constraints? Any suggestions how to resolve? ...do I need to add a 2732 x 2048 launch screen somehow to .xcassets file or add some device detection code since my ipad storyboard constraints are being ignored in Simulator?
Replies
Boosts
Views
Activity
Nov ’18
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 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
Reply to Get pdf of safari web page in Mac app
Check github for scrapeing projects, etc.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’17
Reply to Developer Transition Kit - Apple Silicon Mac Mini BREW install
check the brew GitHub issue 7857
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’20
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
477
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
600
Activity
Feb ’18
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 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 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