I have a problemetic UITableViewController fails to redraw an updated cell after a child view is removed.
Here's what's happening. After changing data in a child view, the parent view controller reloads the source data array and runs [tableView reloadData] via a PostNotification. After this triggers, I use popViewControllerAnimated to ...
EDIT: It was suggested to me that I implement the strategy pattern (http://en.wikipedia.org/wiki/Strategy_pattern), which I think I would do as several objects that implement a delegate protocol in Objective-C. This accomplishes the encapsulation I want while still allowing me to have a generic view controller in memory.
I have a class ...
I want to be able to convert an mp3 like compressed file in memory to PCM for use in open al, I would like to use the hardware decoders, and I would like to be able to randomly jump around the stream (our track plays once in entirety, and the loops back NOT to the beginning, but to a certain sample)
...
I want to display a new image on top of the selected image in the CameraRoll but do not know how to get the coordinates. I am able to display the image though but since my application does not recieve touchesBegan events once the presentModalViewController gets fired i am unable to get the current coordinates. Can anyone help, please?
...
I make screen shot with iphone camera use the UIGetScreenImage()method, I want to make this images sequence to video, but the memory is limited , i think write the image data to documents maybe a good choice for me. so when capture the image use UIGetSreenImage(), start a new thread to write the image data to documents, but this will del...
Hi,
What is the best way to rename the app so that the title below the app icon can have spaces but the build files doesn't have spaces. (ie, title is "My Project" and build file is MyProject.app)
I changed PRODUCT_NAME but when I do that the app file also contains spaces.
Renaming all the fields seems to work fine except I can't find...
I created a new iPhone project using the built-in "tab bar" template.
I put a few sliders, labels, textfields in the view.
I added in needed code for: "IBOutlet, @property, @synthesize, and release" for the above UI objects.
It saves and compiles without any errors or warnings.
I try to hook-up my connections with control-drag, but d...
When you look at Settings - General - Keyboard you can see text "Double tapping the space bar will insert a period followed by a space".
Question: how can I do something similar in my own app settings?
Got pretty close by using PSGroupSpecifier for text, but can't figure out how to center the text. Centering is the missing feature I'm ...
In objective-c (cocoa touch) I have a series of UIViewControllers that I am switching between.
- (void)switchViews:(id)sender
{
UIButton *button = (UIButton *)sender;
UIViewController *nextViewController;
int tag = button.tag;
switch (tag)
{
// -- has already been created
case kFinancialButton:
...
Hey Guys,
I have a UITableView in Group Style, and I am using it with Navigation Controller.
When a user click on the cell I am pushing to another view for a user to make selection, while all that is working fine. I want the user to be brought back to the first view when the user makes a selection. and I want to display their selection ...
Hello,
How to load a class in Objective-C for iPhone application? I know tat Bundling concept is in MAC , but for iPhone can i use the same bundle concept to load a class?
...
Hello all,
I am working with a iPhone application in which I am displaying images in a scroll view.
The "Gallery" feature is working nicely but In an exceptional condition I want the view locked untill I get the images loaded .
So the question is how can I disable the view and show it slightly blurred while I am fetching the images .
...
Hello Every one.
I just need to ask something as follow.
Suppose I am having a dictionary.
NSMutableDictionary *xyz=[[NSMutableDictionary alloc] init];
[xyz setValue:@"sagar" forKey:@"s"];
[xyz setValue:@"amit" forKey:@"a"];
[xyz setValue:@"nirav" forKey:@"n"];
[xyz setValue:@"abhishek" forKey:@"a"];
[xyz setValue:@"xrox" forKey:@"x"];...
I have been trying, without success, to compile the pjsip library for the iPhone SDK version 3.0. Can anyone point me to a guide on how to do this?
...
For any of you out there who have had a chance to download the iPhone 3.2 sdk and play around with the simulator knows that one of the apps built in is a contacts book. When you open this app up it looks like a book, and has a nice user friendly way to edit and view contacts. So if I wanted to make an app that uses a similar format, mean...
Hi,
I am developing an application in cocoa which needs to select a date .I am using UIDatepicker with mode set to "UIDatePickerModeDate",but the problem is i need to show the Day,date,Month and Year in UIDatePicker.Is it possible to do this??
Thanks in advance
...
I need to store some integer values as the contents of an array. But when i try to do so, it throws a warning,
passing argument 1 of 'addObject' makes pointer from integer without a cast.
And obviously the value is not stored in the array.
Here's thecode.
NSUInteger i;
for (i=0;i<5;i++){
[array addObject:i];}
...
I'm wondering if there are any best practices for improving UI responsiveness while doing Core Data saves (not fetches) with large collections of managed objects.
The app I'm working on needs to download fairly large amounts of data on set intervals from a web service until complete. On each interval, a batch of data is downloaded, f...
HI all,
so we all know "pinch media" - the "spyware" software ;)
i'm searching for some really cool analytics softwares for my iphone application.
pinch media, is the one i know, it looks really great, but we all know, the reputation of this piece of software is very bad.
i'd like to know if i can use it, or if my app then is one of t...
Hi,
I am testing a particular use case for leaks. Sometimes, I get the leaks and other times I don't even if I go through the same usecase. Can you suggest whether it is because of the system frameworks or my code?
I have checked in my code and everthing looks perfect without any unreleased objects. Can you suggest a solution?
Thanks
...