Currently I am making some decisions for my first objective-c API. Nothing big, just a little help for myself to get things done faster in the future.
After reading a few hours about different patterns like making categories, singletons, and so on, I came accross something that I like because it seems easy to maintain for me. I'm making...
On my program icon i want to show how many show a number, like on the AppStore program icon, where it shows how many updates are available. How can i implement this on my own program icon?
...
Is there an easy way to get a time very precisely? I need to calculate some delays between method calls. More particular, I want to calculate the speed of scrolling in an UIScrollView.
...
What is the preferred method of creating simple reports on the iPhone-SDK platform? I'm thinking that ideally I could create PDFs and display them, is this feasible? Are there some built-in facilities, some available libraries?
...
When we hit that "install now" button via the AppStore, I am curious what is the process behind getting the app onto the iPhone?
Does it download a compressed zip? pkg? and does a XCOPY equivalent ?
...
When I try to send a view to the back, it hides some of the buttons and labels in my view controller. The view I am sending to the back is a UIImageView. Does anyone have an opinion of what might be the problem?
...
Is possible to know when the user touch the keyboard iphone? When the user touch some button from keyboard... :/
...
I don't know if it's because I'm using a Mighty Mouse or what, but I keep accidently turning on Slow Motion when using the iPhone simulator. How the heck do I turn it off?
...
This is probably an easy thing to do, but I just can't figure it out - how do I end editing athe textview? how can I get the keyboard to disappear? or do I have to click outside it to make it go away?
...
Cocos2d question??
How do you change the touch type? Look below
image = [MenuItemImage itemFromNormalImage:@"image1.png" selectedImage:@"image2.png" target:self selector:@selector(step1:)];
Menu *menu = [Menu menuWithItems:image, nil];
image.position = cpv( -135, -185);
[self addChild: menu z:2]
step1 is a void defined to do somet...
I want to invoke a selector of a method that has the usual NSError** argument:
-(int) getItemsSince:(NSDate *)when dataSelector:(SEL)getDataSelector error:(NSError**)outError {
NSArray *data = nil;
if([service respondsToSelector:getDataSelector]) {
data = [service performSelector:getDataSelector withObject:when withObje...
Hi all,
I'm new to iphone and experimenting with the platform. I have a root view controller which loads it's view from a nib. I accidentally uncommented the 'loadView' method in this class, and now the app crashes - is this because if a view controller is initiated from a nib then you can never have a loadView implementation?
Taras
...
Hi,
I need to customize each cell in a UITableView (like each cell will have UITextfield and UIButton). Could you let me know if there is any good article on that?
Thanks.
...
I have a free iPhone app downloaded by 3,000 users, most of whom use my app at least once per day. So I plan to show ads in my app. Which ad solution is best? I looked in some sites, but no one is giving clear details about CPMs.
How much will I get for 1,000 impressions using different ad solutions?
...
I'm architecting a .NET "web service" and an iPhone application that will consume these services. I'm curious if there are any best practices for architecting the protocol for exchanging data between the two. SOAP-based web services feel too heavy to me for an iPhone app. Perhaps REST, JSON, POX instead? Certainly the specifics of th...
I'm finishing up the Core Data tutorial, and it suggests trying to convert to using a NSFetchedResultsController. So I've got it so that I can query the existing data, but when I add a row at the beginning, tableView:cellForRowAtIndexPath calls NSFetchedResultsController.objectAtIndexPath, but that still returns the old zeroth object in...
How long did it take to get through the entire iPhone Developer Program Enrollment process (Activation code, etc)? Apple says it may take up to 24 hours for the Activation code to arrive in your inbox, but I have heard stories of people waiting for weeks. 24 hours has elapsed since the initiation of my own enrollment, much to my disencha...
Hi All,
I am using UIScrollView for zooming an image. While to zoom out the image i want it to be put on double tap.
So my question is can it be possible to zoom out zoomed image on double tap. (i am able to detect the double tap on zoomed view).
Which property we can use for this of Scroll View.
Thanks in advance.
Regards,
Vishal
...
i have interface builder 3.1 but i don't see any UIScrollView and UIAlertView is something missing there?how can i get them in interface builder. i want a view with 50 labels and i want to add them via Interface Builder not using the code please help...
...
In an iPhone OS device, how many simultaneously running NSTimers would be too many? I have a bunch of routines being called by a single timer firing 25 times a sec, and things are pretty choppy, slow, and heavy. I am thinking about adding one or more extra NSTimers to distribute the work load a bit but I am concerned about how many would...