Committing Files In XCode [duplicate] - ios

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Do I really need version control?
My question is simple enough. When I am in Xcode and right click a file and go down to "Source Control>Commit Selected File...", it brings up a new screen.
My question is this:
What is committing files for? I'm simply trying to understand the pros and cons.
Thanks!
Jake
EDIT: Now I understand, thanks for the responses!

Sometimes, it is possible to draw yourself into a corner: You have a great idea, you change many things, and you notice your idea wasn't as good as you thought. If you had source control, you could just go back to the last working version easily, cleanly, reliably and quickly.

Version control is also a way to back up a working copy of your code. If you don't understand the benefits, you definitely need it.

Related

Does Umbraco 7.7 support concurrent users?

Say, we have multiple users editing same document in parallel.
Is there a way to prevent this from happening?
For example, disabling the document from being editing if there's already another editor changes content.
There used to be a few packages that helped deal with this issue. So far none of them have been ported and released as supporting v7.
The only one I could find that may be close is this one:
Look who's editing now
It's a work in progress version, but perhaps its close enough you could use it or even help get it working.

100+ Targets for one Xcode Project

I am wondering if anyone has experience with having 100+ targets in a single xcode project. I have a case right now where we are building many apps that use the same code base. There is some debate internally that if the amount of apps gets to an unmanageable level aka (Maybe a couple of 1000 apps) we are going to have issues.
So my Question: Does anyone have experience with making a xcode project that has a ton of apps/targets (100+) in one project? Is there any issues with this? Is it easier then having a single project for each one and just sharing code with symbolic links?
I have built a project and made about 80 targets. Besides xcode crashing a couple of times while I was creating them (I think this was because I was using hot-keys and going really fast) it seemed like it was fine. I did not see any major performance hits, but since this was not a full project I am skeptical that this was tested fully.
Thanks for any insight.
So I found some information hidden in a post of a site called openradar. I think it will answer my question. I would love to hear from some real world experience through. So if anyone still has input please add it. I will be doing some more research on the subject.
Link to Post: http://openradar.io/15060709
Also I asked apple for comment on this as well and as soon as I get a response back I will post it in this answer.

drag and drop with easeljs

I apologize that is isn't strictly a coding question. Has anyone come across a good BASIC tutorial explaining how to drag things in Easeljs? I've been experimenting with jQuery Mobile and the 'touch punch' plugin in the DOM for an app I'm developing and it works great. All devices, all browsers. But i recently read that phonegap totally sucks so I'm trying to get the same effects in Canvas for Cocoonjs.
But I can't seem to get anything working in Canvas. I've scoured the web and it seems everyone just reuses Easeljs' daisy example.
Has anyone found a good, simple, clear example without all the extra BS?
Thanks in advance. And again I apologize this isn't a coding question.
If I'm getting this correctly, you are trying to use jQuery for Drag&Drop on canvas?
If that is the case, then the simple answer is: It's not possible. (at least not out of the box, and making this work would take way too much effort and would make no sense)
Other than that you have pretty much answered your question yourself, the EaselJS Daisy DragAndDrop Example from here: https://github.com/CreateJS/EaselJS/tree/master/examples already is like a perfect example - unfortunately it won't get much simpler than that.

Phonegap iOS app: change keyboard appearance to UIKeyboardAppearanceAlert (again)

A couple of months ago, I posted a question asking if and how phonegap users can alter the keyboard appearance to the dark alert ui keyboard (UIKeyboardAppearanceAlert) without targeting individual textfields. I did some extnsive reaearch myself and offered a bounty but yet the question remained unsolved.
Alter keyboard appearance in native, phonegap/Cordova built iOS App
As of today, I'm still struggling to get this resolved and simply over with. I do realize much probably hasen't happened since last time I bothered you with this question, however, two things have in fact changed which somewhat justifies this seemingly double post:
Phonegap has released version 2.1 which does some new stuff, perhaps this is possible now?
As my client expects me to solve this in any way possible, this time I would also like to ask you for an alternative approach. If it still can't be done, would it be possible to custom make a "keyboard" of my own? I know this of course is technically doable, but is it in any way a recommended approach that would be considered in at least some way smart and justified? As I said, my client pushes hard for this and is not in favor of rebuilding the app completely natively.
Conclusively, as of today is there any way to do this with phonegap / Cordova? If not, would you recommend me to custom make a keyboard using HTML CSS and JavaScript, bearing in mind this is a major comsern for my client? If so, are there any good plugins that I can use as a start? Please check out my old post (linked above) to see what has already been tested.
Thanks in advance,
Jonathan
I know this is quite old but I came accross it looking for the same thing. Anyway, I have found a possible solution which would be to create a plugin for Cordova http://cordova.apache.org/docs/en/2.6.0/guide_plugin-development_index.md.html#Plugin%20Development%20Guide
It does require some native coding but would atleast avoid starting an app from scratch which has already been built in Cordova.

Touch Typing Software recommendations [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since the keyboard is the interface we use to the computer, I've always thought touch typing should be something I should learn, but I've always been, well, lazy is the word. So, anyone recommend any good touch typing software?
It's easy enough to google, but I'ld like to hear recommendations.
Typing of the Dead!
It's a good few years old so you may have to hunt around, but it's a lot of fun and as well as the main game there are numerous minigames to practice specific areas you may be weak on.
I trained my typing on GNU Typist. It comes with exercises for various languages and keyboard layouts, if you're so inclined.
One of the most fun typing programs I used is dvorak7min. It has a nastiness mode where for each typo you make, the cursor goes back by 1. So if you don't watch your typing, you'll be back to square 1….
If you want some motivation to learn to touch type read Steve Yegge's Blog rant:
Programming's Dirtiest Little Secret
Find a long document on the web, using Firefox
Press CTRL+F
Type along with the document. Try it, it works.
Mavis Beacon.
Although not nearly as fun as Typing of the Dead!
I've been touchtyping since I was 10 years old (on a real typewriter at that!) but one thing that helped my sister learn touchtyping is hanging out in IRC channels. You want to be able to "talk" as fast as you can speak and that trained her in typing a lot faster.
I know it's a lame answer and not really a software solution or what, but it worked for a lot of people I know. :)
Try http://keybr.com/? It is a little different from the usual format of free typing tutors. If you create an account, it keeps track of your progress as well. No add-ware and no pop-ups, or other useless junk.
If you want to learn by getting thrown in the deep end... DasKeyboard ultimate will have you touch typing in no time :)
I use Rapid Typing to learn touch typing. It has excellent visuals and it's even somewhat relaxing to type.
About the recommendation to use the DasKeyboard, I just started using one today! But be aware that it makes a lot of noise. I was mortified how much noise it was making in my super quiet office filled with other people, who are engineers but mostly not developers. I asked the person across from me if it was too noisy. She hesitated for a fraction of a second before insisting it was fine, and when I said I would put it away she barely protested. So I packed it up. Maybe if you are just surrounded by other devs it would be OK. I'd love to hear of contrary experiences. I'm banging away from home right now though, as loud as possible, and loving it!
Oh, and you will definitely learn to touch type! Right now I have a picture of a labeled keyboard as my desktop image, but am referring to it less and less.
Mike
I have a really weird habitual way of typing where I use several fingers on my left hand but only one or two on the right. This has served me for years and apparently gives me 80+ words per minute, but it does seem an incredibly weird way to type. This is touch typing but not using the "standard" finger arrangement. While it's probably not a great idea to try and fix something that already works, I thought I'd try and relearn to type the proper way (left fingers on asdf and right fingers on jkl;).
I've been trying out Mavis Beacon and it seems alright, it slowly adds more and more letters to your repertoire allowing you to gain the muscle memory or whatever, and then focuses on speed. The "games" seem a little pointless (is this program designed for kids?), but I guess for someone who doesn't know where the keys are it does a good job showing you which fingers to use and where to move them. As I already knew where the keys are most of the program didn't really aid me. Once you know where the keys are you probably just want to practice typing out text and a program like that won't really aid any more than notepad apart from counting your words per minute and giving you something to type. I agree with Typing of the dead being pretty awesome though, and will definitely help with your speed once you've got the finger arrangement down.
Do all you touch typers use the standard finger arrangement or do you just do your own thing? I think I've come to the conclusion I'll just stick with what I know, it seems to work anyway.
For the sake of completeness, my wife used KP Typing Tutor, worked great.
+1 on chatting more
I used the TTCoach plugin for Vim and have been very happy with it. It doesnt come with any exercises for numbers and symbols however, but it is easy to just make some text files yourself and write :TTCustom file.txt to use it for exercising.
Just learn a couple of characters at a time and when you got them nailed, learn a couple more and so on...
I've been using TypeFaster. It's not pretty, but one nice feature is that it can load lessons in different keyboard layouts, like Colemak (layout files here) or Dvorak.

Resources