I'm creating a new subclass of UITableViewController, and with it the below default
implementation.
It doesn't compile , cause clearly there is no variable called "number of sections",
what's going on here ?
The error is : "expected expression before '<' token"
#pragma mark -
#pragma mark Table view data source
- (NSInteger)numberOfSec...
Are there any Hardware Requirements to test iPhone Apps on your iPhone? Can you do it on a iPhone 2G?
...
In my application which have a lot of viewcontroller classes as well as tableviewcontroller classes in all classes i want to show navigationcontroller which have
//creation of toolbar
UIToolbar *tool = [UIToolbar new];
tool.frame = CGRectMake(0, 0, 320, 42);
//create setting button
UIButton *bttn=[[UIButton alloc]initWithFrame:CGRectMak...
Hi,
I have a problem with my code.
I lunch the thread and this thread have a NSTimer.
I must remember a variabile location but when i repeat the method i reinitialize these and i lose the progress.
Can you help me?
Thanks
My code:(these isn't my very code but is the same situation. I want remeber the number of the i but when restart the...
Hey guys,
another memory management question:
I have asked this before, but did not really get an answer:
The question is would the following result in a leak or is it ok?
NSArray *txtArray = [NSArray array];
NSString *aTxtFieldTxt = [[NSString alloc]initWithString:aTxtField.text];
aTxtFieldTxt = [aTxtFieldTxt stringByTrimmingCharacte...
I'm trying to apply '3D perspective' to a UIView with a UIScrollView embedded inside. This will allow the user to scroll through a set of photos with a 3D effect.
Trouble is, the code below works fine in portrait orientation... but when I rotate the view to the landscape orientation, the scrolling no longer works.
I have tried to nest...
I'd like to intercept the clicks from any of the supported file types of the UIDocumentInteractionController and display them in a modal view (provided by presentPreviewAnimated: method of UIDocumentInteractionController). This modal view also provides the "Open In..." functionality to open any of these documents in other compatible app...
In an iphone application that I am building, I am parsing XML in a number of view controllers when they are loaded by a user.
Every time I do this, I am doing the following:
establishing an NSURLConnection (in viewDidLoad)
storing the data retrieved and error handling (connection delegate methods)
creating an NSXMLParser
parsing the ...
I have a UITableView with a cellForRowAtIndexPath method that creates a UITextView, then adds it to a cell. No memory leaks were detected, but when running Instruments (Object Allocations), the Net memory is on a one-way trip to 18 MB, where it crashes.
My app constantly adds and deletes cells in the tableView datasource, but because t...
i need to know that can JavaFX application run into IPHONE IPAD?
Is there any JavaFX runtime in these device.
...
i made 2 views
and i want to send text of label on main view to sub view to
an want to print it there on another label's text value....
how to pass that text
...
When button numbers of action sheet are more than 7, the title disappear from the view? How can i show it in the current view?
...
'ld: warning: directory '/Volumes/Skiiing2/CD/ViewBased/Unknown Path/System/Library/Frameworks' following -F not found'
I am getting this error for quite some time now...
I also upgraded to latest xcode 3.2.3 with latest iphone os 4.0 but still getting this error. I found some posts about it telling to remove invalid framework search p...
I am trying to build my first iphone app.
first i finish with my app logic whitch contain DataLogic class that have all my arrays. and another 2 classes
then i build my appGUI that contain 2 views. SearchViewClass and ResultViewClass
now my problem is how to connect to logic to the GUI. the instance of DataLogic is on my AppDelegate cl...
Hello coders and codetts,
I created an iphone app, and i'm currently in development of a web app to go along, the main goal is to have the iphone collect data and then upload the data to the web app so that the users can view and print the data that was collected, after the data has been uploaded it will be deleted off the iphone.
Now ...
Hi everyone,
my app is supposed to make a request from a server every 10 seconds or so with a specific url, change some attributes in the url, and then show the request in another view called "updateView" or if any network error occurred display the error. The first part works fine but if i switch of wifi for example the app crashes. How...
Hi,
How do I get access to the video calls made in facetime, I want to record them as we talk. Anyone tried this?
David H
...
How can I create an iPhone in-app screen-saver?
E.g:
After 30 seconds the app hasn't been used a "screen-saver" starts. Where screen saver is a movie, a photo slideshow etc.
...
I am trying to build the iPhone toolchain under Ubuntu 10.04 and I encountered an error:
mohit@mohit-laptop:~/Documents/toolchain/iphone-dev/llvm-gcc-4.0-iphone$ ./configure --enable-llvm=`llvm-config --obj-root` --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions --with-heavenly=/usr/share/iphon...
I'm trying to take a full screen image of the camera picture without having the overlay ontop.
In my overlay controller I have tried to hide the overlay with this lines of code:
[self.view setHidden:YES];
[self.view setNeedsDisplay];
CGImageRef screen = UIGetScreenImage();
UIImage* image = [UIImage imageWithCGImage:screen];
CGImageRele...