IOS 8 simulator setting fractional digits for location - location

Can not set fractional digits for a location. The location always resets. I have tried
Editing the scheme > Select "Run XXXX.app / Debug" > Select "Allow Location Simulation" and selecting none. After that setting a location from simulator Debug > Location > Custom Location > latitude = 10,001 ; longitude = 10,001
It always get reset to lat 10 long 10

I figured it out. :)) Apple displays the location with a comma and to input it you have to use a dot for input. So to set the latitude or longitude to 10,001 you will have to write 10.001
NOTE: the ios 7 simulator accepts input only with comma notation. the ios 8 simulator accepts input only with dot notation.

Related

Current line text font size gets increased while typing in Xcode

While I am typing on a specific line in workspace, the text present in the particular line's font is getting increased ! And it gets to regular size as soon as I stop typing.
I also upgraded to XCode 8.2 still the same issue occurs.
FYI:
I have also tried the following code to reset the XCode default settings, but still no use.
defaults delete com.apple.dt.Xcode
Solution:
This happens when you change font size for one particular element but the other editor's elements are using the previous/default font size.
If you want to change the font size either press cmd + or in preferences -> Fonts and Colors choose your theme and in the right pane select all the elements (press cmd a) and then change the font size.
See this SO answer
I had a similar problem but I am not sure is exactly the same.
Did you try to change this settings?
Xcode preferences > Fonts & Colors Your chosen theme will have a
"current line" option just under the font. Can't remember exactly but
I think you can find something there.

Space replaced by 'u' character Xcode 7 beta 5

In my Xcode editor view all the space characters appear to have been replaced by an unrecognizable character (like a u but with square corners). I am using Xcode 7 beta 5. How can I fix this ?
You've inadvertently turned on Show Invisibles. Go to the Editor menu and select Hide Invisibles to turn this feature off.

Typing backslash using Windows emulator on a Mac

I am on a Mac (OS X Mavericks) running Windows 7 and wish to type a backslash to specify a path in the command line window. How do I do this using the Mac keyboard (UK)? (And how do I get other characters that map differently like the tilde?)
I'm answering my own question because I couldn't find an answer that worked for me anywhere else and finally found it by accident. Thought it might help someone else.
First I should say that since posting I have tried an emulator on a Mac with a different keyboard (desktop rather than laptop) and discovered I didn't have the same problem with the backslash (although I did with other characters). So the answer will depend on the keyboard.
To get a backslash \ I found I could use the 'backtick' key (to the left of the Z on my Mac Keyboard) on both keyboards I tried (the backslash is in this position on a Windows keyboard).
As regards the tilde ~ (key to left of Z + shift on the Mac), I found that on one keyboard I could get it at the position of ± (shift on key to left of 1) whereas on the other keyboard it was in the position of the pipe (shift on key to extreme left of ASD row).
The other keys that mapped differently were " and the #, which were interchanged on one keyboard (corresponding to Windows mapping). # was also a problem on one keyboard, mapping to the \ (but US keyboards map # differently to UK keyboards.)
found this "" by the using the alt/option key on the right hand side + the "#" key above the enter key
(note: the left hand side alt didn't work for me)
I found this \ by the using the alt/option key on the right hand side + the # key above the enter key
(note: the left hand side alt didn't work for me)
It took me hours but I found it none of the answer here was helpful.

Issues with dimensions of batch file on my Windows 7

I have recently bought my new laptop on which I have installed some (old) software which is used for accounting. That software is made for DOS. Maximum resolution of my laptop display is 1280 x 720
When I open my software using a batch file (as I always did), the cmd window becomes stretched, especially by height which oversizes my display height and I can't see content-data of my software. Please see screen bellow
https://imagizer.imageshack.us/v2/1147x645q90/194/kzy8.jpg
and this is how code of my BATCH file looks like:
PATH=C:\;C:\DLL1.9;C:\DBASE
cd..
CD mpsg
CD MP2014
DATE
MPSW
The problem is that I can't figure out how to change the code of the batch file in order to show screen of my software in controlled size (for example 640x480).
I'm assuming you're running Windows on the new laptop? What version? If it's reasonably modern, you should be able to right-click on the batch file, click Properties, choose the Compatibility tab, and check the box for "Run in 640x480 screen resolution."
Hit Alt and Space, then hit the M key.
Use the down arrow key to move the window so the title bar is in view.
Right click the title bar and adjust the cmd defaults so that the screen size is 80 columns x 25 lines which should fit.

How to localize keyboard when InputScope is set to Number?

I have an app written for Windows Phone 8 that I ported down-level to Windows Phone 7. The app deals with entering currency values so my TextBox has an InputScope of Number to make things easier to enter. I try to respect the locale setting so that in some countries the decimal in the currency value is represented by "." and in others it is represented by ",".
My issue is that it seems that the keyboard is not localized, so the user has to press and hold on the "." button to select the ",". I believe this may only be a WP7 issue. Unfortunately, some users don't know they can do this trick and thus think they are unable to enter currency values that have decimals in them. It also makes the app tedious to use for anyone that represents numbers this way.
Is there anything I am not setting properly or a workaround for this?
Thanks,
Miron
Unfortunately, it doesn't depend on culture, but you can set another InputScope, i.e. CurrencyAmountAndSymbol which contains both '.' and ','
You may use PostalCode Input scope for your thing

Resources