How to calculate UILabel width based on text length?
I want to display an image next to a UILabel, however UILabel has variable text length, so I don't know where to place the image. How can I accomplish this? ...
I want to display an image next to a UILabel, however UILabel has variable text length, so I don't know where to place the image. How can I accomplish this? ...
Looking on-line I saw that I can write most of the application in Ansi-C code or as a website and present it in a webView control. Then besides some general knowledge about iOS and the API... Do I really need to learn Objective C? ...
Is there a way to access the value of a variable of another class in the iphone whithout using the delegate? ...
Hi, How would I make an option in Settings.bundle which allows the user to select what type of textfield preference they would like? Example: selecting if they want autocompletion on or off. Thanks ...
Hi, everyone, I want to ask some question about the objective C. I want to read some simple game in the iPhone, but I don't have any experience on the game program. Can anyone suggest some website or tutorial for me to learn about it? Thank you very much. ...
sizeWithFont crashed in multithread,this is the debug info: 1 0x00a0df8e in icu::RuleBasedBreakIterator::handleNext 2 0x00a0daff in icu::RuleBasedBreakIterator::next 3 0x00a0d174 in icu::RuleBasedBreakIterator::following 4 0x35879719 in WebCore::nextBreakablePosition 5 0x3587842a in -[NSString(WebStringDrawing) _web_drawInRect:withFont:...
This is more then likely a very simple question but I am completely stumped by it (and more then a little embarrassed by the situation). I have the following code in a command line utility in xCode: #include <CoreFoundation/CoreFoundation.h> int main (int argc, const char * argv[]) { NSFileManager *filemgr = [NSFileManager defaul...
I am getting the nsMutaryOfDataObject value in the reload function but not getting it in in - (int)numberOfRowsInTableView:(NSTableView *)pTableViewObj... In this function mutablearray is getting nil. I'm unable to understand why. How can this happen? ...
Sorry about this long block of code, but I think it makes sense to include all of it. No matter what I play with, I cannot get my mesh to render fullscreen. The viewport is fullscreen, as is the GL view. Here's what happens: http://img191.imageshack.us/img191/247/screenshot2010082000163.png This is the code that runs in my drawing l...
hi all. I am making an image application. In that I am moving images one by one. I am also showing image thumbnail at the bottom of screen in scroll view. My problem is when I change the image on touch in main image view, the thumbnail image should highlighted. If again changing the main view image the next thumbnail image should be hi...
I have a UIScrollView and a UITableView. the class have implemented . The UIScrollView can scrolling with many pages. When the user scrolling, a new table view will appear, but when I scrolling the table view, the application crash. Is there any UITableView and UIScrollViewDelegate when the UITableView Scrolling? thank you. ...
I'm trying to create an NSSearchField programmatically; however, I don't know how to find the frame height of a standard NSSearchField (a la those in Interface Builder.) Obviously, I could simply copy the height from an NSSearchField entity in IB and call NSMakeFrame with that height, but that feels hackish - what happens when Apple chan...
I found great cocoa calendar control at googlecode — http://code.google.com/p/calendarcontrol/ . Looks great , but unfortunately i can't build sources of example project. I've try resolve dependencies problem with amber.framework for several hours, but no success. Does anyone tried this control? Maybe someone have fully read build&go exa...
hi friends, i made a simple application using view based template.and i put only nslog inside view didload method in viewController file and also inside applicationDidFinishLaunch method (in appDelegate )to checked which class file called first. after the run i got: viewController Run first and then appdelegate ..but i think appdele...
I am really new to objective C, and I want to make a class that is an NSArray of NSDictionary, and then have a method that grabs a random entries. I know how to make that but I don't understand how to make it in the class. What I mean is I thought that you could put the code that declared (or whatever the correct terminology is) the ar...
hi friends, i made a simple application using view based template.and i put only nslog inside view didload method in viewController file and also inside applicationDidFinishLaunch method (in appDelegate )to checked which class file called first. after the run i got: viewController Run first and then appdelegate ..but i think appdele...
hi all, I am developing an application in which i take nsdata and convert it into image an display it in the image view.Now i want to save this data and display it again in imageview. I used nsuserdefaults to save the nsdata and again retreive this data and convert into image and display it in image view.But i am not getting the i...
Hi all, In my application need to support the uploading videos to the YouTube. Is it possible to upload a video to youtube with in the application, If we can guys please help me how to do this. Thanks in advance, Sekhar Bethalam. ...
Hi everyone, I have a little question. Maybe some of you know the app 'Munich my way'. It's an app where you can configurate your own shoe design. They show a shoe where you can tap on each part of the shoe (sole, shoelace and so on) to select it and then choosing a design for the part. My question is how to do that? I mean tapping on a...
I have an instance of NSTextField, e.g. someTextField, for which I will use the number formatter to limit the input to numbers only. The problem comes with the localization combined with the specific keyboard layouts used. I would like to allow both the, say, american and european users to enter their localized decimal separators. As ...