Hi,
I have a tableview which shows a webview on clicking some row in the table, which in turn picks up the data from an sqlite. if a user closes the app by pressing home key while viewing a description in webview and reopens it after sometimes, I should be making the user to see the same screen. how to show the same view again ? What is...
Hi!
first of all... i'm italian, so i'm sorry for my bad english!
so... this is my app:
i'm using a navigation controller: in the first view there are 10 buttons and every button calls a functions like this:
[self pushViewController:nameview animated:YES];
to a different uiviewcontroller! So i have 11 uiviewcontroller!
Every cont...
Hi,
I have a embedded uiwebview in my app which will in turn call a webpage. This webpage contains some data which should be saved in the user defaults of the iphone. How to achieve this ?
...
I am looking at Audio Unit Development Fundamentals. Assuming
UInt32 sessionCategory = kAudioSessionCategory_PlayAndRecord;
status = AudioSessionSetProperty(
kAudioSessionProperty_AudioCategory,
sizeof(sessionCategory),
&sessionCategory);
with sample rate 44,1000 and allocate the buffer large...
I'm doing a remote/automated build[1] of my xcode projects[2] and in order to sign my apps I add this line before the build.
security unlock-keychain -p keychainpassword
This works fine, and unlocks the SYSTEM keychains where the certifcates are stored, but it's exposing the password for the user which the build agent is running on in...
I'm making a game for the iPhone using Cocos2D. At the beginning of the game, when there are few sprites, the game runs fine, but when there are many sprites on the screen, the game gets choppy.
I've profiled the app, and RunWebThread seems to be taking up 33% of the cpu time. I contact a server at the beginning of the game, but there...
Does anyone know if there is a library for the iPhone that includes a Naïve Bayes Classifier?
...
Hi,
I want to be able to enumerate the names of devices on a local network from a device running iPhone OS 3.x (iPhone/iPad).
I have tried using NSNetServiceBrowser to find all services like so:
[serviceBrowser searchForServicesOfType:@"_services._dns-sd._udp." inDomain:@"local."];
this returns results but when I try and resolve the ...
I'm developing a custom UIView component. It's a simple little stopwatch, with PNG graphics for all the digits. There are lots of tutorials around, so I'm figuring most of it out on my own. But I have two questions:
First of all, the component will always have a particular size (141 x 32), but I don't know how to specify that from withi...
For example: [dateFormatter setDateFormat:@"yyyy-MM-DD HH:mm:ss"];
I guess there's a list somewhere that shows all those date format specifiers, but can't find any. The NSDateFormatter docs seem to not mention these.
...
I have two entities: Department and DepartmentNews. Every Department has one or many DepartmentNews Objects. Inside DepartmentNews, there is an newsTitle attribute, and there is an releaseDate attribute.
I want to fetch all those Department objects and sort them by their associated DepartmentNews newsTitle with the latest releaseDate.
...
Hi,
I am new to iphone programming designs. I have hundreds of plists on my server. On the first launch i will be downloading all these plists into my application and storing it here. What are all the best ways to save and retrieve these plists in my application ? What are the iPhone libraries that should be used to get the best and mem...
How to search an NSSet or NSArray for an object which has an specific value for an specific property?
Example: I have an NSSet with 20 objects, and every object has an type property. I want to get the first object which has [theObject.type isEqualToString:@"standard"].
I remember that it was possible to use predicates somehow for this ...
Hi,
I use an object to get some values with it and return this values.
The values which will be returned are still in this object.
Heres the code:
XMLErrorParser *xmlErrorParser = [XMLErrorParser alloc];
[xmlErrorParser parseData: data];
return xmlErrorParser.errors;
So how can i release the xmlErrorParser Object and retu...
I have been programming iPhone SDK for around 6 months but am a bit confused about a couple of things...one of which I am asking here:
Why are the following considered different?
if (varOrObject == nil)
{
}
vs
if (nil == varOrObject)
{
}
Coming from a perl background this is confusing to me...
Can someone please explain why on...
I have two entities: Department and DepartmentInfo. Every Department has one or many DepartmentInfo Objects. Inside DepartmentInfo, there is an departmentName attribute.
I want to fetch all those Department objects which have a specific departmentName. So I make an NSFetchRequest for the Department entity, and use this fetch request:
N...
Where to find the documentation of the SUBQUERY feature of NSPredicate for Core Data?
...
Hi,
I have a website which is developed using Java/Spring. We are about to develop an iphone application for the same. How do we make the phone communicate with the web application?
1) Use http get/post from objective c
2) Create web services for all the features provided (each user action) and then call those from objective c.
Any tho...
Hi Forum
I have a UIScrollView with a UIView in it which contains Images and Buttons.
Now, I try to achieve the following:
When I zoom in the scrollView, only SOME of the content in the UIView should scale (namely, the images), the buttons should remain in the same size, but should be repositioned according to the new scale...
Think ...
I am building a pretty complex predicate in several iterations, and want to supply the matching values right away in the predicate.
Instead of:
[NSPredicate predicateWithFormat:@"departmentName like[c] %@"];
I want to do:
NSString *str = [NSString stringWithFormat:@"departmentName like[c] '%@'", departmentName];
[NSPredicate predica...