Hi Everybody,
I want to display .tiff images coming from server in my native iphone application. Is it possible to display .tiff images in native iphone application?
I am trying to solve this problem since 2 hrs with no success. I searched the net for nearly 2 hrs with no solution to this problem.
Can anyone help me to solve this prob...
I am trying to check whether a plist exists in my doc folder: if yes, load it, if not load from resource folder.
- (void)viewWillAppear:(BOOL)animated
{
//to load downloaded file
NSArray *docpaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [docpaths objectAtInd...
Hello,
This is sort of related to a previous, yet so far unsuccessful question of mine. I have a daemon that is placed in the LaunchAgents folder (on Mac) and it should run perpetually in the background, but after a couple of days it just stops for no apparent reason. I have no idea why and thus my question:
What are the reasons that a...
I have an object A with a to-many relation to B. B has a property A that is the inverse relation to A's NSSet.
Pseudo code:
class A{
NSSet *bConnections;
}
class B{
A *aConnection;
}
In the model I have set up the relationship as optional. For A, the relationship is defines as to-many, inverse of aConnection at B and delete...
Hello Friends I have developed application to test Push Notification service provided by apple. I got the device token after registration and also on the server side which is configured on windows using C#.net platform, certificate is installed and there is no issue too. I have send 2 notifications from server to apple server but still h...
I created my own UIView subclass to present text information to the user. User is able to double tap this view to popup a 'Copy' menu. The problem is that UITextView within the same view controller resigns its first responder status thus dismissing keyboard when popup menu is presented. How do I avoid this? I want my application to behav...
Can someone please explain to me how to create an ASIHTTPRequest object that can post a stream to facebook using the Graph API?
The API call is: https://graph.facebook.com/me/feed?message=X&access_token=Y
The method type is POST
...
I am trying to migrate from one .xcdatamodel file to another. I have a NSEntityMigrationPolicy subclass, the name of which I have entered in xcode-> .xcmappingmodel file -> entity -> "custom Policy" field.
I run my app which successfully opens and runs the previous version of my data so I can only assume basic migration has worked. HOWE...
I have the following minimal test case in a minimal project created following
the GHUnit README:
#import <GHUnitIOS/GHUnitIOS.h>
#import <UIKit/UIKit.h>
@interface MyTest : GHTestCase { }
@end
@implementation MyTest
- (BOOL)shouldRunOnMainThread {
return YES;
}
- (void)testFoo {
UITableViewCell *cell =
[[UITableViewCell al...
Hi,
I have to create a iOS Programm using Code of some C++ POSIX Classes.
I already read the "Using C++ With Objective-C" manual of the Apple Developer Center.
They describe how to mix C++ & Objective C code in a .mm file.
My question is, is there any possibility to use the C++ Classes in my .h/.m files of a normal Objective C Project?...
Hi, I am attempting to write an application with core-plot that will scale the y-axis values between the smallest value and the largest value. This part works well, however when these values are drawn on the y-axis line, the values do not take up the entire length of the y axis.
Statement to set up y-range:
plotSpace.yRange = [CPPlotR...
I have been trying to perform a flood fill on an image with objective c in an app on an iPhone, and have come to a couple of dead ends, so I thought it would be a good idea to ask before going any further. At the moment the based routine is that I am getting the raw data from the image, and using a queue to implement the flood fill. The ...
This question follows on from my other question on why my app isn't being brought down by exceptions.
The Problem
When an exception is thrown on the main thread via an Action, the app still doesn't crash.
As per Dave's answer to my original question, I've implemented the reportException category on NSApplication and set the uncaught e...
Hello, I am trying to do a partial page curl with the following:
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:1.0f];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
[animation setType:(notCurled ? @"mapCurl" : @"mapUnCurl")];
[animation setR...
I'm working on a game sim and want to speed up the match simulation bit. On a given date there may be 50+ matches that need simulating. Currently I loop through each and tell them to simulate themselves, but this can take forever. I was hoping
1) Overlay a 'busy' screen
2) Launch a thread for each
3) When the last thread exits, rem...
I've been asked by a client to develop an application that will allow the user to navigate between a series of views. It's best described as a book, with an interactive contents menu.
I know the VERY basics of Objective-C but I have no idea how the views work together, how could I jump from one view to another at the click of a button? ...
can someone help me with text alignment to the right in my uitableview sections ?
the defult alignment is left.
if the only way is to build custom header i will appreciate for code example.
...
I'm looking into 3D on the iPhone, I have managed to get a 3D cube on the device but would like to add interactivity such as touching one face fires a specific event and an other face a different event. I'd rather steer clear of ray picking as this adds extra complexity that I do not want in my app.
I've read up on quite a few color pic...
Hello everyone, I wanted to know if anyone managed a pagecurl from the top using the CATRANSITION. I have the following :
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:0.35];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
animation.type = @"pageCurl";
animati...
Hello, I am having trouble with persisting data.
Desired Behavior:
I have a text field defined in the view that captures user input. When the submit button is clicked (touch up inside), I expect to write that data to a mutable array. As of right now, I am going to archive that mutable array upon submit, but have also played with ar...