I'm diving into iOS development while trying to grasp Objective-C and I'm still in that phase where, ever where I look, I see things that don't make any sense to a veteran C programmer like myself. In this Game Kit example on Apple's dev site, one of the header files declares a class interface, three different times...
@interface Sessi...
I need to display some simple formatted text inside a small section of a View. The background needs to be transparent because there's a background gradient image.
How I should I go about this? Maybe the Web View control will do the trick?
thanks
...
Hello
Does anyone know a tutorial hat explains how to shade an object to look like
silver metal? (on iphone)?
Maybe starting with a spere like in this:
http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-part-5-living.html
Or can this not be accomplished without the new shaders in 2.0?
Thanks
Sebastian
...
I've been told to not worry about retain counts. I understand that I shouldn't decide to release or retain using conditional logic based on retainCount, but should I not worry about it? I thought these correspond to memory usage in some way.
For instance, if I have a bunch of subviews of UIView that I've also put into an NSArray to be a...
Hi all.
I am confronted with the double bind, that on the one hand for one of the 3rd party static libraries, my iPhone application uses, the linker flag -all_load has to be set in the application project- or target settings, otherwise the app crashes at runtime not finding some symbols, called internally from the lib, on the other hand...
Hi all,
I have an issue that popped up when I upgraded my version of xcode. I use unit tests, and I now when I try to import SenTestingKit (#import <SenTestingKit/SenTestingKit.h>), I get this error: SenTestingKit/SenTestingKit.h: No such file or directory.
I have looked at my build settings, and I have the following configuration op...
Is there a way to set the attendees of an EKEvent (Event Kit Framework)?
I will create a new EKEvent, but it seems that there is no way (in the public api) to set the attendees.
Does anybody know a workaround?
...
hi
hopefully a simple question for anyone who knows what they are doing...
I have a string variable with user input text.
I then bring up a email view based on Apples example MailComposerViewController and I want the text to populate the body of the email.
In as simple as possible terms how do I get the string variable into emailBody...
Hi,
I know some have already asked the question but so far, the answers are not really specific.
Aparently apple have made the clic area of the NavigationBar larger than it really is, but I don't think it's supposed to be that large.
In my app, there is a TableView right underneath the NavBar and you can clic all the way down to half ...
What pixels per inch settings do iOS 4 graphics need to be to support the high resolution display? Should I just use the standard 72, or should I specifically make images that are 320x480@163ppi and 640x960@326ppi? Or, should I just make images those dimensions and not worry about the resolution (i.e. leave it at the default 72)?
I'm no...
I incorporated MGTwitterEngine in my iPhone app, with basic authentication, and have since incorporated Facebook Connect's classes for iPhone. I'm now trying to move to XAuth with MGTwitterEngine and OAuthConsumer, and I would like the user to have the same flow when tweeting as when posting on Facebook.
With Facebook Connect, I can use...
Can an iPhone app allow a user to purchase a physical product (say a pen or a mouse) from inside an app, without using Apple in app purchase?
Is it allowed by Apple?
If yes, do you know any API that supports this?
Thanks
AJ
...
When I double-tap near the edge of a page that exceeds the height or width of the browser window in Safari under iOS4, it zooms in or out and/or scrolls up, down, right, or left, depending on the size of the page and the current viewport position. How can I prevent this behavior, please?
I'm working on a site where this is (very) bad; ...
Heya has anyone tried out sharekit www.getsharekit.com
Im looking for a simple plug n play way to get photos to twitter.
Let me know if anyone has achieved this.
...
Hi there,
When making the following HTTP POST request:
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
[request setHTTPMethod:@"POST"];
NSURLResponse *urlResponse = nil;
NSError *error = nil;
// execute
NSData *responseData = [NSURLConnection sendSynchronousRequest:request returningRespons...
My iphone application uses Core Data and a SQLite database; versions are being tracked using SVN. Adding data to the database is not reflected in the application. I make sure I delete the project out of the simulator and that the new database is added as a file to the project. I suspect the data is being cached in another location.
Ple...
I figured out how to add/retrieve single strings to the UIPasteBoard, but I am confused on setting up the NSArray and adding/getting separate strings of the same relationship.
Any help would be appreciated.
...
i have two strings initialised with using nsstring *name1,*name2...
how to compare these
...
Can't figure out why I'm not getting my callback - any advice?
-(void) playMovieWithURL:(NSURL *)url {
[currentVC.view removeFromSuperview];
MPMoviePlayerViewController *movieControl = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
//register for playback finished call
[[NSNotificationCenter defaultCent...
I feel like this ought to be simple, but after searching high and low I can't find an answer to my question. I'm developing page swiping funtionality similar to Mobile Safari, where one page will fade out as it is swiped out of view and the other page fades in. Each "page" is a plain, white UIView with a small UIImageView, displaying a...