Hello!
I'm running into an issue when I try to create a CGContextRef while attempting to resize some images:
There are the errors
Sun May 16 20:07:18 new-host.home app [7406] <Error>: Unable to create bitmap delegate device
Sun May 16 20:07:18 new-host.home app [7406] <Error>: createBitmapContext: failed to create delegate.
My code ...
I've added a button as an accessory view to uitableviewcell, and I when I press it, I'd like to be able to access the index path of the table view cell it's currently inside of so I can delete/modify the contents of that cell. Should I subclass UIbutton and add make it have it's own index path property? If so, do I need to implement any ...
What is the best way to go about changing the dimensions of a UIButton at runtime? Width? Height?
...
Not sure if what I want to do makes sense, but I want to take advantage of the UITabBarController and the TTNavigator from Three20. Any tutorials around that demonstrate how this can be done? I understand how to add view controllers to the navigator using the TTURLMap, but do I need to add a navigator for each tabbar item? I'm lost.
...
Hi,
I have an iPhone app accessing an ASP.NET Webservice for data. Since I'm building both the ASP.NET end and the iPhone part of the app, and we'll shortly be publishing it in the Appstore, I'd like to know what security checks I need to make.
The basic flow of the program (without divulging too much info about it) is as follows -
....
I an trying to put a method in a separate thread in the background. It nearly works except that occasionally I get a lot of error messages with the message
METHODCLOSURE: OH NO SEPERATE THREAD
with the bad spelling and all.
Does anyone know what this means? The thread runs, interestingly
More specifically:
I invoke a background pr...
I've got an array of objects, and I need them sorted by their "title" key. It's currently working, though it's using an ASCII sort instead of a natural sort. The titles are filenames, so they look like this:
file1
file2
file3
...
file10
file11
file12
I'm getting, as you would expect:
file1
file10
file11
file12
file2
file3
...
Doe...
I have an iPhone app which is supposed to be in Norwegian. All my nib files and content are in Norwegian. Then I came to know about language files [Localisation] but I can't see Norwegian in the list of languages in app store, now I'm bit worried about this issue can some one help me?
...
Are there ANY tools that lets an animator / designer create scripted animations that can export to an OpenGL compatible format -- that are similar to the timeline editing in Flash or After Effects?
Does OpenGL ES have some kind of animation playback or container format? ( is there something similar to .swf for OpenGL? )
Im looking for ...
I've added a navigation bar to a UIViewController. It is displayed from another UIViewController only. I'd like to have a left side back button that is shaped similar to an arrow, just like the normal navigation bar back button. It seems I can only add a bar button through IB. I'm guessing the back button needs to be added programmat...
My view contains a simple TableView with 6 rows and a button that invokes doScroll when clicked. My objective for doScroll() is simply scroll to the 5th cell such that it's at top of the table view.
- (void)doScroll: (id)sender
{
NSIndexPath *index = [NSIndexPath indexPathForRow:4 inSection: 1];
[m_tableView scrollToRowAtIndexPa...
So I've developed an engine for the iPhone with which I'd like to build a couple different games. Rather than copy and paste the files for the engine inside of each game's project directory, I'd a way to link to the engine from each game, so if I need to make a change to it I only have to do so once. After reeding around a little bit, ...
Normally, this can't be done. I have written a class which wraps around the usual Storekit functionality and will allow an app to behave (while running on the simulator) as if the Storekit transaction had succeeded.
I have written a blog post about the design decisions behind the code, which can be read here and includes a download lin...
Imagine that I have a view with some UIKit object as its subview (for example, UIActivityIndicatorView - this doesn't matter). This view also has a selector, called doSomething, which somehow manages UIKit object (in our example it can start or stop indicator view).
I create NSInvocationOperation (from view's code parts) with initWithTa...
I'm looking at adding a user comment ticker to my iPhone/iPad polling app (Show of Hands). The comments would obviously need to be pulled from a central web source - either a database or perhaps even simple flat files. The ticker would also need to support basic controls (speed, pause, etc.) Can anyone that had tried doing something like...
I was just adding some more CCSprites to a CCLayer and it just starts crashing giving me the error: objc[989] objc_exception_throw failed. Is there like a limit to the amount of CCSprites you can have on a screen or something? I added the CCSprites doing the following with the CCSprites already declared at interface:
L1Circle1 = [CC...
I have a datamodel with to-many to-many relations. Using the example of employee database let say the entity division is related to department which in turn is related to employee. The employee has an attribute salary. How best to have a attribute at the level of division which is derived from the salary attribute. For example average sa...
My iphone application is showing strange behavior when rotating: a gap appears between the navigation title and content view inside a tab bar view (details on how to reproduce are below). I've created a tiny test case that exhibits the same problem: a custom root UIViewController, which creates and displays a UITabBarController program...
I have a Modal View Controller. I would like to navigate to another page and then back. It is not a navigation controller. What should I do now?Should I place an UIButton Item or a Navigation Item on the navigation Bar?
...
Hi,
I want to write some information in the navigation bar about a route..just as the default application does, like distance between the current location and the selected destination, direction etc.
How would i know when a certain pin is clicked as to provide the respective info.
Thanks in advance.
...