Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

Reply to NSAttributedString draw in rect
@DTS Engineer Thanks, again. I tried your code but it returns more or less the same rect as boundingRectWithSize:options:context:. So it returns the exact same height for a lower case x and an upper case X: x -> {{-66, 0}, {132, 303.63671875}} X -> {{-82.88671875, 0}, {165.7734375, 303.63671875}} Any idea? Thanks…
Topic: UI Frameworks SubTopic: AppKit Tags:
Aug ’24
Reply to How to develop a driverkit driver for USB device on macOS catalina
Thanks for your reply. I download the code from github, but it cannot compile.And Xcode has an error Signing for MyUserUSBInterfaceDriver requires a development team, Select a development team in the Signing & Capabilities editorThen I disable the Automatically manage signing in Signing&Capabilities editor , it shows MyUserUSBInterfaceDriver require a provisioning profile. How can I resolve the issue?
Topic: App & System Services SubTopic: Drivers Tags:
Jan ’20
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 Found an unexpected Mach-O header code: 0x72613c21
this may help someone.My project was hosted on GitHub.- When I cloned the project to the desktop and compiled, I received this error.- Though, when I checked out the project within Xcode 8 beta 2 using Source Control->Checkout and compiled, there was no error.Somehow projects appear subtly different when downloaded vs checkout.Brian.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’16
Reply to NSAttributedString draw in rect
@DTS Engineer Thanks, again. I tried your code but it returns more or less the same rect as boundingRectWithSize:options:context:. So it returns the exact same height for a lower case x and an upper case X: x -> {{-66, 0}, {132, 303.63671875}} X -> {{-82.88671875, 0}, {165.7734375, 303.63671875}} Any idea? Thanks…
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to How to develop a driverkit driver for USB device on macOS catalina
Thanks for your reply. I download the code from github, but it cannot compile.And Xcode has an error Signing for MyUserUSBInterfaceDriver requires a development team, Select a development team in the Signing & Capabilities editorThen I disable the Automatically manage signing in Signing&Capabilities editor , it shows MyUserUSBInterfaceDriver require a provisioning profile. How can I resolve the issue?
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jan ’20
Reply to Visual Intelligence: App Intent Not Found?
Note: I have removed the Github repo.
Replies
Boosts
Views
Activity
Nov ’25
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
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
487
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
613
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 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