I want store a URL against a UILabel so that when a user touches the label it takes them to that URL in a UIWebView.
I have declared a NSDictionary like so:
NSMutableArray *linksArray = [[NSMutableArray alloc] init];
[linksArray addObject: [NSValue valueWithNonretainedObject: newsItem1ReadMoreLabel]];
[linksArray addObject: [NSValue va...
I'm just getting started with iPhone development, and I'd like to be able to create custom user interface elements that you can drag-and-drop into the application in Interface Builder. How do you create custom plugins like this for Interface Builder for the iPhone?
...
I've got some settings saved in my Settings.bundle, and I try to use them in application:didFinishLaunchingWithOptions, but on a first run on the simulator accessing objects by key always returns nil (or 0 in the case of ints). Once I go to the settings screen and then exit, they work fine for every run thereafter.
What's going on? Is...
I have figured out how all of the StoreKit stuff works and have actually tested working code... however, I have a problem.
I made my "store" layer/scene the SKProductsRequestDelegate. Is this the correct thing to do? I get the initial product info like so:
SKProductsRequest *productRequest = [[SKProductsRequest alloc] initWithProduct...
According to Instruments 'Net Bytes' of my app are never more than 2MB yet sometimes I receive memory warning and the app crashes because some views on the stack are unloaded by force.
I'd like to know what is the typical memory footprint where system would not send you memory warning and unload the views ?
I have so far tried this on ...
hello all,
I m making an app which requires remote databse connection. I want the values in picker from database but when I click on button to invoke picker it takes some time to fetch the values and displaying. Is there any way to do it fast?
and also is there any way to reduce the time of transition between 2 views?
Thanx
...
hi guys,
i am writing a little music-game for the iphone. I am almost done, this is the only issue which keeps me from rolling it out. any help to solve this is much appreciated.
this is what i do:
at my appDelegate I add my menu-view-screen to the window. the menu-view-screen acts as a container and controls which view gets presented ...
HI Guys,
Sorry if this has been answered elsewhere but I can't seem to get it to work.
I have 3 UIViews, layered on top of one large uiview. I want to know if the user touches the top one and not care about the other ones. I will have a couple of buttons in the second UIView and a UITable in the 3rd UIView.
Problem is I turn userInte...
I have problem ..
i get debugerror i will used in json
2009-02-13 18:32:17.405 xxxxxxxx[1491:20b] * -[NsDecimalNumber length]:
unrecognized selector sent to instance 0xc3f10ff0
2009-02-13 18:32:17.406 xxxxxxxx[1491:20b] Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '** -[NsDecimalNumber length
]: unre...
I know this question has been posed several times, but my goal is slightly different with regard to what I have found searching the web. Specifically, I am already able to build a static library for iPhone, but the final fat file I am able to build only contains arm and i386 architectures (and I am not sure to what arm refers: is v6 or v...
hi. i am trying to dynamically add a UIbutton as a subview to UIlable. but i am not able to click the button. it seems that the lable doesnt allow the buttonTapped event to occur. can somebody explain what exactly is happening here. and can anybody give me an alternative for this. thnx
...
Hi
I have project, this contains header files like.
#import "Three20/TTButton.h"
#import "Three20/TTStyle.h"
#import "Three20/TTStyleSheet.h"
#import "Three20/TTView.h"
#import "Three20/TTShape.h"
but i am getting no such file, directory error.
But i can see those TTButton.h,TTStyle.h... are inside the Three20 Folder.
Please Help me...
Hi,
I want to write a simple text editor for iPhone with syntax highlighting support for c,c++.
But the problem is, I dont't know how to do this. The first solution I was thinking about, was to go over the text and highlight keywords when the value of the UITextView has changed, but I think that if I got more than 1000lines of code that ...
I am going create a new xib which is very similar to an existing one. Instead on of crate an blank new one, copy UI elements and viewcontroller IOOutlets; is there a quick way to clone a xib with corresponding new viewcontroller class?
Thanks
...
Hello all,
In my current application I want to show a songs list in table view which is pretty easy but on selection of one of the songs it should be played in any existing audio player in iPhone .
How can I do so .
Provide me if anyone have good tutorial or example link
...
Does anyone know if there is an open source MIDI player / synthesizer library that I can incorporate into my iPhone application?
...
I am new to iphone development.I have a view called barView which is added as the subview to the cell, if want to check for the condition like this
if(cell has a subview barview)
{
do something.......
}else
{
do something......
}
How can i check like this, please help me out.Thanks.
...
I am new to iphone development.I am parsing a xml and display the title,date,contents and image in the cell,Now the scrolling is not smooth, it struck.How can i increase it.I have already applied lazy loading in another view, i am not able to apply in the new view.So how can i increase the scrolling performance.Can i check for any condit...
i like to drag this object vertically instead of horizontally, which is doin it now:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches] anyObject];
CGPoint location = [touch locationInView:touch.view];
if (CGRectContainsPoint(myObject.frame, location)){
CGPoint xLocati...
I've been working on a Cook Book App and I've been making each page individually which takes a really long time to do, I asked a question similar to this and it was brought to my attention that you can setup a way to automate the design process so all you need to do is input your data.
Can someone please explain in as much detail as pos...