Hi Buddies,
I have created 10 buttons programmatically and set the titles in the button. Now i want to increase the button frame size dynamically,its depends on the text.
I given some conditions and set the frame size. but how can i set the exact frame size depends on the text(get the text dynamically).
Here my sample code is,
f...
Hello,
Is it possible to use Code::Blocks to develop for iPhone? I mean if I may include the necessary frameworks, do remote debugging, etc. I never used Code::Blocks but it seems a good choice for multiplatform development. I saw that it easy to integrate gcc in the IDE on Windows(it also has a setup with mingw).
Thanks!
...
This is my code:
ABAddressBookRef _addressBookRef = ABAddressBookCreate ();
NSArray* allPeople = (NSArray *)ABAddressBookCopyArrayOfAllPeople(_addressBookRef);
NSMutableArray* _allItems = [[NSMutableArray alloc] initWithCapacity:[allPeople count]]; // capacity is only a rough guess, but better than nothing
for (id record i...
I'm trying to create an iphone app which grabs a JSON string, parses it and displays a list of items in at table view.
I'm also attempting to use an Model-View-Controller (MVC) architecture for my project.
My question is in 2 parts:
1) How do I structure my different files to conform to this standard (MVC) ?
2) (more general) I've be...
hey.
When I am clicking URL link on TTStyleTextLabel, it doesn't push a new page.
But when I looked at the TTCatalog, they don't have any method in the styledtexttestcontroller which seem to open up the webpage.
So how does TTCatalog do that?
How can I do that?
...
I have a Triangle class. Each Triangle has three edges a, b, and c, and also three angles angleA, angleB, and angleC. In addition to the size (length or angle), each datum also stores whether it was entered by the user or was calculated based on geometric relationships to other data.
Corresponding to my Triangle class, I have a Triang...
Hi All, Ive applied for the IPhone App developer license over a week ago but still havent heard anything back from apple as of yet.
Im quite deep into the development of my application and am wondering if there is a way i can deploy it to a device for testing in the meantime (while waiting for apple to get back to me)?
I cant jailbrea...
I have several view which I show and dismiss, but it is visible when a view moves onto screen and is dismissed from the screen.
How do I set it to just appear without any animation?
I have tries the animation:NO, it doesnt change anything.
Are there special calls for different animation types?
...
I've got a very stupid problem. I have a TableView where I'd like to make each cell editable by pushing into a DetailController. It's working so far, but when I do
NSLog(@"selectedItem: %@", selectedItem_);
in viewDidLoad, the log displays:
selectedItem: (null)
selectedItem: Toe
RootViewController (didSelectRowAtIndexPath):
NSStri...
Hello all i use windows encoder to stream video online and have a server that i use to broadcast this stream. i am trying to make an app that streams video to the iPhone/iPad using a unique link. i have seen apps out that stream their own DVR cameras so there must be a type of converter or encoder to use. any suggestions?
...
My iPhone app will be receiving an xml feed from a Java web service. The xml is in a SOAP message. I can easily parse data from within the xml however there is a jpeg attachment to the SOAP message that I need to display within the iPhone app. Does anyone have example code or a link to some documentation on how to work with SOAP attachme...
I'd like to reproduce the animation effect that the Contact app uses when switching to edit mode. Specifically I have a number of fields that I'd like to display in a more friendly format, but then expand them into a layout that makes them easier to update or add when in edit mode.
Is this done using core animation?
Thanks
...
I track user activity in my iPhone app by having certain user actions call an almost empty Web page that the app does nothing with. Rather, attached to the URL are some querystring paramaters that tell me who's doing something and what it is (after I analyze the logs, that is).
I don't want launching the URL to slow down the app, so I p...
Hello
I am java developer and need to make thread synch in iPhone. I have a thread, it calls other one and need to wait for that child thread to end.
In java I use monitor, by calling wait/notify
How can I program this in iphone?
thanks
...
Hello
My code has a function (F1) to return YES/NO based on information read from server. So it uses async nsurlconnection to receive data.
So F1 starts connection and MUST wait for data to be loaded
The question is how can i implement it?
thanks
...
i am trying to pull a map in my applcation with interface builder using MKMapView but for some reason its not showing up. Also i want to add some button to this view by clicking which i can browse a file existing in my iphone.
Please provide me with the detial description as i am new to this.
Thanks,
...
How do I make my view appear below the green bar during a phone call? right now my app is being partially covered by the green bar during a phone call.
...
I have a sequence of 24 images that I need to animate on the iPad. The images are full screen - 1024x768.
I currently have them displayed using an UIImageView, however there are some issues
If I use [UIImage initWithContentsOfFile] to load my images, then the sequence displays very slowly the first time they are displayed, but smoothl...
Hi!
I have a UITableView containing a list of maps. When an item is selected a new sub view is added to the main window and the map is shown. In my view controller for the map view the following method gets called each time it's displayed:
- (void)showMap {
UIImageView *tempImageView = [[UIImageView alloc] initWithImage:[UIImage imageN...
I have an app I am working on which has been split into two targets, one for the iPhone and one for the iPad. The iPhone side (w/iAds) runs perfectly, but the iPad target gives me errors. It basically boils down to the iPad target not recognizing the iAd framework.
I've tried weak linking but I still get iAd/iAd.h: No such file or dire...