Hello !
I begin with OpenGL (and ES), so I have some (|| a lot) of troubles ^^
I Have two questions.
1°) I would like to have your opinion about my code. Because I don't know if all lines doing what they should do. The aim is to draw the lines of a polygon (but not to fill it, yet ^^). So I just want to do 2D on background transparent....
Hi,
I have a situation, I have created two different nibs, one in Portrait Mode and other in Landscape mode. I had lots of designs in the view so, i had to opt for two different nibs. Now, I want to toggle the nibs as the interface rotates in the
common viewController
so that I can retain the filled values and the state of the co...
I have submitted my app which support both regular and retina display edition.
I forgot to put one of regular image file (a.png) but it has ([email protected]) Retina image.
Is it going to be regular iPhone able to show ([email protected]) image or not?
I have no clue since I don't have 3GS or iPod Touch, but on iPhone regular simulator came out to be s...
I want to get the information about the music track playing in the IPhone.
And my application is a seperate one which is running on the IPhone
do I able to get that information?
...
while reading cocoa fundamental guide i have gone through:
(void)addObserver:(id)notificationObserver selector:(SEL)notificationSelector name:(NSString *)notificationName object:(id)notificationSender
I am getting all theories, but actually i am looking for a real example where it is used ?
Can any one give some sample example.
Act...
Hee,
Does anybody know how to mirror the UIViewAnimationTransitionCurlUp animation?
It slightly curls to the left when it curls up, i want to change that to the right.
Thanks
...
The following line is throwing the error, what's the matter with it?
CGSize size = [label
sizeWithStyle:style
forWidth:bounds.size.width];
My code:
MSHook(void, drawRectLabel, SBIconLabel *self, SEL sel, CGRect rect) {
CGRect bounds = [self bounds];
NSString *label(MSHookIvar<NSString *>(self, "_label"));
NSString *style ...
How to load iphone calendar application in iphone simulator 4.0 ?
Is it possible ?
Can anyone help me ?
Thanks in advance..........
...
Going through the Game Center / GameKit docs, I could not find any information on specifying game configuration variables for a match.
Let's say that you want to specify certain features a match should have to qualify for match making (e.g. you want to exclude certain weapons from the game, want to specify a length for the match etc.). ...
For example, if I have an Arial bold font and want to show text with some amount of 3D perspective. Can OpenGL ES do something like this easily? How hard is it to get a display of 3D text? I'd start with "Hello World" as an example...pretty simple string.
What are the difficulties and pitfalls?
...
Ii'm using this NSURL code to display an image. what I want to do is to insert a url from my database table in place of the static url shown in the code below:
Does anyone know how I should proceed?
NSURL *url = [NSURL URLWithString:@"http://www.nyapplecountry.com/images/photosvarieties/redrome04.jpg"];
UIImage *image = [UIImage imageW...
For a little practise fun project I did this:
I added a grid of UIView instances to an view controllers view which work pretty much like an number segment LCD (but those LCD screens that have squares and can show pretty much anything, not just numbers...with low resolution though).
There are 8 * 8 views on the screen (so 64 views, in ...
After I complete my application, and want to hire a designer to work on the "user interface" what files do I supply him with?
(I dont want to give him my entire app with source code, to the designer, is that possible to get get the interface done?)
thanks.
...
In Xcode3, out of all options under "Run" -> "Run with Performance Tool", I can only select:
Leaks
CPU Sampler
Allocations
Activity monitor
I cannot select any other option including "Zombies", "UI Recorder", etc., or most importantly for me, "OpenGL ES". I think this is consistent in all iOS projects on the machine, but I did not c...
I currently use my iPhone 3G for testing my apps, but I am thinking about upgrading to the iPhone 4. What can I do to my 3G so I can still use it for testing. I don't need it to have 3G access, I just want to be able to put apps on it for performance testing since it is a slower device. I would still like to keep Wi-Fi access if possi...
hello,
imagine i have a main view, in which i have a call to the "AddSubview" method, like this :
[mainView addsubview:secondView];
...in this second view, i have a searchBar, with the appropriate code to show a UIkeyboard, type some text, use this one in the app, and finally dismiss the UIkeyboard.
Ok.
When this part of the program ...
hi,
I have a requirement to save the last screen viewed while closing the app so that i can show the same screen when he re-opens the app. Can anyone tell me how to save the view and show it after re-opening ?
...
Hi.
I have a static lib project with targets for iPhone and for os x.
With Xcode 3.2.2 and earlier versions all worked just fine, but in 3.2.3 apple seems to have introduced changes in how to handle target settings.
In 3.2.2 I just could choose "base-sdk" from drop-down menu and set up a target for each, iPhone simulator, iPhone device a...
hi i am new to iphone.what i did is creating a horizontal scroll view.In the view i am displaying 20 images.In the scroll view images start from 1 st image.But i need image start from 10 and then it is easy to scroll left and right.How can i done this.Please help me.Thank u in advance
...
Hi There,
I am trying to create a CMSampleBuffer Ref from the data and trying to feed it to AVAssetWriter.
But asset writer is failing to create the movie from the data. Following is the code to created the
CMSampleBufferRef.
CVImageBufferRef cvimgRef = CMSampleBufferGetImageBuffer(sampleBuffer);
CVPixelBufferLockBaseAddress(cvi...