I want to build a static library for iphone. I want to give my users the .a library which they can use for both simulator test and device test. Do I have to build two library in simulator mode and device mode? Is there any way to build a single one that can be used for both platforms?
...
Hi!I am new in the iphone Development.I want some useful blogs,pdf files,urls,Tutorials address etc..whatever gives me the information about iphone Development hints.please give me some reference regarding iphone Development...Thanks in Advance...
...
This is Cocoa Touch (et al), iPhone, XCode only.
After completing my first commercial iPhone app, I'm struggling a bit to find a way to start and expand an app from scratch which gives the most linear development (i.e., the least scrapping, re-write or re-organization of code, classes and resources) as app specs change and I learn more...
Hello everyone
I used codes below to move an UITableCell
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
NSMyObj *newObj=[myArray objectAtIndex:[fromIndexPath row]] ;//myArray is the array to store NSMyObj
[myArray removeObjectAtIndex:[fromIn...
How to select only video file using pickerview in iphone sdk?
...
I tried to build my (cocos2d 0.99.0-based) project with iPhone SDK 4 GM which was just released today. The reason is because I want to incorporate iAds in my apps. However I got 20 error messages which looks like errors in library calling. Can anyone tell me whether we can actually use cocos2d 0.99.0? I'm aware that 99.3 was released but...
i created a distribution profile of my application,installed and tested it on my iphone and uploaded the binary to app store...due to some usual reasons apple rejected it and asked me to make a few changes...meanwhile i deleted the application from my iphone...now when i reinstall it says valid provisioning profile is not present so will...
I was reading that doing so will trigger KVC notifications. But how exactly does that look like? What does that mean?
...
How can I cast a NSString* into a char?
EDIT:
Thanks to Vladimir for getting me there!
NSString *myString = @"HelloWorld";
const char *stringAsChar = [myString cStringUsingEncoding:[NSString defaultCStringEncoding]];
Hope this helps someone in the future!
...
- (void)setFirstName:(NSString*)firstNameValue {
[self willChangeValueForKey:@"firstName"];
[firstName release];
firstName = firstNameValue;
[firstName retain];
[self didChangeValueForKey:@"firstName"];
}
Is that right? So the willChange... foobar didChange... block causes an KVO notification to fire?
...
hi,my real problem that i want to make my UIpagecontrol 's postion higher than an UISegementedControl that i use in my view but this wasn't possible for me ,because even i custom this by the IB always my UIPageControl appear in the foot of my view .
So i used to make it in the ScrollView but it doesn't appear!
how should i proceed ? No...
Hi,
I have displayed UIButton on top of Playing Movie using this code.
NSArray *windows = [[UIApplication sharedApplication] windows];
if ([windows count] > 1)
{
// Locate the movie player window
UIWindow *moviePlayerWindow = [[UIApplication sharedApplication] keyWindow];
// Add our overlay view to the movie player's subview...
i want to make a compass bearing in iphone. like there will be a circle in the corner and it will have 'v' shape drawn inside. so when i start my camera and move than i shlould see the markers... but my first question is
a) how to make that circle in the corner whose center will be my current location. so now if i find any point at part...
Hi !
I have implemented a subview which is supposed to load immediately when I click a button in the parent view. After loading the subview(which is basically holding an activityindicator), the program is supposed to process a method(which gets data from a server, so takes time) in it.
However, I am unable to do it.
What happens now i...
I am using UIImagePickerController that gives user to be able select an existing photo or use the camera to take an image at that time. And i can show that image in my application with UIImageView.
Now i want to use this ability for movies also. But i couldn't find any way to show the selected movie as an image in my app, just like the ...
I am developing 2D game for iphone in Objectice-C.In this project I need to use stack, I can do it using STL(Standard template library) stacks or NSMutableArray, since this stack is widely used in the game which one is more efficient in terms of runtime speed and memory use?
@interface CarElement : NSObject
{
std::stack<myElement*> *m...
Is there documentation on what Apple will accept and not accept when submitting an app, or is it trial and error?
...
We're looking for a solution to keep thousands of html/image assets inside a .zip archive, and decompressing single files on-demand as a local web server needs access? More than a couple hundred files or so on the iPhone OS file system absolute kills the backup process, and is probably not advisable for the flash disk either.
Solutions ...
Hi all,
How to convert an NSDate into Unix timestamp? I've read many posts which do the reverse. But I'm not finding anything related to my question.
Thanx in advance.
...
Can we get information of all customers like customer's name, customer's email or other information related with customer who have purchased our application from app store ???
...