I've been looking at the documentation on Core Data and trying to figure out how to arrange the Core Data Stack so it's accessible to all of my UITableViewControllers. All the examples provided by Apple show this to be implemented on the AppDelegate yet the documentation doesn't recommend this approach because it's too ridged! See link.
...
In my iPhone application I have navigation controller, main screen and some edit screens. On edit screen user does some input that has to be validated before I can save it. Ideally I would like to update data automatically on back navigation without additional "Done" button. Can I do some validation and save on back navigation (i.e. when...
In short:
Is there a way to create a static library in Xcode such that when clients link with that library, they also link with the frameworks upon which that library depends?
The problem:
We have a shared Xcode project which contains multiple static library targets containing all of our common code. E.g., If a project wants to use th...
I'm a newbie with iPhone programming, and I'm trying to create a custom ICC colorspace to create colors in. The "DeviceCMYK" is not accurate enough, so I need the ICC colorspace.
I can't figure out how to get it to work...
I've tried with 4 different version of CMYK profiles, but none seem to work. I've even tested by using the "Device...
Hi,
we are developing a website that also have smart phone (starting with iphone but possibly adding android and blackberry later) counterparts (a subset of functions like Yelp or Urbanspoon for example) and we are thinking about following REST paradigm using ASP.NET MVC. Our team is fairly new to this area of software development and w...
I need to display a date and, if it's not representing midnight, the time of that date using an NSDateFormatter. This is how I'm currently checking to see if it's midnight:
int minute = [[CalendarUtil cal]ordinalityOfUnit:NSMinuteCalendarUnit
inUnit:NSDayCalendarUnit forDate:date];
if (minute =...
i actually need a simple enlarging animation (a small card enlarging into a larger card, drag and drop into a bucket) at any point in time, there is only 1 animation.
If Cocos2d integration is possible, i would actually want to add in more animations into my project.
my project is currently a Nav-Tab Project.
So i have my own custom c...
I have a UITableView which is not being resized properly using autoresizeMask (in iPhone 3.0).
The UITableView is inside a UIViewController inside a UINavigationController inside a UITabBarController, all of which are being created programatically. The status bar is visible.
The code of the UIViewController is basically:
- (void)loadV...
Hi,
I am developing a special type of view controller for an iPhone component library.
I have got the who view controller working well, but I need to change it so that it works in one of two ways:
Either it is an abstract class which you must subclass and provider the implementation for a specific method which the controller will call...
Hi All,
I have a strange issue going on which I can't fathom. I have a number of uiViewControllers which I'm pushing onto a NavigationController - all fairly regular stuff. It's a bit of a drill-down application so after you've moved through 3 screens, the next view to be pushed doesn't actually appear - only the title changes in the Na...
Hi All,
After quite a long time perusing the web i have decided to come here as i usually have my questions answered super speedy and super well on Stack Overflow!
I am attempting to complete the following and would be grateful of any suggestions or pointers in the right direction:
Display a UITableView
When a "+" button is pressed a...
Hello guys,
I saw at least 6 apps in AppStore that take photos when detect motion (i.e. a kind of Spy stuff). Does anybody know what is a general way to do such thing using iPhone SDK?
I guess their apps take photos each X seconds and compare current image with previous to determine if there any difference (read "motion"). Any better...
Anybody has some code in objective-c to convert a NSInteger or NSString to binary string?
example:
56 -> 111000
There are some code in stackoverflow that try do this, but it doesn´t work.
Thanks
...
I'd like to get a device for testing iPhone apps that I can wipe at anytime. A 1stG iPhone or iPod Touch is ideal. With an iPod touch, I'll pay for OS upgrades. However, on eBay, iPhones are going for $300+. Used iPod Touches are about $150-$200.
I want to avoid paying a monthly fee for the iPhone, which means I'll be limited to wif...
I have two locations. A current location (=visible) and a target location where the user may want to go to. could I make a line from my current location to the target location? as far as I get it, I can only create annotations. But maybe there's a way to just draw in there?
...
my background.jpg has 52 32x32 mini poker cards.png and when user touch on 1 card, it will enlarge to 120x 170 px.
At any point in time, there is only 1 card being chosen (i.e, being animated) with at most 19 entire cards overlapped (120x170 / 32x32).
Should i use Core Animation or do i have to learn OpenGL or use a library such as coc...
I'm considering using YAML as part of my next iPhone application, but I haven't been able to find an Objective-C library to use.
The Wikipedia page for YAML mentions one, but the link is dead.
Is there an Objective-C library that can parse YAML into native collection objects (NSArray, NSDictionary, etc...)?
...
I'm trying to figure out the best way to handle pinch gestures in a UITextView. Currently I've been trying to handle it all in the UITextView, but I'm getting inconsistant results. It seems that it can catch my touches in the touches began method, but it doesn't always get caught in the touches moved method.
Would it be better to hand...
I have two View Controllers: TableViewController (which is used as a modal view controller) and ToolbarController. In Interface Builder I have ToolbarView, which is controlled by the ToolbarController.
ToolbarView has an IBOutlet UIWebView that ToolbarController controls (uses buttons on a tool bar to switch pages in a webview).
What I...
I have one main view with an associated controller. I have some rather complicated toolbars that I need to switch in and out depending on user interaction.
To keep things simple I manage the toolbars with my main view controller, rather than having all sorts of intertwined dependencies or really deep delegate chains.
Anyway, how can I ...