Subscribe ( )

iPhone Programming Tutorials


 

Forum

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

Search 

About the iCodeBlog forum

Most Users Ever Online:

44


Currently Online:

7 Guests

Forum Stats:

Groups: 2

Forums: 6

Topics: 419

Posts: 893

Membership:

There are 934 Members

There has been 1 Guest

There are 2 Admins

There is 1 Moderator

Top Posters:

bobcubsfan – 54

crazyiez – 30

Uhu – 17

AdeC – 17

Nick – 15

jitesh61 – 12

Administrators: Brandon (88 Posts), Collin (0 Posts)

Moderators: VertigoSol (26 Posts)



©   

  • Posted by on 6 Aug 2008 in Uncategorized
  •   |  
  •   |  
  •   |  
  • Comments Off

Comments are closed.