Questions tagged "xcode" (page No.1)

How to toggle on/off timer programmatically

This is what I want to do: I want a timer, to fire a method and then, in the end of this method, be toggled off, and turn on an other timer on another method, and then entering a loop. So what are the codes used to toggle between on and off ...

how do i create a page flip area inside an single view project?

i am creating an app with Xcode 4.3, and since this is my first app, i want to start from a single view project. but i have this idea, that involves a "book" with recepies, and i want to create an book with pages that flip when you drag the ...

Symbolicating Partial Stack Trace

Is there any way to symbolicate a stack trace that is not a full crash report? I am logging the string result of [NSThread callStackSymbols] to our server. This doesn't give a fully formatted crash report, but just the unsymbolicated stack trace (example below). I have tried to symbolicate just this. ...

How to implement Google feed search into my app?

How can I implement a Google feed search into my application? Many RSS readers are using it, and I don't know how to do it. Thank you very much! ...

ios measure tape custom control

I want to build measuring tape custom control. It should be like one used in Weightbot application. Measuring tape is shown only partial on the screen, an by dragging you can pick from 0cm up to 1km. One way i though of how to do it is to place ...

Xcode score calculating

I am making an iphone trivia app and want the app to record the users answers and then at the end display a score. I am not sure how to do this as i am new to coding, so any help is appreciated. ...

How to switch views after video plays in iphone?

I'm trying to create an app that displays an info page once a video stops playing. I've looked at a similar question posted here and tried to implement it but it still doesn't work. Not sure what's wrong with my code. Any help is highly appreciated. Thanks in advance! Here's ...

How to build different versions of apps with different skins/branding?

I am creating a generic app which will have different builds for different customers. The app is 99.5% identical for each customer, the difference being each is branded with the customer's own particular images and text and app icon etc. Obviously this could be done using flags such as: #if ...

iOS UIScrollView Lazy Loading

i was just wondering if someone could explain this code for me so i can actually learn from it. I am trying to make my app have a scroller that scrolls left to right with loads of pictures (from internet) but the thing is, it must have lazy loading. so ...

iOS UILabel subview sometimes shows up later than other subviews

I have a strange bug where my UILabel, which is a subview of a custom object, doesn't show up until a few seconds later then all the other subviews. Also, if the user touches the screen while the UILabel isn't visible, then the UILabel immediately becomes visible. Has anyone faced this kind ...

AirPrint and uiactionsheet

I created an actionsheet that is called when a button on the navigation bar is pressed. It displays 3 buttons (send to email, print and cancel). Now I don't know how to make the iPhone print the uiwebview when the "print" button in the actionsheet is pressed. Can anyone help ...

Linking static libraries, that share another static library

I currently have a single Xcode project for a very large code base, I'll call it Project X, which I am dividing into a bunch of sub projects ( Projects A, B, C ). So far, each of these projects compiles, on their own, just fine. They all produce static libraries. ...

iOS crash log is only partially symbolicated

Here's the issue. I have the .xarchive with all the DSYMs but for whatever reason using symbolicatecrash or xcode is only converting some of the symbols to lines while leaving other ones unconverted. Any ideas? I'm using xCode 4.3.2 on OS X Lion. For example, from a crash log from ...

making asynchronous blocks run before other code

I'm trying to fetch a video from the ALAssetLibrary so that I can do stuff with it. I'm using blocks to do it: NSMutableArray *assets = [[NSMutableArray alloc] init]; library = [[ALAssetsLibrary alloc] init]; NSLog(@"library allocated"); // Enumerate just the photos and videos group by using ALAssetsGroupSavedPhotos. [library enumerateGroupsWithTypes:ALAssetsGroupSavedPhotos usingBlock:^(ALAssetsGroup *group, BOOL *stop) { ...

Executing method from loaded nib?

I am new in ios development and currently i am having a problem trying to execute a method from a loaded class. HERE IS THE SCENARIO I have a class named "TV_kid", TV_kid will load another class named "Cable_kid" that contain a nib file. That part is not the problem, the issues is ...

How to get Amazon product reviews and ranking information in iOS app?

I want to show user Amazon product ranking info and product reviews inside a iOS app, but I don't see there is any Amazon SDK for iOS, so is there a way to do this? Thanks. ...

How to add and execute .sql files in my iOS project?

I've found many tutorials on using SQLite databases in iOS, but haven't found anything that directly references .sql files. Can anybody tell me how I can link an existing SQL database to my app? ...

Crash when pushing from UIViewController to UITableViewController

This is the code for my SearchViewController. But when I push to the nextController, the app crashes and it doesn't reach nextController, or in some cases I get a glance at it before crash. I recieve an error "bad instance sent to selector" in log. The SearchViewController has a NavigationController ...

« Previous12345678910 ... 17881789Next »Show All