I am using UINavController to push and pop between viewcontrollers. However when I push and pop the animation is not smooth. The navbar backbutton transition happens first and then the view and its title. This lapse in timing makes it look as if a block appears between two views. I am not doing anything fancy and I commented out code fro...
my iphone app builds fine in debug configuration, but when i change it to release, i get hundreds of errors, starting with "CoreServices/CoreServices.h: No such file or directory" in AudioFileComponent.h - part of the AudioToolbox framework.
i can't find where in the project/build settings is responsible for this.. thanks for any help.
...
How can I get a non-rectangular shaped button?
For example I do have a PNG image with alpha transparency.
How can I set the shape of a button to this image without the transparent color.
...
I have gone through the following question.
http://stackoverflow.com/questions/1528696/objective-c-where-do-you-dealloc-global-static-variables
But the question is related on static variables. It has something different situation then mine.
I have following code in application.
//.h file
#import "cocos2d.h"
#import "something.h"
#imp...
Hello,
I have 2 applications that I use with Aquatic Prime. One is an application just with the Aquatic Prime framework, and the other is an application that I've been working on that has been incorporated with the Aquatic Prime framework. The first application I mentioned before has its SDK set to 10.5 with the architecture to 32-bit. ...
Hi,
I've started programming on Mac OS X in Objective-C and decided to create a little card game. At first I create a command line version. If everything works fine I would like to implement a GUI: Nothing big, just a green window with cards which can be dragged and dropped.
Since I don't have any idea about how to do this: What can I ...
I want to change the sprite image.
Say for example.
mainSprite=[Sprite spriteWithFile:@"redFile.png"];
[self addChild:mainSprite];
Here, Sprite is already added to a layer.
I have mainSprite (pointer) which can access it.
If I change
[mainSprite setOpacity:150];
it works perfectly. But Here I want to change the sprite image inst...
AFAICS, any serious iPhone developer must make and use static libs on a regular basis, or else condemn themselves to buggy, hard-to-maintain, unwieldy projects. But Apple refuses to provide any official docs on the process (just circular references: "dont do static, use dynamic! ... we don't allow dynamic on iPhone, use static!")
I have...
I have two projects
- one with a static library target and a unit test target
- one with an application target that is dependent on the static library and it's own unit test target
In the static library project, I can only do a 'Build' or 'Build and Analyze'. If I build the unit test target, the tests are run, but there does not seem t...
With takePicture, the camera captures an image (click), however I it does not call the imagePickerController:didFinishPickingMediaWithInfo: method. So how do we access the image?
...
I just upgraded to snow leopard and updated Xcode to the 3.2. I have the iPhone 3.1 library documentation, but I don't see anything for 2.2.1 anywhere. In the previous Xcode there was the possibility of subscribing to different documentation, but I don't see it anymore. Is it possible to install it?
...
i have a view with one slider and a label.i am showing a countdown on label and setting time on label using slider.now suppose i have started the timer so the label's value is decreasing every minute and slider's value is also decreasing.now i want that if i close my app and then reopen the timer should be already running+label's value i...
For testing the capabilities of an animation class I have created 5000 fullscreen images with 100kb size each. I added just 1000 of them to my project and Xcode is already building for 30 minutes now. The next time it would be nice if Xcode just uses the already alpha-premultiplied images from a previous build instead of stupidedly rebui...
Since new Xcode 3.2 I find it very hard to add Quartz Core Framework. It does not appear in the list. Previously I just typed in Quartz and some QuartzCore.framework thing popped up. Finder is so bad it does not find any *.framework file on the mac so now the big question is: Where is it hidden?
...
i am animating a button using core animation now on a certain condition i want to stop that animation how do i stop the animation?
here is the method to animate the button
-(void)animateButton:(UIButton *)btnName
{
CABasicAnimation *pulseAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale"];
pulseAnimation.duration = ....
is there a way to use core location or google or some other api to provide two points on the map and get the resulting set of latitude/longitude pairs for the route?
i have seen in this tutorial Drawing polyines or routes on a MKMapView that how to draw driving direction using core graphics...but in the sample code it has route.csv whic...
I'm getting a bit more seasoned with my iPhone development but I still don't know everything. One thing that bugs the hell out of me is having to add properties to a class, because there are four steps involved:
Add a class member to the Header file
Add the property definition to the Header file
Add a synthesize declaration to the impl...
After having installed the iPhone SDK 3.1.2, Interface Builder is not in sync with Xcode anymore. The light indicator at the bottom of the XIB window is grey. IB doesn't see any files from the Xcode project. Xcode is always open when I start IB.
I tried rebooting. No luck.
I tried removing the preferences files for Xcode/IB. No luc...
I am trying to make put together a simple application to control the phone services such as WiFi, Bluetooth, 3G, etc. using PrivateFrameworks or low-level API's. I am able to build the device and SSH it to my device without a dev account, and I have the include-2.1.SDK headers, but I am looking or some help in adding these PrivateFramew...
I have a RootViewController class and a UserSettingsController class. I have defined the UITableView methods (numberOfRowsInSection, cellForRowAtIndexPath) in the RootViewController class.
I want to reload the table view defined in the RootViewController class from the UserSettingsController class. How can I get control of the tableVie...