Search results for

xcode github

92,018 results found

Post

Replies

Boosts

Views

Activity

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 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 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 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
does or did Apple provide any git service like Github
I am asking this question because we outsourced an app development to an offshore company last year.Now when we asked the source from them, they told me they has commited the source to official git server provided by Apple, which I never heard of and can't prove it never exists either.They also told there were an entrance to that git server on the Member Center page and just disappeared now.I really appreciate if someone could give me an official anwser.
0
0
238
Aug ’15
Reply to System Voraussetzung Xcode
Ich habe eine Zeit lang ein MacBook Air 2010 mit OS X 10.11 El Capitan für Xcode 7 verwendet. Mit 2 GB RAM und 250 GB Festplatte. Ich benutze jetzt XCode 11 auf einem MBP 2016, Catalina, 16 GB RAM, 500 GB Festplatte und es läuft gut. Bei einem großen Code hatte ich jedoch Probleme mit dem iMac mit 16 GB RAM mit XCode 9. Sie sollten also in der Lage sein, das MacBook Air mit 8 GB zu verwenden, aber Sie riskieren eine Verlangsamung, wenn Sie große Projekte kompilieren.I used a MacBook Air 2010 with OS X 10.11 El Capitan for Xcode 7 for a while. With 2GB RAM and 250 GB Disk. I now use XCode 11 on a MBP 2016, Catalina, 16 GB RAM, 500 GB Disk and it's doing well. But for a large code, I had problems on iMac with 16 GB RAM with XCode 9. So, you should be able to be able to use MacBook Air with 8 GB, but you risk slow down if you compile large projects.
Mar ’20
Reply to tvOS 10.2 beta - Strange top shelf behaviour
Okay,some combined StackOverflow and Github results helped me to use xCode 8.2 with tvOS 10.2:From StackOverflow: You need to copy the iPhoneOS5.1.sdk to the directory /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk and iPhoneSimulator5.1.sdk to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk (You'll need to restart Xcode to be able to select the SDKs in the Base SDK build option.)And from Github: // The trick is to link the DeviceSupport folder from the beta to the stable version. ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3 (14E5230d)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport // Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versionsMaybe the latter one (of course adapted for Apple T
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’17
Reply to View hidden files in Xcode Project navigator
They are files/folders in the project directory. For instance, I have a .github directory with workflows and such in it, and it would be nice to see those in the Project navigator. Granted, I can just open them in another application, or use Terminal to open them, but it would be nice if I didn't have to exit Xcode to view files in the project I'm working on. So, the project might look like: Project/ t.github/ ttworkflows/ t.gitignore tSwiftFile.swift t...
Feb ’21
Reply to How Would You Solve For A Variable In An Equation?
Thanks! That's very helpful! Do you know how I might make a basic text parser that can extract the values of a, b, and c from one text field if written as something like this: a * x² + b * x + c = 0Also, since I'm not quite as good at math as you are, I have to ask; does the above code solve for x in any instance with one instance of x?
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’17
Reply to How do I downgrade the simulator in Xcode?
Same as guy above, XCode 15 and it only lists 17.0 in the simulator. If I look inside the xcode folders it lists lots of other ios versions, interestingly it doesn't actually list 17, just 8->16.4. How is it this fiddly and wierd to just get a simulator for different versions of ios!? I followed a few guides of downloading other versions of the simulators from github and something else with some commands, don't seem to make any diff, I don't see anything other than ios 17.0.
Oct ’23
Reply to Peculiar EXC_BAD_ACCESS, involving sparse matrices
Hello Claude, First of all, I am sorry about the absence of comments. It would be a headache for me too if I had not written the code myself, so I should have thought about adding comments earlier... I will add them and send the code again soon. The xValues form the vector x in the equation Ax = B, where A and B are matrices that are the arguments of the leastSquaresSolution function. Apple describes how the Ax = B equation can be solved with Swift in this article. xValues is indeed modified by updating xPtr. xPtr's baseAddress is passed to the DenseVector_Double that holds x: let x = DenseVector_Double( count: Int32(A.transpose().count), data: xPtr.baseAddress! ) Then, x is passed to the constant 'status', which should modify x and thereby should modify xPtr and xValues: let status = SparseSolve(SparseLSMR(), a, b, x, SparsePreconditionerDiagScaling)
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’24