I have a few buttons I would like to animate.
I have looked at and tried the animateWithDuration method but that seems to be for Views and I couldnt get my implementation to work.
Can this method work for animating buttons too? if not how could it be done?
EDIT
I have the following code
-(void) animate:(UIButton*) b withMonster: (...
Well, i'm a newbie to iphone app.. Can anyone guide me to add a uipagecontrol to my tableview programatically.. i searched many forums but could not find any solution.. can someone help me..??
...
how to get current latitude & longitude
without
(void)locationManager:(CLLocationManager )manager didUpdateToLocation:(CLLocation)newLocation fromLocation:(CLLocation *)oldLocation {..}
using this method
and if i used this function , how much distance i have to travel.... to call this function or can i call this function progra...
I'm having a store locator (tableview) and a map view. Basically I want to easily go back and forth these two without having to worry about memory. The tableview downloads a chunk of data and parses them into the tableview.
Is there a way I can not load the table view's data again? Something like a modal view controller, but pushing it ...
Hi @ll
I want to convert a UIImage object to a CVPixelBufferRef object, but I have absolutly no idea. And I can't find any example code doing anything like this.
Can someone please help me? THX in advance!
C YA
...
Hi,
I want to display so many images in table cells. I knew two methods to show an image.
One is creating an instance to UIImageView and show it
CGRect rect=CGRectMake(x,y,width,height);
UIImageView *image=[[UIImageView alloc]initWithFrame:rect];
[image setImage:[UIImage imageNamed:@"sample.jpg"]];
Another method is,
CGRect rec...
I have a lot of strings looking like this:
@"/News/some news text/"
@"/News/some other news text/"
@"/About/Some about text/"
@"/Abcdefg/Some abcdefg text/some more abcdefg text"
How do I cut out the first part of the strings, so that I end up with the following strings?:
@"/News/"
@"/News/"
@"/About/"
@"/Abcdefg/"
tia
...
Hi
I'm working a bit with local notifications for the iPhone. All well so far and I'm just seeking confirmation about the cancelAllLocalNotifications.
Would it be correct that firing off a cancelAllLocalNotifications would cancel all SCHEDULED notifications ONLY FOR THIS APP?
E.g other (non scheduled) notifications in this app would ...
Edit: Updating post based on Martins comments below
Hello,
I'm just trying to get a date from a string, my code is as follows:
NSString *strStartDateTime = [startTimeArray objectAtIndex:i];
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
NSDate *dtStartDateT...
So I'm trying to make a button that launches the OpenFeint achievements page, but it always makes my app crash.
When I press the button it doesn't instantly crash, first it shows that it is loading the achievements page for about 5 seconds, and then crash.
To launch the achievements page, I use this method:
[OpenFeint launchDashboardWit...
What I want to achieve:
Drawing png files with alpha exactly as it appears originally, without transforming any pixel. This is because the image is very detailed and I don't want to lose any bit of information.
Animating those images by rotating them and moving. No scaling.
Actually I don't want to use any 3rd party libraries like c...
Hi there,
I currently have an iPad application built entirely on Cocos2D and Chipmunk. I want to port my app to the iPhone now.
All I can find are tips on how to rebuilt your app for the iPad.
Is there a simple solution, like for say, scale down your cocos2D scene?
Does anyone have some best practice tips on this?
...
I need to preview my iphone app icons and also need to export these for the web. I remember Apple had a tool that would take a file, apply those effects and then save it. What's the name?
...
Hi, I want to save some images in my server to the iPhone app temporarly.It is one of my applications purpose when the user closes the app the saved images should be deleted.Again when the user starts my application and taps on corresponding button again i need to save the data.I donno how to start it.I know only we can do this with the ...
hi every one,i have a problem,i strucked up with this,i have to read data from soap response with TouchJSON (CJSONDeserializer) , i need to avoid Soap blots(Xml tags) and parse JSon String from the soap response can any help for this
thx in Advance
...
I have a UITextView that is supposed to have one line of text.
The size font is controlled by a slider. As the user controls the slider, I calculate the new UITextView size using (this is the method called by the slider as it moves).
- (void) changeFontSize:(id)sender {
UISlider *slider = (UISlider *)sender;
CGFloat newSize = (...
if (datStartDate > datEndDate) {
This doesn't seem to work. I know theres a isEqual etc, but how do i perform is greater than ?
There are both NSDate
...
I'm trying to find a class or a tutorial so I can create a radar diagram (spider diagram) for my iphone and iPad app. Is there anything you guys know of? I've found some classes on google.code and github but these don't contain the spider diagram I require.
any ideas? (I am open to the idea I may have to write my own class - but I've no...
This is the code I'm using to select some records from my database. I'm binding two dates into my sql, however, when I get to sqlite3_step I get SQLITE_DONE where I should be getting SQLITE_ROW. It looks like its processing the bindings rather than querying the data.
What am I doing wrong ?
NSString *startDateRangeString = @"2000-05-01...
Hi,
I am using http://www.chaosinmotion.com/flowcover.m and would like to know how I may display a label for each image when it is displayed in the flowcover (the current image)
Thanks,
:)
...