Sometimes I need instantiate CoreDateEntity to store some infomations for temporarily using.
But I needn't it be stored into DB.
currently I created a similar class which have same structures as the CoreDateEntity does.
It works well but I have to do many datas transfer between Two models.
Is there any better way to handle this?
Tha...
I want to update an existing App in the App Store, but the profile I used expired (I'm not sure, if it has something to do with the corresponding certificate which also expired..). Since Apple tells me in the How-Tos:
Use the same Distribution Provisioning
Profile to build each new version of
your application
I don't know, what to d...
Hello, newbie to iPhone game development and Box2D here.
I'm developing a game in which I can move (drag) otherwise stationary objects that can collide with other objects.
How do I make these objects stationary in a Box2D world with gravity while maintaining their ability to collide with dynamic bodies?
One random thought is to exert ...
Hi,
I got a MainViewController who has addes a SubViewController.
In the SubViewController there another SubSubViewController who has image inside witch will be clicked sometimes.
When touchesBegan dispatch the delegate of SubSubViewController is getting called.
Now i need this.
[mainViewController method] inside the SubSubViewContr...
SBJsonParser *parser = [[SBJsonParser alloc] init];
NSMutableArray *componenti = [parser
objectWithString:@"[\"Item1\",\"Item2\"]"];
NSAssert([componenti isMemberOfClass:[NSMutableArray class]],@"err");
This code gives me an assertion failed. What is wrong?
The header file says:
@brief The JSON parser c...
Hi , i have a weird problem in my application. I am trying to play video on iphone after pressing a button in the UI.My problem is that it is played as audio only . and media player doesn't show up , i just hear the sound.
Below is the code of the methods i use to play video.
-(void) playMovieAtURL: (NSURL*) theURL {
MPMoviePlayerCont...
Hi,
I have a OS3.1 project which now needs to be upgraded via SDK 4.0 But when I try to compile to a device runing 3.1 Im getting this linker error.
dyld: Symbol not found: _OBJC_CLASS_$_NSURL
Referenced from: /var/mobile/Applications/E93D0DD1-18EB-4D2E-B99E-23B74EBE42CC/RacingUK.app/RacingUK
Expected in: /System/Library/Frameworks...
Hi,
I have a wheel image in the centre of my iPhone application which rotates. On top of that I put an UIImageView but I do not want this to rotate. Unfortunately it is rotating as well. How can I stop this image from moving as well please?
Thanks
...
(
{
dateVal = "nov 26, 2010";
price = "1 - 195 kr";
},
{
dateVal = "nov 26, 2010";
price = "425 - 485 kr";
},
{
dateVal = "nov 26, 2010";
price = "415 - 640 kr";
})
How can i extract this NSMutableDictionay?
Help me!
...
I have a UITableView that has a subview UISearchBar attached via the Interface Builder. When - (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar is called, I set searchBar.showsScopeBar = YES and call [searchBar sizeToFit] to actually show the scope bar of the search bar.
The problem is, that the first cell of my table view g...
Hi, using sdk 4.1. I'm getting growing memory footprint followed by crash (observed in Instruments) when loading a thumbnail image into imageview in table view cell. In addition scrolling is very jerky even with just 7-8 cells
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *...
I'm using the Kal calendar. For the code shown below I'm referring to the Holiday example. In this example the allocation and initialization of Kal is done in the applicationDidFinishLaunching in the AppDelegate. The UITableViewDelegate protocol (e.g. didSelectRowAtIndexPath) is also positioned in the AppDelegate class.
The AppDelegate:...
I'll appreciate if anyone can explain the logic behind protocol inheritance. e.g. what does the following mean (UITableView.h):
@protocol UITableViewDelegate<NSObject, UIScrollViewDelegate>
The following class implementation doesn't work. I have a class View1 (which inherits UIView), with an associated protocol. I have another class,...
Hi All,
Can i save recorded audio file in to iPod application in iPhone.
Thank You
...
Dear all,
I'm new to mobile phones development, but I wonder whether there is any way to develop native apps (HTML-based apps is another story) that would run both on Android and iPhone? I know that there exist applications available for both OSs, so I wonder how are they ported/developed for both targets?
...
I have loaded google map application in iphone . I am using UIWebView Control in that Control i loaded google maps like following
UIWebView *webView;
NSString *url = [NSString stringWithFormat: @"http://maps.google.com/maps?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA"];
NSURL *aURL = [NSURL URLWithString:url];
webView.backgroundColor...
After a user tries to send some "in app" email from my iPhone app... I'd like to inform them of what happened.
I put some code like this in my "didFinishWithResult" method:
if(result == MFMailComposeResultSent ) NSLog(@"Email sent");
if(result == MFMailComposeResultCancelled) NSLog(@"Email cancelled");
if(result == MFMailComposeR...
Hi i am creating a band application for my friend.
I would like to show all their tracks in a album, but how do i get this pre-listen player into my app?
Is there a way i could connect to itunes to do that? Or whats the best plan..
Thanks,
Michiel
...
Hi
I have this code, what am I doing wrong?
I have a function which I call playing a number of strings into an array. Then at some point I want to reload it after the user has edited the strings. This is the function:
NSMutableArray *lessonsFunc(id a, id b, id c, id d, id e, id f){
monData *mon = [monData sharedData];
return [...
Hello,
Do I need to buy Iphone to develop Iphone applications on MacBook Pro? Or is Iphone SDK for the job?
Thanks.
...