I want to ship static read-only data for use in my Core Data model. The problem is that there are obviously different persistent store types and I don't know if the format of those types is supposed to be opaque or if I'm supposed to be able to construct them by hand.
Right now I just have a plist and it's very small (maybe 30 entries t...
When the app loads, if we want an image to be displayed we use one named Default.png. And I used it for icon too. But are working fine in simulator.
But when I try it in device at both places its blank. Can anyone sort me out of this?
...
I want to fetch images into my application cache in a faster way.
I do a map kinda app by loading at about 25 images at a time in a UIscrollView in which each image takes about 1 second for downloading.
All images are of size 64KB and 256*256 dimensions. I am doing caching, So after the first time when i scroll there will be around 7-8...
Hey getting this error 'control reaches end of non-void function' on the line with the } on it.
what am i doing wrong?
please help
(NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
NSLog(@"Here16");
if (section == 0) {
return @"A";
}
if (section == 1) {
return @"B";
}
if (se...
Hi,
I am a new comer in iphone development.I am developing an application for iphone which needs to select phone number and name from iphone contacts .I used "ABPeoplePickerNavigationController" class to open the contacts view.I need to show some instructions which guides the user to select the phone number when the contacts view opens.I...
Hi all,
I'm debugging slow startup of an iPhone application (Xcode, Objective C++). It's a tabbar-based app with three tabs. All three tabs are loaded in a single NIB - about 20 objects total.
The first round of significant initialization takes place in the viewDidLoad handler of the first tab's view controller. However, it takes abou...
I realize I have to use Xcode to develop for the iphone, but I'm trying to build apps from raw source code generated outside of Xcode.
For example, I would like to "Build and Go" the apple demo "TheElements" (here). (I use this example because it has no .xib files - so Xcode is not needed for the UI).
It works to just unzip and open ...
getting these erros in console
2010-01-07 18:15:19.036 FlagLearner[13310:207] * -[NSCFString objectForKey:]: unrecognized selector sent to instance 0x3814530
2010-01-07 18:15:19.039 FlagLearner[13310:207] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '** -[NSCFString objectForKey:]: unrecognized select...
I have a very big integer value in decimal which i put in NSString , i need to convert to NSString of Bytes value for this big value how can i do it? FYI the length of NSSting is "308"
Please help
Thanks
...
I am doing a game in iphone, suppose to change menu view to the game on touch single player.
when the view change only the interface is shown but everything is not moving. i am suspecting that my codes only manage to call the view but not the game class. Is there anything i can call with other codes that anyone can help?
-(IBAction) dis...
What is the difference between these two?
@property (nonatomic, retain)
@property (nonatomic, copy)
What is the other type like this?
...
Hello,
How can i access NSObject class method?
i have one NSobject class for AudioStreaming where the audio gets start and stops,
when i changing the tab i want to stop that streamer by method define in AudioStreaming class how can this be done.
Thank you.
...
how to add the new cell in tableview after running the program. that mean from the app
i want to add the new cell for new entity like adding the new contact name in table view.
...
Hi,
I use an application with an UINavigationBar, in a part of my application I click on a button to use the the TTThumbViewController (MockPhotoSource), the problem is when I click back on the NavigationBar it seems to add the property of three20 navigationBar to my original NavigationBar.
How can I disable the three20 NavigationBar w...
Hi all,
I just saw an iphone application that enhances the built in "messages" application to send emotions. What this application does is that it extends the functionality of the Keyboard that appears in notes or messages application, and user can send emotion icons as messages. This application doesn't work when the emotions are sent ...
Can one customize the underside color of curling view in a UIViewAnimationTransitionCurlUp animation. The default seems to be gray/white but i needed a different one.
...
I'm thinking of starting a project to make a game, maybe just a simple one, but still a game in 3D for the IPhone.
Though i still have a long way to go, learning objective-C and so on, but a question popped in to my mind while thinking of the 3D gaming world.
Would i benefit from learning OpenGL(PC/Mac) first before doing games for the...
Hi,
I'm just giving it a shot to learn objective C and Cocoa and play
aound with the Google APIs.
I am trying to follow the instructions on the main page to include the
framework within my application but I'm not having much luck.
Would someone be able to provide some instuctions with a bit more
detail?
I would greatly appreciate it.
...
hi all i rotate my UIImage for crop.
when i am rotate my image it just cuts from corners
here my code.
-(UIImage*)imageLeftRotation:(UIImage*) newImage size:(CGSize) imgSize angle:(int) rotateAngle{
UIImage *image = newImage;
CGImageRef imgRef = image.CGImage;
CGFloat width = CGImageGetWidth(imgRef);
CGFloat height = C...
hi,
i am using following code to access properties of local file.
[CODE]
attrs = [fileManager attributesOfItemAtPath:originalFilePath error:NULL];
[/CODE]
is there any similar method by which i can read the attributes of server file?
kindly help me to solve this problem.
thanks in advance.
...