Is there an obvious way to make a text input box that has rounded edges?
I'm not talking about setting a UITextField's borderStyle to UITextBorderStyleRoundedRect. That only gives me rounded corners.
I'm talking about the style text field used as input in the SMS app (before you hit send), or the UISearchBar. I've also seen it used in ...
For example I have this CAKeyFrameAnimation:
CALayer* theLayer = myView.layer;
CAKeyframeAnimation* animation;
animation = [CAKeyframeAnimation animationWithKeyPath:@"transform.rotation.z"];
animation.duration = 1.6;
//animation.cumulative = YES;
animation.repeatCount = 1;
animation.removedOnCompletion = NO;
...
I am new to iphone development.I want to insert certain data into my database and retrieve it
and display it in a table.I have created Database data.sqlite with table 'user' .The table has two values id(varchar) and name(varchar).I have inserted 3 rows of data in table via "insert into user value('1','xxxx');" in terminal window.I have...
Hey folks,
I am currently developing an app where I have kind of a main view with lots of subviews. Now I have two specific subviews and I want only one of them to be "touchable" at once. So both should be able to response to a touch event but it should not be able that both respond simultaneously. Since I have other subview which shoul...
I try to do this: There is an view which has been rotated already to some value, lets say 15 degrees.
Imagine a view rotated by 15 degrees.
Next, I only know, that I want this view to rotate from it's current rotation to 40 degrees.
Imagine how that view now rotates from 15 to 40 degrees.
For practice, I want to do that with CAKeyFr...
There are two views:
viewA and viewB. Both are rotated.
The coordinate system for rotation is weird: It goes from 0 to 179,999999 or -179,99999 degrees. So essentially 179,99999 and -179,99999 are very close together!
I want to calculate how much degrees or radians are between these rotations.
For example:
viewA is rotated at 20 de...
Hi,
Im working off the seismic xml iphone example.
In that example there is simply the application delegate which has a rootViewController of type UITableViewController.
I wanted to modify it slightly so that I would have a navigationController and use its rootViewController as the table view. My root view controller class for my naviga...
I have a Core Data iPhone app that displays Subscription entities where any of its items are not read. In other words, I construct a predicate like this:
[NSPredicate predicateWithFormat:@"ANY items.read == NO"]
While this works for the initial fetch, it doesn't affect Subscription entities when I modify an Item, so the NSFetchedResul...
Hi,
I am working on an application where I want the view to change quite a lot when the device is rotated. I know that in Interface Builder it is possible to change the orientation and set up the layout there, however when I then rotate it to portrait, the view is the same as for the landscape. Is there a way to set up the two views inde...
Hi,
in a class i'm writing i'll most likely have to use NSXMLParser twice to parse two different xml's, and i'm wondering which approach should i use?
- release the parser after it finished parsing url and reinitialize when need to parse the second url?
- use different class as delegate for parsing other url?
- or something else?
thanks...
Hello all!
I have a problem, I can't solve properly.
In short: I want to create a single view (say: UIImageView) out of multiple subviews - i.e. it consists out of multiple ImageViews and TextViews. The thing is, I want to sort of 'render' them to be a single View.
Say, I take an image, add some description below, add a title above,...
hi!
Supos i have two coordinates on a MapView.
Hoe can i calculate the angle relative to the north between those two positions?
Thanks
...
How to get the filename from a given UIImage object?
...
Hi
Im working on a web service that return xml data with tag and The text coming from webserver is like THIS IS "COOL" EXAMPLE.
But I'm getting output only EXAMPLE. I think that inverted double comma's are causing problem. Please help me to solve this problem.
Can some one please suggest me how to parse special characters in xml ...
Strange thing happened: My old 2.2.1 version iPod works perfectly with Xcode. Now I got a new one with 3.1.2 installed. Xcode complains that it can't develop for 3.1.2, but instead it can do so for:
Xcode Supported iPhone OS Versions
3.1.1 (7C145)
3.1 (7C144)
3.0.1 (7A400)
3.0
2.2.1
2.2
2.1.1
2.1
2.0.2 (5C1)
2.0.1 (5B108)
2.0 (5A347)
2....
Hello,
I have a little problem with the WOsclib. Not particularly with the library, it's more the callback function. The listen to specific osc commands i have to put up some callback method like
void TheOscStartMethod::Method(
const WOscMessage *message,
const WOscTimeTag& when,
...
So I am creating a web browser for iPhone for my class and I am having an issue where whenever I submit a form-like thing from a website, it doesn't update my address bar text (which is a UITextfield). As an example, if I go to google.com on my browser and so a search for something in the search field and hit submit, it loads a new page...
How can I store a UIImage in an NSDictionary?
...
Did anyone else encounter this problem?
I have a 300 x 300 pixel view. When I rotate this with core animation, the view not only rotates but also "pulses" in and out with a scaling effect. Hard to describe. But it's very, very ugly. Trust me.
The "scale pulse" happens occasionally, but especially when the animated rotation delta is not...
The Situation:
Somewhere in my app I start downloading data from my server. Before downloading starts, I would like to update a UILabel to say @"Now Downloading...". And set it back to blank when downloading is over.
The Problem: It seems like the download takes up all of the computers attention, and the UILabel never gets updated unt...