Hi All,
I have a problem where I want to call a function defined in one view controller from another controller.
I'v try what seems llke a hundred different setups and nothing seems to work.
I've posted the basic code and was hoping someone could tell me how they would do it.
Basically all I want to do is call the MYBPress function defi...
I have the following code that is meant to convert milliseconds into hours, mins and seconds:
int hours = floor(rawtime / 3600000);
int mins = floor((rawtime % 3600000) / (1000 * 60));
int secs = floor(((rawtime % 3600000) % (1000 * 60)) / 1000);
NSLog(@"%d:%d:%d", hours, mins, secs);
NSString *hoursStr = [NSString stringWithFor...
I have an iPhone app that shows a simple view (View 1) that has a button. When the user presses this button, View 2 slides into view using the call
[self presentModalViewController:self.view2 animated:YES];
I want View 2 to support a navigation controller. All the code I find tells you how to set up a Navigation Controller App, but I ...
hi all,
I was wondering how should I proceed to debug while working with frameworks. Like specifically how can i tell which method is being called when a particular event happens.
thanks
raja
...
Hello,
I am trying to create an inifite timeline in my iPhone app to scroll through time. I think I am going to use a UIScrollView to do that but I am not sure how to do that.
Am I supposed to create a reusable queue of views from scratch with views containing the days/months/years and reuse them when they go out of the screen ? (I have...
I'm trying to create a normal rounded rectangular button in a new iPhone app (I'm an iPhone noob). I created the button (Set Start Date) in interface builder and am trying to hook it up to my view controller (CalendarViewController) in order to change the current view. I want to change the active view to StartDateView.
I've been looki...
Hello,
i have pretty simple simple question (i hope so). How do i change the section header color in a UITableview from default blue to black transparent?
Thanks in advance.
...
I have several questions regarding filenames and the "iPod Library".
I understand I can retrieve
MPMediaItems from the "iPod
Library". How may I get the
filename of a MPMediaItem? (I only
need to read the filenames, not save to or otherwise modify
the library.)
When an mp3 is added to the iPod
library (via iTunes), does it keep ...
Hi,
I recently inherited an iPhone app. The original developer did not understand memory management and well the app works in simlulator but not in on old iPhone (lots of crashses). Do you have any thoughts on the process by which I can save the app?
Can I utilize or create any unittest to find memory leaks and make the process 'scien...
I have a data set that is around 700 rows with eight columns of string data. Is it worth setting up core data? Will I see a huge performance difference if between Core Data and an array?
The app is a simple UITableView and and a couple of drill down style detail views. I will be searching the data set on one of detail views.
...
Hi there,
I would reduce the time to get special characters when keeping a touch on the keyboard. Anyone has a clue?
Thanks.
...
Hi all, I've been trying to get to grips with Core Data and I'm having some difficulty with my fetched results. The problem is that I have 'Branch' objects which have a to-many relationship to 'Telephone' objects. When I return a 'Branch' and try to access all related 'Telephone' objects from the returned NSSet, I seem to only get one ...
I have an iPhone WebApp that is installed to the home page. When a phone call comes in or an email is sent it brings up either the phone screen or the email screen. After the user finishes the phone call or email, is it possible to automatically bring up the same web application that was previously open?
...
February, 26 2010 21:34:00
Based on all the documentation I can find, MMMM, d yyyy H:m:s should be correct - but my NSDate dateFromString is returning null.
...
All,
I found the code in Matt Gallagher site ( http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html ) for this really neat design for a Table View... Im very new to Cocoa and Im having a hard time figuring out how to wire the darn thing in IB...
I loved the design and wanted to use something similar in a more compl...
I want to use this LazyLoad plugin for JQuery. http://www.appelsiini.net/projects/lazyload
But, they say this at the bottom of the page:
Due to webkit bug #6656 Lazy Loading
wont give you any improvements in
Safari. It will load all images you
wanted it or not.
It seems jQuery 1.3.x breaks the
plugin for IE. All images ...
In my iPhone application, I use a Tab Bar Controller with five items for the main navigation. However, I also need additional ways to change the current view. For example, if the user is on the Calendar tab and clicks on a date, they need to be shown a different view.
In order to implement this (and other) types of custom navigation, ...
I have a question concerning Core Data and how, if at all, Entities get updated automatically.
Basically, let's say I fetch some data X. X has an inverse to-many relationship with Y. Then a method get's called to update an attribute in X. Does one have to fetch the data again? or will X automatically get the updated data?
If this is no...
I am building a series of games for the iPhone that are released in 'episodes' that are purchased separately. I'd like each of the Apps to share a small bit of information, but Apps seems to be sandboxed pretty tightly.
Is there an official way for two apps to share information that doesn't involve hitting an external server? I only...
I have a view controller class that has to implement several protocols. Too keep things neat I have a habit of putting each protocol's methods in a category on the view controller class.
This time I am getting warnings from the linker that the class does not implement one of the protocols. The methods do work at runtime, the linker jus...