Hi
I would like for my section header to display the sum of the values in my rows.
I therefore implement the:
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
delegate function and place a UILabel in the custom view I build here.
If this were a UITableViewCell I would build the cell if it did ...
I used ot have the 3.x then i forgot to update to 4.0 then yesterday i installed the 4.1 sdk, so now i have the 4.0 missing...
how ca i test if the app works on iphone 4.0, o better , how can i be sure it works on iphone with older sdk?
...
For the UIImage resize I used the following class.
http://iphone.svn.wordpress.org/trunk/UIImage+Resize.m
But I am having issues in some iPhone orientation where I keep the phone in lined with a vertical surface. It does the resize properly but the image is not properly affine transformed. The image orientation is different. I logged t...
This may be a silly question but I haven't found any information on it.
Let's say several of the classes in my program derive from 'MySubView' which is derived from another class, UIViewController.
I would declare it like this:
@interface NewViewController : MySubView {
// code ...
}
@end
In the future the client wants a change,...
Hey you guys :-)
Recently Apple, made an announcement about you now can code in other programming languages. So well i thought nice! Finally i can make iphone apps.. But i can't figure how to code the apps i Ruby.. So i googled - a lot! and did'nt find anything.. so if someone out there know anything.. tell me! :-)!
/Oluf Nielsen
...
An example:
Thanks in advance!
Sagiftw
...
Hi, there are two different textfields in my applications and i set the .delegate property of both of them to: self.
Now i implemented different methods from the uitextfielddelegate protocol but i want to be able to control the two textfields individually. For instance i want the first text field to do something different when editing be...
Hello everyone,
I am drawing on a UIview several other subviews. Then in the DrawRect method of this UIView I am drawing a bezier curve.
UNFORTUNATELY, the bezier curve never shows up. I have checked that the bezier curve is behind the background of the view (when I remove the background view I can see it).
How can I combine custom dr...
I have multiple versions of Xcode installed. I can build my project against older iOS versions by launching old Xcode. But how could I use newer Xcode versions to build against older iOS versions?
In the project settings there's a Base SDK dropdown. It only offers the very latest iOS version for selection.
Under /Developer/Platforms/ t...
Hi,
I have developed a web service application for ios 3.1.3, it was working properly. But now I brought a new mac and installed Xcode 4.1. But the same code is not working in simulator.
Could someone help Please?
Thanks,
Nikil
...
Hi everyone
I am using at my iphone app this code but i can not see the post on my twitter. I am not getting an error back.
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:
[NSURL URLWithString:@"http://username:[email protected]/statuses/update.xml"]
...
Background: I have an image intensive app that was originally made for iPhone and upgraded to iPad using "two device-specific applications." So now, all of my resources are common to both, except the interfaces which are unique to each iPad and iPhone.
Problem: My problem is now I have a set of images that I want to display at the full...
I am building a sort of slide show where the user slides through the images himself via a scrollView with paging enabled. i have a view controller for portrait and a view controller for landscape. The portrait view controller works fine with the "scrollViewDidEndDecelerating" function but i did the same exact thing on the landscape view ...
Help me in reading this dictionary: (its an NSDictionary generated from XMLData)
Menus = {
Table1 = {
Phone = {
text = "\n (404) 371-1466";
};
text = "\n ";
};
text = "\n";
};
}
...
I have a top level UIViewController that contains a UITableView. The top level UIViewController instantiates a NavigationController, and pushes another UIViewController onto the NavigationController. I.E. we push into a new, second view. This second view has the usual "Back" button in the upper left hand corner to allow you to navigat...
Hey
I want to get a list of all contacts of an iPhone.
I checked "Address Book" reference, I may missed something but I didn't see it provides a method to get a list of contacts.
...
I'm just starting to learn iPhone/Object-C programming. Rather than only learn about them after the fact, I'd like to have a sense up front of the open source libraries and frameworks that others make frequent use of. I'm thinking third-party packages, as opposed to pieces of the iPhone developer libraries, which are presumably all docum...
Inside my view, I have a table and an ad banner, all of which are created through Interface Builder. But I noticed that my view.frame.size.height seems to change through the course of execution of my app even though I haven't changed the size.
Can someone explain to me why this is happening?
What I'm doing is moving the ad banner off s...
I am searching this for some time but I never found a solution.
I have a UITableView with custom cells, those cells have an image and I place the labels on it.
The thing is, when I select a cell, the whole cell frame is selected using the default highlight color. I tried changing the style, but if I use cell.selectionStyle = UITableVie...
Hi all,
I've just set up our iPhone / iPad Universal app to support Enterprise Distribution. I've hosted the provisioning profile, the plist file, and the application itself (the IPA file) on our private servers.
Users can go to Safari on their device and download the provisioning profile and it installs itself just fine. They can also...