I wanna make my ISomething app as native as possible and have no idea whats a good size for the Elements. Is there any normal/default/standard size for UIButtons or UILabels i can use? Are there any guidelines for something like that?
If not: What size would you (experienced developers) recommend? What size is normally used?
There is a guideline made by Apple:
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/Introduction/Introduction.html
I suggest you to make a sketch before developing your app, this can help you to keep focus.
Related
I am doing a chat application. I have implement all views using frame. Now i need to implement dynamic font size i.e app should be resize its frame with respect to font in settings. If some one have any idea about that then please help me out ?
Thanks.
A proper use of Size classes and Auto Shrink property will get you through.
You'll get the best explanation here
I am having a cocoa application for mac in objective c.
I am slightly new to mac application.
In my app, I want to implement growing imageview animation like shown below in the images.
As seen from the screenshots, when my window loads, I have some data to feel as it increases its value.
From 0 to the maximum value.
It should show like its rising from 0 to the values that I have specified.
I have seen lots of circular animations but didn't get much idea from that.
please give me suggestions on this.
Please ignore if mistakes as I am new to mac development.
Thanks in advance.
You should create mask and apply it to NSImageView layer object using the only image (one for 100%).
Read following article and don't be afraid it's about iOS-development, CoreAnimation is available in Cocoa too.
I'm building an iphone photo app. I don't know how to achieve this kind of effect on an image:
When the user drags a finger across the arrow, I want the image to be distorted accordingly. How can I achieve this? Is there any framework that makes this process simple?
Thank you.
No clue about iOS, but the look reminds me of a thin-plate spline warp. It's quite easy to implement in OpenGL, a quick Google search for example code returns plenty of hits.
From the sound of it I think your looking for the CoreImage framework. Look into the various distortion effects...in particular CIBumpDistortionLinear.
I don't have any code so check out this tutorial and read up on CoreImage.
I need to make a program for iPad. This program has to manage a planimetry.
In your opinion, what's the best way to draw a planimetry (made in xml by a set of tag line with x and y coordinates) by assuring a good performance?
You have to consider that each planimetry is composed by thousand lines. Since pinching and translating can ruin performance (maybe), do you think that the best way to do that is to use a particular render (2d/3d)?
Can OpenGL help me? I wish manipulation of planimetry (traslation, rotation, zoom) is fluid. No jumps.
Quartz / CoreGraphics seems to be the best solution for 2D. I think it's HW accelerated.
Apple Documentation
I am a new Mac developer and I have started to learn Cocoa. In my sample application I want to add a background image to my NSToolbar as a theme for my application and I want that image to be the full size of the toolbar. But i have checked and didn't get a solution. I want to know if it is really a possible thing.
Thanks and regards,
Mac 66
There is no public API to do this. You would need to do some "evil" things with private API or create your own toolbar mechanism. If you don't need things like item overflow, user customization, etc. then it might be easier/cleaner just to use standard buttons in the top margin of the window.