My app parses XML from remote server and store the objects in Core Data(SQLite storage). So that user can browse the material when OFFLINE by reading from local storage.
User may make changes to objects when browsing offline which gets stored locally in Core Data SQLite store. Another User makes some changes to object on Remote server ...
Hi i have UITableView with x rows and my cell data loaded with plist file , i wanna implement a UITextField that user inserts the cell number and then after done button the cell going to highlight and show the cell row , for example enter 104 and then show me the row 104 .
is there anyway ? thank you .
...
http://code.google.com/intl/en/mobile/analytics/docs/iphone/
Known Issues
* Possible inaccurate timestamps: timestamps are recorded at the time the application dispatches to Google Analytics, so if a user experiences long periods of offline use, the timestamps may not be 100% accurate.
That seems to be putting it mildly -- if you hav...
Hi , i am trying to implement something that user can insert an number then program show me the row number but i little bit confusing , i would be grateful if you help me , here is my code :
for(int i = 0; i < myTextField.text; i++) {
[myScrollTable selectRowAtIndexPath:[NSIndexPath indexPathForRow:i inSection:0 ] animated:YES scrollPos...
Hi,
I have an encoding problem with ASIHttpRequest. When I get an URL, the data is returned perfectly except for a little encoding problem.
This is my code:
- (void)fetchGamesForCategory
{
NSString *url_string = [[NSString alloc] initWithFormat:url_match, theCategory._id];
NSURL *url = [NSURL URLWithString:url_string];
A...
Hello stack overflow,
So I have a table view that contains a bunch of data. The user can navigate down, browse edit, etc. However when they edit and delete a row, and then navigate back via the nav controller, sometimes (not all the time) the app crashes throwing this error:
-[CALayer resourceType]: unrecognized selector sent to inst...
I want my app to poll server for updates and download them when the app is running in the background. How can I achieve this. Can anybody tell me where to start from?
Any help would be appreciated.
...
Fetching http://graph.facebook.com/514417 from the Facebook Graph API gives me the NSString @"http://www.facebook.com/mattdipasquale". How do I extract just mattdipasquale every time? Can I assume the link will be the same format every time? In that case, I could just do:
NSString *fbUsername = [[result valueForKey:@"link"] substringFro...
Hi dear friends
i have 495 cells and a textField for inserting number and selecting the row according to the cell number .
i have problem with this code :
int MAX_LENGTH = 495;
(MAX_LENGTH >[myTextField.text length]{
myTextField.text = @"ERORR";
and this :
for(int i = 0; i <[myTextField.text intValue]; i++) {
[myScroll...
In my iPhone app I have a UIScrollView with custom content views. At some points, a custom popup view is dynamically added to the content with a zoom animation on appear and disappear. I'm using block-based animations with a completion handler that calls [self removeFromSuperView] as follows:
- (void)dismissPopup {
CGRect rect = sel...
Hi,
I have a controller managing a complex view which contains, among other objects, some labels and images. How can I subscribe to touch events to some of the labels and images from my controller? The problem is that UIView does not have a TouchDown event (unlike UIButton for example).
Two workarounds came to mind, which are both clu...
I pulled the latest version of three20 from github, and installed their template. I opened it up in XCode, build and run, then I realize the template isn't iOS4 ready.
The first issue I found was "Base SDK not found", I solve it Edit Project Setting , changed the Base SDK to "iOS Device 4.1"
Then I run it again, I got tons of errors r...
Hey,
I'm developing an iPhone application and my target is 3GS and 4G devices.
iOS 4 introduces methods thats deal with multitasking and newer methods to deal with foreground/background lifecycle events.
These new methods aren't available in iOS 3 which simply quits the app and doesn't run it in the background.
Any tips on how to create ...
Edited to better explain my problem
I am trying to perform a zoom operation using my custom view (not UIView). The view has translation, scale, rotate values. I use these as follows, between calls to glPushMatrix() and glPopMatrix().
- (void)transform
{
glTranslatef(translation.x + anchor.x, translation.y + anchor.y, 0.0f);
//g...
I created a UITableView similar to the iOS address book that allows you to pick an image on one row and and there are additional custom cells that have text fields for entering data. I run into this problem only after loading a large image and get a memory warning in the console:
Received memory warning. Level=1
I load the image using...
Dear Concerned,
My base sdk is 4.2
deployment sdk is 3.1.2
I had done the following steps
- Build the .app bundle for distribution for "Device" and "Distribution" in the drop down menu of the main XCode screen.
- In the "Project Settings" the base SDK is 4.2 and your deployment target SDK to 3.1.2 both settings are found in that "Bu...
In detail code, can someone please show me a way to populate a multiple component UIPicker with data from a plist?
The reason I choose Plist as my datasource mainly is because it is much easier to manage visually and edit at the later stage. I want to create a simple app that have Picker with 4 components (lets call it component A, B,...
Hi,
I'm trying to put an Annotation the lower left corner of currently visible map region, although the following code
CLLocationCoordinate2D origin = getOriginOfRegion(mapView.region);
[[[SimpleAnnotation alloc] initWithCoords:origin] autorelease];
...
extern CLLocationCoordinate2D getOriginOfRegion(MKCoordinateRegion region){
retu...
I currently have an iPhone application that makes a call to an API to obtain an Access Token.
This function is currently executed in my -applicationDidFinishLaunching method in the AppDelegate.m file.
However, with iOS4.0 and its ability to multitask, does this method get called each time the app is opened?
If not, is there a special...
When trying to show the UIImagePickerController I had strange problems with my app crashing on iOS4. Here's the output from log:
malloc: *** error for object 0x550ba20: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Setting breakpoints, trying to spy the name of the object 0x550ba20 (with pri...