Hello all
I just read this annoucement about Apple lifting restrictions on its third-party developer guidelines with direct implications for Adobe’s Packager for iPhone.
http://blogs.adobe.com/conversations/2010/09/great-news-for-developers.html
I just want to know what kind of applications can be built using this packager?
Can I bui...
Hello,
I am looking for a way to force any window (even the ones where I am not the owner) to redraw. It has to work for all window (cocoa, carbon , ...)
Do you have any pointer to achieve this?
Thanks in advance for your help,
Regards,
...
Hi is there any way of changing the colour of keyboard or we have to get some custom keyboard for it , any suggetsions ..
thanks in advance
...
I have written this function which shuffles the contents of a NSString, and it seems to work, but every now and then it crashes. This may be a roundabout way, but I put the characters into an array, swap the elements in the array randomly, and then turn the array back into a string.
I'm not sure what I am doing that is unsafe which make...
The flow is something like that... The user see a UITableView, when the user click the "edit", the user can delete the UITableView's cell, after that, he /she click done to confirm. Which method is called when the user click the done key? Thank you.
...
I mean in the current implementation of clang or the gcc version.
C++ and Java guys always tell me that exceptions do not cost any performance unless they are thrown. Is the same true for Objective-C?
...
If dataValue1 and dataValue2 are id
variables, the statement result =
[dataValue1 add: dataValue2]; causes
the compiler to generate code to pass
the argument to an add:method and
handle its returned value by making
assumptions.
At runtime,the Objective-C runtime
system will check the actual class of
the object...
Every time I load a new page with UIWebView the before loaded page is shown for a short time.
How can I clear that cache? Another possibility would be to dealloc UIWebview. I tried that but than my UIWebView is always "empty". How should the alloc and dealloc be done in this case?
I noticed that the UIWebView is consuming about 10 MB ...
Hi everyone,
So I'm working on iPhone and everything is going swell. Except for the last two hours. I was editing some class, then saved and built and suddenly I had tons of errors in another class implementation file. It seems that all the errors have to do with class members (variables) because the only errors I have are "object undec...
Can anyone tell me why logging [self.giftees count] keeps returning 0 even though I'm adding objects to it?
header:
#import <UIKit/UIKit.h>
@interface Test2AppDelegate : NSObject <UIApplicationDelegate>
{
UIWindow *window;
NSMutableArray *giftees;
}
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retai...
Hi guys,
I've got a little conundrum: would it be better to use direct file management, or a CoreData SQLite database?
Here's my scenario:
I have a bunch of 'user' objects, each with a list of 'post' objects. This is easily done in CoreData, and would be great - however, the 'post' objects are downloaded from a web server, and they ea...
Hi all,
I have created music application that have more than 20 songs in it.i want to add web view on top my front page that changes continuously within a specific time interval to display other music application and when the clicks it,it should connect to i-tunes store from where the user can download the application. Please help me in ...
int main (int argc, const char * argv[]) { <br>
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int a1,b1,c1;
@try {
NSLog(@"Enter numerator: ");
scanf("%i",&a1);
NSLog(@"Enter denomenator: ");
scanf("%i",&b1);
c1 = a1/b1;
NSLog(@"%i",c1);
}
@catch (NSException * e) {
NSLog([e name]);
...
[UIView beginAnimations:@"trans" context:nil];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(moveCardToSide)];
[UIView setAnimationDuration:1.0];
CGRect frame = playersCard.view.layer.frame;
frame.origin.x = -30;
playersCard.view.layer.frame = frame;
playersCard.view.layer.transform = CATrans...
How can I invoke a method in a class only after verifying a condition in another method of another class in my iPhone app?
Any ideas?
Thanks, Andrea
edit 3
//class1
//Class1.m
@implementation Class1 {
....
[class2 method1:@"file1.xml"];
[class2 method1:@"file2.xml"];
[class2 method1:@"file3.xml"];
}
…...
I am really interested to know that, Is it possible that using try ... catch mechanism, we can avoid memory crash of our application ... ??
Let say the program part that we are expecting a chance of memory leak is kept under try...catch block, if the program crashes (ie memory leak) occurs then catch statement execute. So we can preven...
What is Objective C++ and can I use this language in Xcode?
...
I have an app that let's you take pictures and upload them to our server. The problem is sometimes the pictures are upside down, sometimes are rotated left or right. How can i correct this? How can I rotate the image so that it looks ok on the computer after uploaded? Thanks.
...
where the local, global, static, auto, register, extern, const, volatile variables are stored ?
...
Hi all,
I have a three UIImageView variables called myPicture1, myPicture2 and myPicture3. In a for loop I am trying to increase the number at the end of myPicture by 1 so that I can assign a random image to each of the three variables. Here is the code below :
for (i=0; i<3; i++) {
int g = arc4random() % 19;
NSString *imagename = [...