I need to load a video stored in Applications folder in to a table view. When I touched the cell the video plays.
I used the following code to get all the video files in to an array.
NSFileManager *fileManager = [NSFileManager defaultManager];
NSArray* contents = [fileManager directoryContentsAtPath:@"/Users/srikanth/Desktop/...
How do I display a low resolution image on a page and then after a second delay load a high resolution version? Is this done with layers? Threads?
...
Hi there, i run a C++ app from objective-c
I can successfully symbolicate my function names using Shark profiler but not with the Object Allocations instrument.
In the detailed pane, i only see my C++ app name with the hexadecimal value for my C++ functions.
I tried to do a "File/Re-Symbolicate Document", selecting my app folder contain...
I love this feature (well, my son loves it), and I would like to implement it in a kid's book app I am doing for iPhone, but I'm clueless where to begin. I'm using Cocos2d for all the animated sprite/transition stuff, but I'm not sure how to approach highlighting text as it is narrated.
Example: "Jack and Jill, drank their fill, and w...
I've read this article:
http://stackoverflow.com/questions/1225457/change-the-text-of-a-uilabel-uibarbuttonitem-on-a-toolbar-programmatically
But it seems not working for my auto-hide toolbar?
I also tried "barbuttonItem.title" to set the text, failed too.
Any idea? Much thanks!
...
yet anotherone that gives me grief.
In a SQLite3 DB Select I query for a date range specified in (NSDate *)fromDate to (NSDate *)toDate
const char *sql = "SELECT * FROM A, B WHERE A.key = B.key AND A.date between ? and ?";
After opening the DB I run the query in Objective-C as follows:
NSDateFormatter *tmpDatFmt = [[[NSDateFormatte...
Can you use the same provisioning profile for compiling 2 different apps for the App Store? I suppose not, but just wondering.
...
I have a UITableview made up with a custom cell loaded from a nib. This custom cell has 9 UILabel s and thats all. When scrolling the table on my iPhone the tables scrolling motion is slightly jerky, its not as smooth as other tableviews! (On the simulator it scrolls fine but I guess its using the extra power of my mac)
Are there any ti...
I would like to save image into photo album and at the same time i want to check the same image is already present over there or not.
If it is there already i have to give alert message stated that image is already exist or Saved successfully if it is new.
...
Hi ! Need to override property setter of the parent class. In order to temporary block assignment. For example - selectedRange property of the UITextView. How can I do this ?
Thanks.
...
In the organizer of Xcode 3.1.x I used to be able to download the application data for an app in development (not installed thru itunes). In Xcode 3.2 I don't see that option anywhere. Am I missing something?
**Edit - One user provided an answer saying "look for the disclosure triangle". The disclosure triangles are missing and there ...
I want to set an own background CALayer of an layer (or fake it) to make a Flip-effekt of 2 Layers. I know there is this UIView animation called UIModalTransitionStyleFlipHorizontal/Vertical. How is this possible with CALayers/CAAnimation?
Could i overlay 2 Layers and rotate the back layer?
Thank you
...
Suppose your controller is a table view and one of the cells you are going off to do a length task (say download a thumbnail) to be viewed in the cell. Typically you would have the network call do a callback to your controller when it is done downloading. The callback can then reload the table or do some other form of UI update (hides a ...
I have two static (STATIC_MASS) SpaceManager sprites. One is a child of the other - by which I mean that one sort of builds up the other one, but although the child's images shows up in the right place, the child doesn't seem to exists in the chipmunk physics engine, like I would expect. In my case, I have a backboard (rectangular spri...
I have a UITableView containing names that I would like to group (and sort) by the first letter (similar to the Address Book application). I am currently able to match any section ('A'-'Z') using:
// Sections is an array of strings "{search}" and "A" to "Z" and "#".
NSString *pattern = [self.sections objectAtIndex:section];
NSPredicate ...
I was failed to do that .. Any ideas?
...
I am using a UINavigationController to switch between views. What I would like is for each view to have the ability to control when it is swapped out for another view by having buttons within the view. All of the samples I've seen thus far have placed buttons on a toolbar, which is located on the root view containing the Switch View Cont...
Is there an library for the iPhone using the new Facebook Graph API yet?
...
I need to develop an embedded audio streaming server.
Requirements:
Voice quality or better
Intended for low power wifi transmission
Broad support in existing software and devices (ie, windows media player, quicktime, vlc, iPhone, Android, etc).
Royalty/patent free, or cheap to license
Preferences:
Low overhead TCP/IP based stre...
I have a URL containing a fragment part, used to indicate a certain state of the webpage.
I want to open this link in Safari on the iPhone by using something like the following:
NSURL* fragmentURL = [NSURL URLWithString:@"http://www.exampleurl.com/index.html#foo"];
[[UIApplication sharedApplication] openURL:fragmentURL];
The link is s...