Hi,
I'm working on the app which allows flipping of the interface under some circumstances. Both landscape orientation should be supported (landscape left and right). Device flipping and orientation changes works fine, however, when in landscape mode, application allows to go to another screen using UIViewAnimationTransitionCurlUp effec...
I am new to iphone development.I am parsing a XML URL and display the title ,date and summary in a table view.I noticed some of the date were very old like "Wed, 31 Dec 1969 19:00:00 -0500" ,So i don't want to display the dates which are 1 year older than the current year.How to do that? I used the sample code from this site for parsing ...
I've looked for a tutorial and can't seem to find one for a activity indicator in a table view nav bar. in my mainWindow.xib I have a Tab Bar Controller with 4 Tabs controllers each containing a table view. each load JSON feeds using the framework hosted at Google.
In one of my View Controller I can add an activity indicator to the nav ...
Hi: In an iPhone application I use a library(C++) which asynchronously makes a callback when computation is finished.
Now I want to measure the time which is spent -including the method which calls the library- until the callback is made. Are there any possibilities to do this with the Instruments application from Apple? What are the be...
Hi everyone,
I have an entity which has relationships with other entities. Let say we have: user->menu->meal
My problem is that some of the users don't have a menu. So when I try to check: user.menu.meal == rice I get an error (path not found...)!
Thank you for your help!
...
All is in the title. I want to change the title of my UINavigationBar that I created with Interface Builder ( Navigation Bar + Navigation Item ) in the "awakeFromNib" methode of my view class. But I don't know how to create the link with Interface Builder.
Can you help me?
...
I need to display 480 x 320 background image in OpenGL ES. The thing is I experienced a bit of a slow down in iPhone when I use 512 x 512 texture size. So I am finding an optimum case for rendering iPhone resolution size background in OpenGL ES. How should I slice the background in this case to obtain the best possible performance? My ma...
I wonder if UIScrollView has got an "hidden" subview acting as an container for the content. If I scroll a scroll view, is that content view moved up/down in the scroll view? Or is the scrolling offset applied to the bounds of that UIScrollView instance?
Or: Does UIScrollView use an additional view as container, or is all content added ...
Hi, I want to create my C++ libraries with Unicode support so they can be reused on other platforms. I have found the ICU (International Components for Unicode) project but I also found a discuss about Apple rejecting for using ICU (see http://tinyurl.com/y86phfb). So how do you guys use Unicode in C++ on iPhone? Thanks.
...
Hello,
Within my iPhone application I wish to add the ability for other devices to connect via WIFI, and share the 3G connection of the phone, essentially turning the phone into a wireless access point similar to what MyWi does.
As I said; this functionality is to go on top of other application functions, so simply using MyWi isnt an ...
I'm adding a custom overlay to the UIImagePickerController and there is a persistant black bar at the bottom of the view. Here is my code to instantiate the controller.
- (UIImagePickerController *)imagePicker {
if (_imagePicker) {
return _imagePicker;
}
_imagePicker = [[UIImagePickerController alloc] init];
_...
Hi. I have a simple UITableView. and i want to add a checkmark whenever i select a row. I have only one section in my table. could somebody plz help me with this.
SampleTable.h
@interface SampleTable : UITableView <UITableViewDelegate , UITableViewDataSource>
{
NSMutableArray *itemArray;
NSString *itemValue;
}
@property (no...
I'm trying to convert a PDF/DOC file into iphone application.
For PDF, I'm using CGPDFDocument class and its crashing the application after some time. After googling I found that there's a bug with that framework.
So, is there any alternative to using webview to show PDF/DOC files as an iphone application?
...
Hi, friends.
What are the basic differences between the iPhone and iPad platforms that developers should be aware of? I am a junior developer at an iPhone development company, and I am still new to this.
And also how does developing for iPhone/iPad differ from other platforms?
...
Hi,
I want to develop an application in which i doesn't any idea about how to create my app with which controller class i should i have gave?
My application first screen contain TabBarController and i have also inserting UINavigationController.
On above scenario i little bit confused which type of controller(confusion in TabBarControlle...
I made a custom UITableView subclass and implemented this:
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
// scrolled...
}
Now, what I think is that UITableView may also love to get this message for some obvious reasons. However, when I don't forward that to super, for some reason, everything still works fine. Must I for...
Hi !
I am trying to make an application that would detect what kind of shape you made with your iPhone using accelerometer.
As an example, if you draw a circle with your hand holding the iPhone, the app would be able to redraw it on the screen.
This could also work with squares, or even more complicated shapes.
The only example of appli...
Can anyone enlighten me as to the differences between the two statements below.
[self playButtonSound];
AND:
[self performSelector:@selector(playButtonSound)];
I am just asking as I had some old code that used @selector, now with a little more knowledge I can't think why I did not use [self playButtonSound] instead, they both seem...
I am playing a wav file to give a little audio feedback when a button in my UI is pressed. My question is when you first press the button there is a delay (about 1.5secs) whilst the sound file "sound.wav" is loaded and cached. Is there a way to pre-cache this file (maybe in my viewDidLoad)? I guess I could do it by just playing it a view...
In the following code:
- (NSMutableArray *) fetchNotesForGroup: (NSString *)groupName {
// Variables declaration
NSMutableArray *result;
NSFetchRequest *fetchRequest;
NSEntityDescription *entity;
NSSortDescriptor *sortDescriptor;
NSPredicate *searchPredicate;
NSError *error = nil;
// Creates the fetchRequest and executes it
f...