My apologies in advance for what is probably a really dumb question. I'm familiar (or at least getting familiar) with instance and class methods in objective-c, but have also seen method implementations that look like this:
#import "Utilities.h"
#import "CHAPPAppDelegate.h"
#import "AppState.h"
@implementation Utilities
CHAPPAppDeleg...
iPhone is 480 x 320, iPad is 1024 x 768, iOS 4 is 960 x 640. What is the good practice of managing images for 3 resolutions?
Say the app wallpaper as an example, the iPhone is probably a 50%-reduction of the iOS4 one. But it is also tempting to design one dimension (1024 x 768) for both devices (iPad and iOS 4 phones).
Any suggestions...
I have a 57x57 PNG file in the root of my bundle (update: and added to my project), and the "Icon file" setting in my .plist file has the correct filename, but when the app is installed to the simulator, the icon is the default grey/white one.
I've tried deleting my app from the simulator (both through the simulator and through rm -rf o...
Lets say I have an array X that contains [A,B,C,D,nil];
and I have a second array Y that contains [E,F,G,H,I,J,nil];
If I execute the following:
//Append y to x
[x addObjectsFromArray:y];
//Empty y and copy x
[y removeAllObjects];
y = [x mutableCopy];
What is the value of y? is it?:
[A,B,C,D,E,F,G,H,I,J,nil]
Am I performing the ...
I assume it will just crash, right? If I develop an iPhone app that uses the iOS 4 SDKs and it makes it's way on into the app store, how can I ensure it doesn't get downloaded by a person running an older version of the iOS?
Thanks in advance for your help!
...
Hey guys,
UIBarButtonItem does not extend UIView, so there is nothing like a frame property.
But is there any way I can get what is it's CGRect frame, relative to the application UIWindow?
...
Do i need to uninstall my current version of the iPhone SDK (v3.2) in order to install the latest GM (v4.0)? Or can I just download the latest SDK and run the installer?
Thanks so much in advance for your help!
...
I have a grouped UITableView that has basic data inside it, but I would like to start the UITableView at a certain section when the app loads, can this be achieved?
Thanks
Mark
...
Im not sure why, but my UITableView, which isnt anything fancy, is showing repeating rows when it shouldnt be.
It seems that the rows that get added when the user scrolls (i.e. the rows that are off the screen to start with) are getting the data for the wrong row index. Its almost like when a new cell is de-queued, it's using a cell th...
In xcode, while compiling apps with gcc, I want to throw compilation time errors if things like NSZombieEnabled is on for a distribution release, thus ensuring that compilation will fail and I won't accidentally do something stupid.
I did some googling, but could not figure out how to cause the compiler to bail if a certain condition is...
Hi,
My UItouches is not detecting in my Slideshow nib file. What is the problem? Can anyone help?
@class Slideshow;
@interface RootViewController : UIViewController{
PreferencesController *preferencesController;
Slideshow *slideshow;}
Slideshow Implementation
@implementation Slideshow
- (void) touchesBegan:(NSSet*)touches withEven...
I am trying to convert my apns cert to p12 so i can use it with .net
...
To preface, this is a follow up to an inquiry made a few days ago:
http://stackoverflow.com/questions/2981803/iphone-app-crashes-when-merging-managed-object-contexts
Short Version: EXC_BAD_ACCESS is crashing my app, and zombie-mode revealed the culprit to be my predicate embedded within the fetch request embedded in my Fetched Results C...
I just watched this video from Apple that shows multi-tasking on the new iPhone (running iOS 4.0). What are the implications of multi-tasking to developers? Include both positives and negatives.
For example what happens if the user decides to launch two resource-intensives apps at the same time, one of the apps crashes and progress in...
I want to create App which can generate sound and change pitch.
My problem is I don't know what libray can make what i want?
Anyone can help me?
Thank you.
...
Possible Duplicate:
How to accommodate for the different screen resolution of iPhone 4?
What does the new resolution mean for existing applications?
Do the devtools make it easy to support new resolutions without changes, if so how? what happens to apps by those developers who dont do things properly to leverage this?
What a...
Hello,
Is it possible to access speech recognition in an iphone app,similar to voice dialing available in iphone 3gs...when the user says something that related information needs to be fetched... Is there any particular api for the same? I have seen apps on itunes..but how to go about it?
Thanks in advance.
...
I want to save the login information of Facebook after closing the application.
So every time when user opens application, no need to login again.
Is done by saving the session object into a plist?
I'm using facebook connect.
Thanks for the help
...
Hi i want to send sms from ipod and also i will check whether it is being recieved by receiver (user) or not ?
Is this possible ?
Thanks in advance....
...
I am looking for how to style a label in a UITableView cell, so that it shows how many children/messages are in the next view controller.
This is used in Apple's Mail app, to show how many messages are in the inbox or account.
I am sure that this is a UILabel, but what font, color and how to make the oval around it?
...