I'm trying to draw equations to the screen. Not the graphs or sth just the equation, but in a "pretty" way (f.e. like they look on wikipedia ).
I've done some research but could find a "build-in-way", but maybe i overlooked something?!?
So i've decided to draw them by myself. I'm not very experienced, so don't blaim me if my idea is com...
How could I populate a table in my iPhone app from select photos from the photo library? Should I save them to a folder local to the application, and how?
...
Hi everyone!
I'm trying to write an app that will quickly move the playhead of a video based on touch events. Writing to the property currentPlaybackTime or calling seekToTime: on 3.2 and later works great, but I was wondering if there's a way to do this in 3.1? currentPlaybackTime and seekToTime were introduced in the MediaPlayback pro...
So I have a UITableView in which I am doing batch insert/delete/reloads into. Every once in a while, the list data changes, so I batch update the differences in the list. I'm basically inserting new rows, deleting rows that are no longer there, and reloading rows that exist in both the old and new data. For example:
Before, the list dat...
Does anybody know how to programmatically get my own phone number on iPhone OS4?
My app currently does it and works fine (iPhone OS 3.x).
But now, after upgrading my OS to 4 it stopped working.
Tks.
...
I know that the only way to turn on the flash and keep it on on iPhone 4 is by turning the video camera on. I'm not too sure of the code though. Here is what I am trying:
-(IBAction)turnTorchOn {
AVCaptureSession *captureSession = [[AVCaptureSession alloc] init];
AVCaptureDevice *videoCaptureDevice = [AVCaptureDevice defaultDeviceWithMe...
Hello,
in my application I get, using JSON, a timestamp value like this :
1278321016000 for 2010-07-05 11:10:16.0 CEST
1278436867000 for 2010-07-06 19:21:07.0 CEST
I'm currently storing this value to long type, but I wonder if it is the right way, have I to search thing with NSTimeInterval ?
What would be, after storing this value,...
I'm having a very strange problem with the UINavigationController.
I found a very similar question here:
http://stackoverflow.com/questions/1542040/uinavigationcontroller-not-popping-uinavigationbar-items
but the solution there had to do with the fact that the guy had added a category to NSMutableArray, and I'm not doing anything like t...
Hi,
I'm trying to set up my unit testing for an iPhone application using XCode 3.2.3.
I followed the steps in http://developer.apple.com/iphone/library/documentation/xcode/conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_applications.html
As closely as I could, but I am getting this error message upon trying to...
I am using AQGridView to build an iPad app that incorporates a flexible grid like that found in the Apple iBooks app or the Marvel and DC Comics apps. My question is has anyone used AQGridView and can help me with sheding some light on how to make a grid cell selection. It supposedly just makes a sub-class of UITableView but I can't seem...
Hi all,
I am new to XCode and testing, and have followed the steps outlined in the iPhone Development Guide under "Unit Testing Applications".
I added a unit-test bundle to my project, named it "LogicTests", set it as the active target, then added a sample "LogicTests" unit-test class under a new group called "Tests". I wrote the simp...
Let's say I have a property in my view controller, defined as follows:
@property (nonatomic, retain) UIImageView *checkmarkOffAccessoryView;
I @synthesize this in the implementation, release it in -dealloc and initialize it in -viewDidLoad as follows:
self.checkmarkOffAccessoryView = [[[UIImageView alloc] initWithImage:[UIImage image...
Hello,
i am using a UINavigationController in my application.
in the first view i am displaying some information and have a button for loading an picture from the camera. this works fine so far. when the picture was loaded, i want to display the picture in a UIImageView within a second view. Therefore i am using the following code.
MyA...
How can I combine multiple NSArrays into one array with alternating values? For example.
Array One: Orange, Apple, Pear
Array Two: Tree, Shrub, Flower
Array Three: Blue, Green, Yellow
The final array would need to be:
Orange, Tree, Blue, Apple, Shrub, Green, etc
...
Hello everyone, basically i have a game that has multiple UIVIEWANIMATION with small time intervals(0.2sec-0.5sec) and basically 1 animation will trigger another one etc.. The game stars off fine and I cannot see any leaks so far and the mem peaks around 5.0mb in the heap. But as the game goes on it slows down. I first suspected IOS4 sin...
I found the pre-release docs for this at https://developer.apple.com/iphone/prerelease/library/featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html (Developer account required)
and some more at: http://jeffreysambells.com/posts/2010/06/22/ios-wireless-app-distribution/
I'm running into issues when I c...
How to test with simulator the advertisement that is not being served by iAd?
I already implemented the code with the help of the documentation, but now, how to test it, especially this delegate:
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error
...
I currently add data to a NSMutableArray and then read back from it to populate a UITableview. This works fine on the simulator, but when testing on the device it doesnt work. The app still reads from the plist, so if I manually add data to it the app displays it in the tableview. But Cannot read or write to it on app ?
I use the curren...
This afternoon I walked my iPhone 4 into the Apple Store to see if they could help with a problem I've been having. Battery life hasn't been AT ALL what it should be--the battery drops 50% sitting on my desk overnight. Crazy. So I suspect I've got a bum unit. Happens. No biggie.
My friendly genius pokes around my phone a bit, and points...
My app involves a main screen with several sorting/viewing options of a set of data. Depending on what the user chooses, I may list them, e.g. alphabetically, N most recent, or grouped somehow.
I started the app as a Core Data Table-based navigation app; my app delegate sets up the Core Data stack (unchanged generated code), gives the ...