Hi all,
I had a problem with the uploading an image into the server.Also I need to upload a string value to the server with that image. The Image uploading is fine but I am not succeeded so far to upload the string. The following is my code for the uploading. Please help me.Thanq.
NSData *imageData = UIImageJPEGRepresentation(theImage,...
I was just wondering if I have the option to specify more than one set of class declarations and definitions in the same file, without breaking it up into multiple files.
I'm guessing this is just the sign to break it up, but I was just wondering out of curiosity.
Also, bonus, when including, what is the difference between #include and...
I am trying to develop an application which downloads online music data (music files) and makes them available when I am offline.
Can anyone help me? What is the best way to do that?
...
Hi all,
I need to add two button in the UIImagePickerViewController for the iPad. I don't know how to increase the size of the UIPopOverViewController if it is possible I will add them as a subview. Please help on this regard, is there any better ideas to add a subview to the UIImagePickerViewController?.
Thanks in Advance,
Sekhar Bet...
Hi,
Is there any chance to display seconds in uidatepicker? I don't really see reference for this.
...
Hello,
Please tel me how to have many values for the same key in NSMutableDictionary?
because when i use the below approach , the values are being replaces with the recent one
In my case:
[dictionary setObject:forename forKey:[NSNumber numberWithint:code]];
[dictionary setObject:surname forKey:[NSNumber numberWithint:code]];
[dictiona...
Hi,
I have added a UIView as subview of my UIViewController, when I am trying change the orientation, it is not working, Please let me know how should i change the Interface orientation of my UIView?
Regards
Sri
...
Can someone tell me why my application crashes here ?
and why it does not crash when i replace the YES objects with NSString values ?
all i want to do is to store boolean data into array and to modify these data later,
can someone please tell me how to do this ?
- (void)viewDidLoad {
[super viewDidLoad];
NSMutableArray* arr = ...
hi sugar,
Have you done this thing of fetching the content of a pdf file and than display it according to you format, if yes then please sent it to me,
Thanks
...
Hi, I'm trying to create an application that allows multiple recording to take place. In order for that to happen, I have to include a counter and add a variable to my recording file. The problem is - my counter seems to work but it is not captured when recording take place. Any suggestions?
- (IBAction)record:(id)sender
{
if (recorder...
-(void) callme {
//statements
here I call another method "callmeagain"
}
}
But it is not working. Is there another way to do it?
...
hello i am wondering how its possible to load a nib depending on the string selected from the cell title.
here is the code that i am using however i cant get any results..
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
//FinalViewController *anotherViewController = [[FinalViewController...
Hello,
I'm trying to get a value from a string that belongs to an enum typedef in Obj C but I don't seem capable of geting the value out of the NSString. I'me doing something like this:
typedef enum{
S,
M,
L
} Size;
-(void)function:(NSString *)var{
Size value=[var value];
swicth(value){
case S:...
case M:...
...
}
}...
I noticed that by default the sample app GLPaint comes with a recorded data in binary and it loads up on start, it is what is used to display the "Shake me" text.
I'm creating a similar painting app and I was just wondering what is the best way to actually record these strokes and load them up next time.
Currently I tried saving the lo...
hello
i have a problem with ccTouchesBegan
- (void)ccTouchesBegan:(UITouch *)touches withEvent:(UIEvent *)event {
if (_mouseJoint != NULL) return;
_paddleBody=body2;
UITouch *myTouch = [touches anyObject];
CGPoint location = [myTouch locationInView:[myTouch view]];
location = [[CCDirector sharedDirector] convertToGL:location];
b2Vec2...
Hey experts,
When I drag rows from an NSTableView to another NSOutlineView, the NSOutlineView gets a yellow highlighting border. How do I avoid that?
To be precise, this happens only if I drag the rows from the table into the free space (i.e. not on any items) of the NSTableView. However, when I drag the rows directly on items in the N...
Hi
I need to convert integers into two decimal float numbers. So if i have an integer 3 i want it to be float 03. But if i have an two digit integer 33, i want it to be float 33.
...
This is the code. It is pretty straight forward. I made two classes one is returning the error and hydrate the iVar of another class (TheView) and show it to the User. however I cant figure it out why the View return Null at all time. Thanks is advance guys.
@interface AccountControllerModel : NSObject {
NSString *anErr...
i have used autorelease throughout my app and would like to understand the behavior of the autorelease method. When is the default autorelease pool drained? is it based on a timer (every 30sec?) or have to be called manually? do I need to do anything to release variables that are flagged with autorelease?
...
I'm using NSUrlConnection for accessing data from server.
I want that during fetching of the data from the server the user interactivity is stopped as well as the code execution.
And I read more and more on Stack Overflow or Google, but I'm not get appropriate solution.
Please see the code which I'm using.
The first time when the user...