While I've used UIScrollView successfully in the past by manipulating it programmatically, I'm having trouble getting it to work by setting it up exclusively in Interface Builder.
I have a simple "about" page in my iPhone app. It has a UITextView, some icons, and links to my other apps. I have added all of these views to my UIScroll...
I have a class with an instance variable of type SEL, which is a reference to a selector. Inside encodeWithCoder/initWithCoder, how do I encode/decode this type of variable?
...
Here is my code.
- (void) connectionDidFinishLoading: (NSURLConnection *) connection
{
//Each connection has its own "downloadedData".
BOOL writeFlag = [downloadedData writeToFile: filePath atomically: YES];
}
I have multiple NSURLConnections at the same time.Each connection corresponds to one download item.App crashes when m...
I created a simple test app with an image (as well as a button with an image) and it runs fine in the simulator. But when uploading to the iPod, none of the images appear. The button appears but with no image.
A few things worth mentioning:
- Today's massive achievement was making it beyond the code signing errors and so I have not ...
I have created sample code in iphone and its work fine , When i was working in normal speed..
When i work fast or click the uibutton many times faster that app get crashed or hanged...
In that log
[Session started at 2009-07-16 01:08:01 -0400.]
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009)
Copyright 20...
Is it possible to have a small UITable in a view, where when you click a cell, the small table is transitioned to the detail level? I currently have it so that the whole screen slides to the detail level.
thanks
...
I am currently using the following algorithm to search on my iPhone app:
NSRange range = [entry.englishEntry rangeOfString:searchText options:NSCaseInsensitiveSearch];
if(range.location != NSNotFound)
{
[self.filteredListContent addObject:entry];
}
The problem is that when I search for a word like 'crap' I also get resu...
i am trying to calculate the distance between the statringpoint which hold the initial value of location and the newlocation using the following code but i am getting null in distance. can anyone help me out with this
CLLocationDistance distance = [newLocation getDistanceFrom:startingPoint];
...
I have a UIView that I am trying to render into a UIImage using [CALayer renderInContext:]. However, I find that the resultant image is flipped vertically. I kind of expect this due to the different coordinate systems. However, I then try and flip the context back to normal with an affine transform - but it doesn't have any effect:
CGAf...
I want to clip a rectangle from cgpath with the following code. I don't get any output. What's wrong?
CGContextRef context = UIGraphicsGetCurrentContext();
CGMutablePathRef thePath = CGPathCreateMutable();
CGPathMoveToPoint(thePath,NULL,(self.x1),(self.y1));
CGPathAddLineToPoint(thePath,NULL,(self.x2),(self.y2));
CGP...
In the developer center there are two different downloads for the SDK, one for Leopard and one for Snow Leopard. Which do I download?
Also do I have to download a separate copy of xcode as well or is it part of the download?
Thank you.
...
The problem of limiting strings that are directly entered into a UITextView or UITextField has been addressed on SO before:
iPhone SDK: Set Max Character length TextField
iPhone sdk 3.0 issue
However now with OS 3.0 copy-and-paste becomes an issue, as the solutions in the above SO questions don’t prevent pasting additional characters...
Hello friends
i am new to iphone/obj C programming and started few weeks back. I've a question about scrolling. If someone can answer with sample code it would be very helpful.
Problem:
I've a TableViewController with three rows (custom cells [UITableViewCell]), first two rows are same with one Text Field while third row is with UITex...
how can i give the color HEXCOLOR(0xe3f3fbff) in CGContextSetRGBFillColor?
...
Hi,
I have made an application in which I have four tab bars. I have used the below code to go to the second view in a button's click method. It goes to the second view but the second view is not showing with tab bars. How can I fix this?
- (IBAction)Existinguser:(id)sender
{
ExistingUserViewController *existingUserViewController =
...
i follow the following steps to install and configure clang static analyser.but still i could not run scan-build command in project directory can anyone can give correct tutorial to set path and also run scan-build command.terminal shows "scan-build command not found" the steps i followed:
Installation: Navigate to http://clang.llvm.org...
I have looked everywhere but couldn't find it anywhere. I installed it successfully but I don't know where it is installed. Shouldn't it show up at the "start menu"?
I know how to use pc, but this is my new mac mini and I searched the web for tutorials and basic info which doesn't seem to be easily found.
Thank you.
...
Hi, i want to add image into initWithActivityIndicatorStyle instead of using the others like
UIActivityIndicatorViewStyleWhiteLarge. So, when come to loading page, the image will act as
image loading.
Any help, i am truly appreciate it . ^^
Thanks
...
What free upnp library would you recommend for iPhone development? It has to support control point features and allow to serve files off from iPhone.
...
Im getting an error "not an error" on iPhone SDK, I spent a whole day trying to resolve it. SQLite version 3.4.0
sqlite3_step(compiledStatement)
The table I'm using in the query has only one row. It returns 100..?
sqlite3_errmsg( database )
This line gives me the above error.
I've created a database and tables in it with terminal ...