Search results for

xcode github

94,732 results found

Post

Replies

Boosts

Views

Activity

Reply to Converting meters to millimeters
I was told the code below was the correct code to use to convert a 3d scan in meters to millimeters. I must not have it in the correct place in the code in my first post. vertex[j].x = vertex[j].x * 1000.0; vertex[j].y = vertex[j].y * 1000.0; vertex[j].z = vertex[j].z * 1000.0;
Topic: Programming Languages SubTopic: General Tags:
Nov ’16
Reply to Sign In With Apple not working with Xcode 12 beta on simulator ?
Using xcode 13. I downloaded ios Simulator 13.4 and there it works for me. Simulator ios version 14.5, and 15 it does not, no error messages, only spining wheel. Hardware works fine. The issue with this workaround, is that I have code that can only be run on 14+, so even if testing goes through for apple signin on 13.x, part of the code will not work on that ios version. Have now gone through rejected phase 3 times, although explained every time.
Oct ’21
Reply to noob error on my code, how to fix it?
I checked in code, and it compîles and works ! (Swift 2.2) (withIdentifier: userVC) let x = (withIdentifier: userVC) Swift.print(x)on console userVCEdited : it's interpreted as a tuple with a single item.I tried : let x = (withIdentifier: userVC, withSecond: Second) Swift.print(x)and get :(userVC, Second)I guess it should not work anymore in Swift4
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’17
Reply to Implementing deprecated method
@Clude31 thank you for your reply. To be honest I am not an app developer. This(Linphone) is an opensource application. Just downloaded and compiled through xcode. Then I check the latest source repository from github the willAnimateRotationToInterfaceOrientation still exist.if I just replace this will it be fixed?- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;Could you plese advise me..I'll be very gateful to you.
Jun ’18
Reply to On the short-circuit of AND operator
a. What is the error?b. The second condition is not evaluated, but it's still compiled.c. It may depend on what your real code is. If you really wrote the sub-expression 1/0, it seems reasonable for the compiler to tell you that's wrong. If you wrote: let x = … let y = ... if x > 0 && y / x == 0 { … }then there shouldn't be an error message. If you wrote: let x = 0 let y = ... if x > 0 && y / x == 0 { … }then the compiler should tell you that the condition is always false.Etc.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’16
Reply to Xcode Source Editor Extension - single character selection range
Hey! Your code logic isn't right.start.column is the offset of te cursor from the BEGGINING of the line, so column zero would be exactly the begining of the line, even if there are any spaces or tabs.Column zero would be right before the first letter of this sentence.So if you want to know if theres no selection you should instead check:start.column == end.column // No selectionOr if you want to check for only one character or n number of characters selected you should do this:start.column == (end.column - 1) // only one character selected start.column == (end.column - x) // only X number of characters selectedBTW, I finished my xcode extension two days ago and I'm still not able to use it in Xcode 8 final because of a **** bug. 😠 but that's another problem.Hope this helps 😉
Sep ’16
Reply to Problem with GL in xcode
OpenGL support was retired back around macOS 10.14. Various of the GL support was retired back around OS X 10.9, and GLUT (OpenGL Utility Toolkit) was then used. How much code-level work do you want to do here? You can try setting your deployment target version back in Xcode. Maybe that gets you working? Or can make some code changes: maybe one or the other of the following helps pick up the necessary GL definitions: #include #include
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’23
Reply to develop 1 project on 2 macs?
Alright I have purchased a GitHub monthly membership and I don't know how to proceed. I created a private repo called iOS Projects and it generated a hyperlink to the repo.first think I need to know is how is a repo different from an xcode project? does a repo hold many xcode projects or is 1 repo meant to be for 1 project.Next, I see two places in xcode that take in GIT info.xcode>preference>accounts>add repoSource Control>Project Name <master> >configure Project Name>Remotes.Please help me out as to what I am supposed to do? Thanks...
Sep ’15
Reply to Package.resolved file is missing from the repository
Update: It appears that the main reason I'm getting this error is because one of my dependencies is failing to clone. This dependency is located in a private repository also hosted on GitHub, and I've granted authorization to this additional repo. Could this be because Xcode-Cloud is trying to look in keychain for my normal git authentication info (username and token), but it's not available on the host?
Nov ’21