Hi All,
While doing fast rotation from one landscape mode to another landscape mode or same for portrait, the webview is not showing the text. To show that text, it needs a scroll from right. That text comes from the HTML.
...
I have an NSView that is drawing a collection of irregularly shaped (and overlapping) application managed objects: that obviously can't be described by efficiently using non overlapping rectangles.
I want to change the cursor when it it over one of these objects.
The usual method seems to be to set up tracking rects in response to -(vo...
Hello Stackoverflow fellow family members!
I've got question regarding memory management in iPhone.
What I did understand was below method
-(void) dealloc
{
// something else to release whatever
// such as Object Created using keyword 'alloc'
// but also Object destroy here its retain value reaches iff 0
// if I do put...
HI
How can I detect when I return to a view? I have an iPad app in development and I want to do something upon returning to a certain view. How can I do this?
Thanks.
...
Hi
In my application what is want is when user clicks on button next view is pushed and default keyboard should be open in the pushed view .
Thanks in advance
...
I am using MGTwitterEngine in an iPhone application to make a simple call for user statuses. The engine has a delegate method:
- (void)statusesReceived:(NSArray *)statuses forRequest:(NSString *)identifier
And I can see my statuses logged in the console. My question is what is the best way to then use the statuses and be informed when...
I've downloaded gnustep core \ gnustep system (for Windows) and come example apps. When i run the gnustep shell from start>all program> GNUstep> shell, navigate to the folder containing en example makefile and type make, i get the following error :
Compiling file main.m
/bin/sh: gcc: command not found
so basically i can't get anything...
I have a segment controller on one of my views and now on the 0th index of segment controller I want to add UIImagePickerController (for showing camera view to user) by adding as sub view and not by ModalViewController. Right now the view gets loaded but It does not show any camera view. I am able to show the camera view by presentModalV...
I'm taking a day off banging my head against memory management and opengl-es to try and boost efficiency. Part of the app we're working on accesses vast tables of data. These data were supplied to us in the form of switch statements, mostly.
In all, I have four switch statements, each with 2000+ cases, expected to grow. How poor is the...
Hi,
I'm looking into storing lots of number as Int16. Considering Core data because the rest of the models are implemented in Core data.
So I did a simple application. Core data with 1 entity and 1 attribute of Int16 type. Inserted 1 million entries in SQLite storage type and the file size turns out to be 16.2MB. Actually if I change ...
I have a fairly simple view hierarchy in my iPad app.
Window -> RootView -> TableView / DetailView
TableView and DetailView are siblings added as subviews (as per a solution to a previous question).
On launch TableView is in front. When you select a cell then method in the app delegate is called which swap them out putting DetailView ...
Hi,
I'm using
[NSTimer scheduledTimerWithTimeInterval:0 target:self selector:@selector(myfunc:) userInfo:text repeats:false];
in my code. How can I know if myfunc has finished running so that I can fetch the global variables it has changed?
Thank you!
...
Hi
I have an array with 10 objects and I put this into a table. How can I edit one of the individual objects in the array or refresh it?
All the objects just hold text, so after I change the text how can I refresh the array? See where I am coming from?
Thanks.
...
How to read and write an NSString with UTF8N? I use this to load a UTF-8 file and it seems to work with UTF-8N.
NSString *string = [NSString stringWithContentsOfFile:destPath encoding:NSUTF8StringEncoding error:&error];
The problem is when I save the file with
[string writeToFile:tempFile atomically:YES encoding:NSUTF8StringEncoding e...
Hello, I have been working through some code and I would like to work out how to get around this problem with the GameCenter GameKit.
There is some example code (now open to the public, no longer pre-release so I can talk about it).
@synthesize playerStorage;
- (void)loadPlayerData:(NSArray *)identifiers
{
[GKPlayer loadPlayersFor...
Hello , is there a way to set the allowsSelection property of UITableView for each table section separately, and not for the whole table ?
Thanks in advance
...
Hey Guys
i am getting this error "message sent to deallocated instance 0x141dafb0" its comming from a UIBarButtonItem when its beeing pressed on the application. any help would be greatly appreciated
Error:
*** -[PeerConnection performSelector:withObject:withObject:]: message sent to deallocated instance 0x14143ff0
PeerConnection.h...
Hello,
I am flip animation to go from one view to another and animation is working properly but when i am using button action on that view that time application is getting crash.
Please help me out to solve this problem.
my code is:
Abtsk1 *secondViewController = [[Abtsk1 alloc]
initWithNibName:@"Abtsk1"
...
I have a modal dialog thats building a string. The string is shown to the user, and the user presses checkboxes, radio boxes, etc to build the string. The string exists nowhere - I build it for display in -()builtString; from the configuration of the self.valuesDict.
I can easily wire up the checkboxes via bindings in IB: for example to...
Hey There, your kind help on a small matter.
I have a UITextview with a tag
// Text view
UITextView *currentPage = [[UITextView alloc] initWithFrame:CGRectMake(10, 10, 300.0, 194.0)];
currentPage.scrollEnabled = YES;
currentPage.textAlignment = UITextAlignmentLeft;
currentPage.tag = 100;
currentPage.editable = NO;
currentPage...