Subscribe ( )

iPhone Programming Tutorials

 

Forum

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You must be logged in to post Login Register

Search 

Connect var with String without break

User Post

3:19 am
February 4, 2009


Traxmaxx

Noob

Traxmaxx

posts 1

1

Hey ya,

I tried to concat the var storyImageUrl with the string “_thumb”. I've read this thread and it worked almost.

I did the following:

     NSMutableString *storyImage = [[NSMutableString alloc] initWithString:storyImageURL];
     [storyImage appendString:@"_thumb"];

but

NSLog(storyImage);

shows me the following:

2009-02-04 11:04:54.601 NewFM[62408:20b]
_thumb

Why is there a break within the url and how can i remove it because when i do [self.newsView.newsImage setImage: [UIImage imageWithData: [NSData dataWithContentsOfURL: [NSURL URLWithString:storyImage]]]];

with the break in it, i won't get no image…

Hope someone can help me :)


Thanks

Traxmaxx

4:10 am
February 4, 2009


Opfer

Noob

posts 1

2

You're a fuckin n00b


About the iCodeBlog forum

Currently Online:

2 Guests

Maximum Online: 44

Forums:

Groups: 2

Forums: 6

Topics: 330

Posts: 776

Members:

There are 742 members

There are 1 guests


Brandon has made 87 posts

Top Posters:

bobcubsfan - 54

crazyiez - 30

VertigoSol - 26

Uhu - 17

AdeC - 17

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)