hello,
I spent all day getting some AR app done and used the CLLocationManager's
heading and the CMMotionManager a lot. then in the evening the compass freaked
out, not only in my app, also the built in Compass.app, which would be
sometimes correct, but most of the time between 20 an 180° degre
On 01.09.2010, at 12:25, Alastair Houghton wrote:
> On 1 Sep 2010, at 10:21, sebi wrote:
>
>> I load an utf-8 textfile from a server with
>>
>> [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding
>> error:&err]
>>
>> and non
Hello,
I load an utf-8 textfile from a server with
[NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:&err]
and non ascii characters are still not right, e.g. "ü" becomes "ÃŒ". is that a
problem on my end or on the server side?
thanks and regards,
sebastian mecklenburg_
Hello,
If you are still learning I would recommend NSImage, it's the easiest to use.
If you need many images and high framerates I would recommend to use OpenGL.
CGImage, CIImage are rarely used for special purposes.. I wouldn't bother with
them at the beginning.
Regards,
Sebastian Mecklenburg
On 05.08.2010, at 02:41, David Duncan wrote:
> On Aug 4, 2010, at 4:46 PM, Jonathon Kuo wrote:
>
>> On Aug 4, 2010, at 9:43 AM, David Duncan wrote:
>>
>>> A UIView (really the CALayer owned by the view) can and will display
>>> content larger than its bounds if given to it.
>>
>> Is there a w
Hello again,
why is it that when I set the content mode of an UIImageView to
UIViewContentModeBottomLeft I cant change it's size anymore?
this is what I do:
self.imageView.image = theImage;
self.imageView.contentMode = UIViewContentModeBottomLeft;
self.imageView.frame =
// You'll ignore the built-in textLabel property and use your
> own, myOwnTextLabel.
> }
> return self;
> }
>
> - (void) dealloc {
> [myOwnTextLabel release]; myOwnTextLabel = nil;
> [super dealloc];
> }
>
> - (void) setText: (NSString *)text {
t;xxx";
}
regards,
sebastian mecklenburg
On 03.08.2010, at 19:24, sebi wrote:
> Hello,
>
> In my project (iPad) I use a UITableViewCell subclass. The problem is, that
> the built in textLabel doesn't show the text.
> Here is some test code:
>
> -(void)setTex
Hello,
In my project (iPad) I use a UITableViewCell subclass. The problem is, that the
built in textLabel doesn't show the text.
Here is some test code:
-(void)setText:(NSString*)text {
CGRect r;
r.origin.x = 30;
r.origin.y = 5;
r.size.width = self.bounds.size.wid
Whoops, sorry, I forgot it again, this refers to the iPhone/iPad and iOS
versions >= 3.2 which do not sem to support the basic MPMoviePlayerController
anymore.
On 28.07.2010, at 17:16, sebi wrote:
> Hello,
>
> I need to update an older app which is based only on a window and a vi
Hello,
I need to update an older app which is based only on a window and a view. Up to
now it shows a movie using the MPMoviePlayerController. Now I have to use the
MPMoviePlayerViewController. Unfortunately since there is no view controller I
can't just call presentMoviePlayerViewControllerAni
Hello,
every few times I want to step through my code with Xcode's debugger it
eventually refuses to work. I click on the "Step Over" button and then nothing
happens. The variable window becomes empty and the three step buttons become
greyed out. The "Pause" button reacts on clicks but doesn't
On 07.07.2010, at 19:35, Kyle Sluder wrote:
> On Wed, Jul 7, 2010 at 10:21 AM, sebi wrote:
>> When I get a memory warning I unload most of the images and I also release
>> the current CGPDFDocumentRef which should release the memory.
>> Unfortunately it doesn't. O
Hello,
I'm writing an app on iPad that lets the user navigate through a >700 page pdf.
When he's on some page I preload the next and previous pages as UIImage (using
CGContextDrawPDFPage()) so navigation is faster. Everything is fine at first,
but after a few tens of pages the memory gets full
burg
On 02.07.2010, at 13:50, Graham Cox wrote:
>
> On 02/07/2010, at 6:01 PM, sebi wrote:
>
>> When I download an image and want to keep it for further reference, I assume
>> I have to store it in the documents directory and not in the app bundle,
>> because otherwi
Hello,
When I download an image and want to keep it for further reference, I assume I
have to store it in the documents directory and not in the app bundle, because
otherwise I would invalidate the signature and the app wont run anymore. Is
this correct?
Background: I write a catalog app that i
Hello,
I'd like to have a quick full text search on a pdf in my app. Unfortunately the
NSMetadata* classes are not available in the iPhone SDK. Does someone know of a
3rd party solution or so?
Thanks and regards,
sebastian mecklenburg___
Cocoa-dev ma
ides a way for me to set my background, I don't need
> to buy or use an app to do that.
>
> I vote no -- don't do it.
>
> phil
>
> On May 19, 2010, at 9:08 AM, David Duncan wrote:
>
>> On May 19, 2010, at 7:55 AM, sebi wrote:
>>
>>>
Hello,
A customer wants an app that changes the desktop background image. I told him
that is not possible (and probably won't be in the near future) because that
would mean to play outside the sandbox. Is this correct?
Thanks and regards,
Sebastian Mecklenburg___
On May 14, 2010, at 8:17 AM, David Duncan wrote:
> On May 12, 2010, at 12:52 PM, sebi wrote:
>
>> hello,
>>
>> sorry, this is probably a very simple thing, but i am quite puzzled right
>> now.
>>
>> when i do this in my view controller:
>>
hello,
sorry, this is probably a very simple thing, but i am quite puzzled right now.
when i do this in my view controller:
-
(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation
{
CGSize size = self.view.frame.size;
NSLog(NSStringFromCGSize(
Hello,
How can I find out if my first view is up and running? When viewDidAppear is
called on my fist UIViewController I'm still looking only at the Default.png.
What I do first in my app is:
1. wait for viewDidAppear to be called
2. show some wait-indicator
3. load some data from the net
4. hid
Whoopsie! Thanks a lot!
Regards,
Sebastian Mecklenburg
On Feb 16, 2010, at 3:02 PM, glenn andreas wrote:
>
> On Feb 16, 2010, at 6:55 AM, sebi wrote:
>
>> Hello,
>>
>> I want to use ImageIO on the iPhone. However, the ApplicationServices
>> framework does n
Hello,
I want to use ImageIO on the iPhone. However, the ApplicationServices framework
does not show up in the list, when i do the "Add -> Existing Framework"
command. When i just add the line
#import
I get some errors like 'CFXMLTreeRef' has not been declared (full list below).
I added the C
it reports such a strange
image dimension for the other image (which is in fact 96x152, so roughly 4.17
times that big)...
Regards,
Sebastian Mecklenburg
On 22.01.2010, at 13:24, sebi wrote:
> Hello,
>
> this is the weirdest thing i saw in a while.
>
> I load an image wi
Hello,
this is the weirdest thing i saw in a while.
I load an image with
[NSImage imageNamed:@"someName.png"];
the image is has a size of (159, 256)
Every other time I start the app in the debugger the loaded image reports a
size of (23, 36.4812) and contains only garbage of some old image I
26 matches
Mail list logo