I have a text field where the user enters a number, which is in the range of thousands.
I want the text field to be formatted as the user enters the number, example :
200000 should become 200,000.
how do i go about doing this??
Many Thanks,
S
...
I have a table where there will often be two cells with the same title. I'm zooming in on a map whenever a cell in the table is clicked, so using the title as a unique identifier is out of the question. I already have a unique identifier, but I need to find a way to store it in a UITableViewCell object.
I have been considering two opt...
I recently tried a lot of different stuff with lightweight migration. These all work:
1) Rename attributes (with renaming identifier specified)
2) Add attributes
3) Add new entity + new attribute + inverse relationship to an already existing entity
4) remove existing entity + relationships to that entity
= It almost looks like jus...
Hi all,
I'm using NSInvocation as follows:
In my init, I'm writing this in my viewDidLoad:
SEL mySelector;
mySelector = @selector(initParsersetId:type:);
NSMethodSignature * sig = nil;
sig = [[self class] instanceMethodSignatureForSelector:mySelector];
myInvocation = nil;
myInvocation = [NSInvocation invocationWithMethodSignature:si...
One think I notices is, that I must probably keep the whole stack of model versions intact when shipping updates. I am not sure what happens if someone has version 1.0 with populated data, and then instantly updates to version 5.0 without any of the versions inbetween. So the migration must also know what was that very first data model l...
Example: User installs app v.1.0, adds data. Then the dev submits 10 updates in 10 weeks. After 11 weeks, the user wants v.11.0 and grabs a copy from the app store.
Assuming that the app has got 11 .xcdatamodel versions inside, where ***11.xcdatamodel is the current one, what would happen now since the persistent store of the user is a...
I'm using a UIWebView to display formatted text. It works fine until I start resizing it. When I do it starts zooming and the font size gets too big. Is there anyway to tell it not to zoom or reset the zoom?
...
I've created an NSUndoManager for the Managed Object Context of Core Data, like this:
NSUndoManager *undoManager = [[NSUndoManager alloc] init];
[undoManager setLevelsOfUndo:10];
[managedObjectContext setUndoManager:undoManager];
[undoManager release];
In the app delegate where the didFinishLaunching method is called, I did this:
app...
Hello All....
I have kind of Listing application for iPhone application, which always calling a web service to my php server and fetching the data and displaying it onto iPhone screen.
Now, the thing to consider in this scenario is, my iPhone application everytime requesting on the server and fetching the data.
But now my requirement ...
I have created this piece of code
$('#date a').click(function(){
delete sessionStorage.image;
delete sessionStorage.type;
sessionStorage.type = 'Weakest Link';
sessionStorage.image = '<a class="charlie" href="#date"><img src="images/tea cup 01.jpg" width="50" style="margin-left:-11px !important;margin-bottom:-14px !...
Hi,
I am using the this code in my iPhone application:
UIButton * MyButton=[UIButton ButtonWithType:UIButtonTypeRoundRect]retain];
If I don't use this retain will my app crash? What is the function of this retain?
...
How do existing apps implement this feature???
Can I store cookie only for certain sites, and only inside my app? It's my understand that the web view stores cookies in shared mode...so that they are shared with Safari and other apps that use UIWebView.
...
Hello everybody. I am trying to load the contents of a rtf file in the uiwebview. I am successful in loading the contents, but it is unformatted. the fonts are too large and it doesnt have any format. it displays the color of the rtf content, but not the font or size.
So what should i do now. is there anyother way to load the rtf and for...
Example:
[[managedObjectContext undoManager] disableUndoRegistration];
// changes which shouldn't be undo-able
[managedObjectContext processPendingChanges];
[[managedObjectContext undoManager] enableUndoRegistration];
Is that really important? What's the point?
...
I am building an iphone app and would like to keep track of how many times it has been opened so that I can prompt the user to do certain actions after it has been opened X number of times. I have thought about storing a variable in Core Data which I update every time it is opened, but this seems like a waste since it is a singleton data...
Hello,
Are there any different formats for live audio in iPhone?
Thank You
...
Hi all,
I am working on i-Phone app targeting 3.1.3 and later SDK. I want to know the best way to store user's long term data on i-phone without losing performance, consistency and security.
I know, that i can use Core Data, PList and SQL-Lite for storing user specific data in custom formats.But, want to know which one is good to use w...
I'd like to make a URL that searches my name in iTunes. Basically, clicking on it should open up iTunes with my name in the search box and the results should be loading or loaded.
How do I make this URL?
...
i'm working on iphone app which will show 4 buttons in first view. on click of a button, it will load a new view with navigation controller. this navigation controller view allows to travel upto 11 sub views. in 11th sub view, i've a reset button. on click of reset button, i've to go back to navigation controllers first view without trav...
Hi
I accidentally deleted my sdk 3.0 directory, thinking I didn't need it.
Now when I launch and compile a project it says that my base sdk is missing.
Where can I download the 3.0 sdk? All that is available in Dev Center are the 3.2 and 4 beta sdks?
...