I am having trouble in accessing which is in the UITableViewCell, that i have placed in my main .xib file.
That Label is connected to IBOutlet servicesCell.
And the Label inside the table view cell is connected through IBOutlet serviceLabel.
At runtime i am not getting the text which i am assining to that label.
Following is my sampl...
I have placed code in my App Delegate such that I can transition from one view controller to another.
However when I press the button, the transition to my SecondViewController is not made. How should I go about doing this? any simple way to bring next view controller,(pushview controller)...
Here is my code:
SecondViewController *aSe...
Hi,
In my application i am going to use pushNotification. So in that case how can i use device tokens in different ways?
Let me elaborate more on this side.
Whenever i run my application at that time Device token will be generated,if i go for running the application again and again in the same device than it will generate the same dev...
I have created a web application and now I want to create an iPhone version of it. As a first step, I want to login a user using his username and password. I have a simple login page with fields for username and password. Now I want to send these credentials onto my site (lets say, www.abc.com/login) and authenticate whether the username...
I have a view which is similar to mail app. I have a scroll view and in that many other subviews. When the user clicks on any textview, it expands to show the text in it. e.g. "to" field in mail. I would want to resize the other subviews such that it starts below the expanded region. How can I do that.
I created the view through IB and...
I don't use IB much for creating my views, so I usually do everything programatically. I'm bascially pushing a viewController to a navigation controller and it seems the top part of the viewController is under the navigation bar. I'm trying to make the view fit correctly.
Here is my code:
navigationController = [[UINavigationControlle...
Currently I am using NSMutableArray as a property. However I am also using opengl and for performance purposes I want to use malloc to create an a pointer to the int array and have this as the property.
How would I do this in objective c and still make sure that my memory is safe? Perhaps this is not even a safe thing to do in objecti...
Hi guys, I've pretty much added a lot to my CustomCell, its working great.
However, theres one thing i cant work out..
My requirement is, for a grouped TableView, On tapping a single UITableViewCell, it should expand below, kinda animate and extend below and show more information in that cell.
On tapping an already expanded cell, it s...
Hi,
I have two version of apps with lite and paid. I have another apps also but no one is approved yet. I want to give my all the apps link in my life version and all the apps are not approved yet.
So how can i give apps store link in my apps for another apps which are not approved yet.
Please anyone have idea?.
Thanks.
...
Hi there,
I have added the iPhone's Tock sound to my own custom keyboard like this:
NSString *path = [[NSBundle bundleWithIdentifier:@"com.apple.UIKit"] pathForResource:@"Tock" ofType:@"aiff"];
SystemSoundID soundID;
AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:path], &soundID);
AudioServicesPlaySystemSound(soundID...
I have a view controller (A) that loads a view controller (B) and uses it's view in my view heirarchy. If I add B's view to A's view heirarchy, and I don't manually forward events like viewWillAppear, I can't handle them in the B controller. (From the viewWillAppear: docs)
Warning: If the view belonging to a
view controller is ad...
The Switch button by default is in the OFF state. When the user selects the ON state a modal view will display. This is what I have to invoke the process but its not working. Please help. I have this set up in a nib but I can also do it programatically just want the darn thing to work...Thanks!
MyViewController.h
- (IBAction)offSwitchC...
In Xcode I run the program I wrote with the leaks instrument
It says leaks are discovered and the total leaked bytes keeps rising.
I look at leaked objects and none of them seem to be from my program.
For example QuartzCore
OpenGLES
libLLVMContainer.dyl
libCoreVMClient.dylib
libGFXShared.dylib
Is it my fault that the program is leaki...
I add a firstView in the AppDelegate :
#import "TestViewAppDelegate.h"
#import "MainViewController.h"
@implementation TestViewAppDelegate
@synthesize window;
@synthesize mainViewController;
- (void)applicationDidFinishLaunching:(UIApplication *)application {
MainViewController *aController = [[MainViewController alloc] initWit...
I'm trying to build an xcode project and run it through the iPhone Simulator via applescript. I'm aware of xcodebuild but it doesn't let you run the app in the simulator. I've gotten pretty close with the script below...
tell application "Xcode"
set targetProject to project of active project document
tell targetProject
set acti...
Hi, I'm experimenting with the sensors of the iPhone. At the moment I visualize the data of the accelerometer by logging it to a file, downloading the file via Xcode and loading the file into my Ruby-Processing app. As I'm playing around a lot this process is getting annoying. It would be cool to have a live stream of the data on the Mac...
Hi
I am an NSURL object which gives me the path of a local file (in documents folder). I want to populate an NSData object with the contents of this file. Tried using dataWithContentsOfURL: but this fails. I know the file exists because the iPhone SDK returns the path.
Can someone please tell me how I can get an NSData object from the ...
A potential customer of mine wants to build an app for the iPhone, which will effectively "reward" the user with points to buy songs at the iTunes Store. Does anyone know if this is possible? If so, could you point out where I might look for how to do so?
Thanks...
...
Hello,
I would like to have a nested animation for my view.
I have one animation stop selector which gets called just fine:
[UIView setAnimationDidStopSelector:@selector(growAnimationDidStop1:finished:context:)];
However INSIDE of this selector I want to do more animation and when done yet another selector to be called:
(void)growAni...
I am trying to run the memory leak program in conjunction with my iphone device. The program says that there are leaks however it doesn't give me details.
GeneralBlock-32 No stack trace available.
How can I set up the leak program so it actually works with my iphone to give detailed information like it does in the simulator.
...