MACloop
Apr 5, 09:35 AM
Hello,
I do some download in my app where some of the data are images. In my app I save this data and create uiimages object where needed. Everything works fine so far. My problem is:
I have a custom tableViewCell class and in this class I have a UIImageView defined. No matter which size I set to this Uiimageview, the image put into it gets the height of the tablecell. I have tried to change the viewMode for the cell uiimageview content but without any luck so far. What can I do to actually get the images to be displayed with the size of the uiimageview it is added into...?
The images is created like this:
NSFileManager *fileManager = [[NSFileManager alloc]init];
UIImage *imgToUse = [[UIImage alloc] initWithData:[fileManager contentsAtPath:[dict objectForKey:@"data_path"]]];
[fileManager release];
After this the images is saved into a dictionary and in the table delegate method - (UITableViewCell *)tableView:(UITableView *)t cellForRowAtIndexPath:(NSIndexPath *)indexPath {
the image is added to the imageView, like this:
cell.imageView.image = [[self.imageDict objectForKey:@"some key here"];
Any Ideas? I do not understand why the cell height controls the image height? What am I doing wrong?
Thanks in advance!
MACloop
I do some download in my app where some of the data are images. In my app I save this data and create uiimages object where needed. Everything works fine so far. My problem is:
I have a custom tableViewCell class and in this class I have a UIImageView defined. No matter which size I set to this Uiimageview, the image put into it gets the height of the tablecell. I have tried to change the viewMode for the cell uiimageview content but without any luck so far. What can I do to actually get the images to be displayed with the size of the uiimageview it is added into...?
The images is created like this:
NSFileManager *fileManager = [[NSFileManager alloc]init];
UIImage *imgToUse = [[UIImage alloc] initWithData:[fileManager contentsAtPath:[dict objectForKey:@"data_path"]]];
[fileManager release];
After this the images is saved into a dictionary and in the table delegate method - (UITableViewCell *)tableView:(UITableView *)t cellForRowAtIndexPath:(NSIndexPath *)indexPath {
the image is added to the imageView, like this:
cell.imageView.image = [[self.imageDict objectForKey:@"some key here"];
Any Ideas? I do not understand why the cell height controls the image height? What am I doing wrong?
Thanks in advance!
MACloop
dot com
Jan 6, 03:33 PM
Go to the iphone settings and scroll down to the bottom and find the facebook tab. Select that, and then "Push notifications".
Viola.
Viola.
lorductape
Nov 21, 05:02 PM
as cool as it sounds, point being?
H00513R
Apr 15, 03:54 PM
No no no! If the government switches then Apple is guaranteed to be a target for hackers, and that leads to other baddies for us users. Keep them in the PC world or better yet - make them run Fedora.
more...
MacBandit
Sep 15, 01:41 PM
Originally posted by KC
Heh. Someone else had that problem. You have to be one of us, muhahahahaha!
I'm being made into one of you by this. I had to fashion that post manually without all the automatic code. I'm doing it for this message to. I'm learning by doing hahahahahahahhaha. :p :p
Going CrAzy :p :rolleyes: :D
Is there a tutorial or something that explains all the formatting so I can do everything manually without trial and error?
Heh. Someone else had that problem. You have to be one of us, muhahahahaha!
I'm being made into one of you by this. I had to fashion that post manually without all the automatic code. I'm doing it for this message to. I'm learning by doing hahahahahahahhaha. :p :p
Going CrAzy :p :rolleyes: :D
Is there a tutorial or something that explains all the formatting so I can do everything manually without trial and error?
sananda
Oct 26, 12:37 PM
i'm here. where are you all? no t-shirt for sananda :(
more...
Designer Dale
Mar 11, 06:45 PM
///
OK, my own submission for this challenge. With the utmost apologies to JD, I had to stick with the apples & oranges theme which is what had immediately occurred to me when we set this topic. I've tried to expand on the conceptual interpretation of apples & oranges with some more technical interpretations - a split b & w background, and an over-saturated and high contrast post treatment.
http://farm6.static.flickr.com/5019/5517805179_d69cdf5849_b.jpg
Canon EOS 40D
EF 24-70 f/2.8L @ 32mm
ISO 100 f/11 @ 1/250th manual exposure
Two 150watt strobes plus an on-camera 430EX bounced off of an overhanging reflection card
Post in Aperture 3
I like the idea you have going here. I would like the saturation more realistic, but that's just me. Different framing and cropping come to mind. Maybe play off the differences in the textures and color, putting them closer and cropping or framing in tight. I may play with this idea when I can. I have nice oranges, but I need an apple. And the nice lighting setup you have.
Please excuse the PhotoShop hack of your image...:)
Dale
OK, my own submission for this challenge. With the utmost apologies to JD, I had to stick with the apples & oranges theme which is what had immediately occurred to me when we set this topic. I've tried to expand on the conceptual interpretation of apples & oranges with some more technical interpretations - a split b & w background, and an over-saturated and high contrast post treatment.
http://farm6.static.flickr.com/5019/5517805179_d69cdf5849_b.jpg
Canon EOS 40D
EF 24-70 f/2.8L @ 32mm
ISO 100 f/11 @ 1/250th manual exposure
Two 150watt strobes plus an on-camera 430EX bounced off of an overhanging reflection card
Post in Aperture 3
I like the idea you have going here. I would like the saturation more realistic, but that's just me. Different framing and cropping come to mind. Maybe play off the differences in the textures and color, putting them closer and cropping or framing in tight. I may play with this idea when I can. I have nice oranges, but I need an apple. And the nice lighting setup you have.
Please excuse the PhotoShop hack of your image...:)
Dale
rhett7660
Apr 25, 03:19 PM
What does ANY of this have to do to Apple rejecting a Pulitzer Prize-winning cartoonist from the App Store?
Probably the same reason "what does the original post have to do with the Pulitzer Prize winning cartoonist getting his app rejected." This person was merely commenting on another posters post.
I am waiting to see if the app gets rejected a second time before I lay judgment.
Probably the same reason "what does the original post have to do with the Pulitzer Prize winning cartoonist getting his app rejected." This person was merely commenting on another posters post.
I am waiting to see if the app gets rejected a second time before I lay judgment.
more...
toddybody
Apr 19, 09:51 AM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5)
Anything beats the embarrassment that Apple has in the current iOS.
? Is the weather nice where you live ?
Anything beats the embarrassment that Apple has in the current iOS.
? Is the weather nice where you live ?
28monkeys
Mar 25, 10:16 AM
just don't affect consumers
more...
SAD*FACED*CLOWN
Jun 10, 12:19 PM
every analyst in the world just bet the farm a few weeks ago that Verizon was definitely getting the iPhone this summer..now that reality has set in speculation about T-Mobile begins....
Prom1
May 9, 05:41 PM
I was running through matches this past weekend, and nearly all my settings were medium, and 2d portrait. Using the dedicated graphics card (low end model with 256MB).
It ran fairly well for a beta, I had a few crashes but not graphics related. Upon starting up SC2 the opening menu is choppy, but the game is extremely playable. And even more so if you were to set your settings on low.
Either way it will be exciting come July 27.
(I'm planning on getting the new mac pro, and boosting the graphics, and game it out!):cool:
Great news. BTW, Late "Late '08 Unibody" doesn't have dedicated graphics card ... the graphics cores are apart of the south-bridge & a MOBO integrated piece so to speak. Still that's great news - how is the heat running.
It ran fairly well for a beta, I had a few crashes but not graphics related. Upon starting up SC2 the opening menu is choppy, but the game is extremely playable. And even more so if you were to set your settings on low.
Either way it will be exciting come July 27.
(I'm planning on getting the new mac pro, and boosting the graphics, and game it out!):cool:
Great news. BTW, Late "Late '08 Unibody" doesn't have dedicated graphics card ... the graphics cores are apart of the south-bridge & a MOBO integrated piece so to speak. Still that's great news - how is the heat running.
more...

joemama
Oct 26, 04:49 PM
Random yet related question:
What do people recommend using to record basic voiceovers in iMovie and FCExpress? My high school students currently use ProTools and Mbox and it's just way too complicated to record a simple voiceover.
What do people recommend using to record basic voiceovers in iMovie and FCExpress? My high school students currently use ProTools and Mbox and it's just way too complicated to record a simple voiceover.
ChazUK
Mar 26, 04:17 PM
YOU MEAN TO SAY THE MEDIA LIED TO US! :mad:
:D:D:D:D
:D:D:D:D
more...
Zepaw
Apr 13, 09:18 AM
I'm holding off on the ipad. I really like it and I'm not waiting for some future specs. I just am not sure I have enough need for it to spend that kind of cash. I have a three year old laptop and I think I'd rather save a little more money and get a new laptop than add an ipad to my collection. And I think the needs of an ipad are not that great for me right now.
I think if I were to buy one it would be as a gift for my parents. You know these are ideal for people in the family who do not really need a full computer but you'd like to have the ability to interact with on-line. You can set it up with your own computer and occasionally update it for them. It looks to be a lot less of a headache to manage for someone who is not tech savvy than a full computer.
Ditto on all counts, especially if the 3yo laptop is a MBP.
I think if I were to buy one it would be as a gift for my parents. You know these are ideal for people in the family who do not really need a full computer but you'd like to have the ability to interact with on-line. You can set it up with your own computer and occasionally update it for them. It looks to be a lot less of a headache to manage for someone who is not tech savvy than a full computer.
Ditto on all counts, especially if the 3yo laptop is a MBP.
spazzcat
Aug 19, 11:51 AM
I wounder if it will be better then foursqure?
more...
citizenzen
Apr 9, 07:54 PM
There a consequences to actions, people should learn this
Who doesn't know this Cao Cao?
Who doesn't know this Cao Cao?
Dreadnought
Jun 2, 11:46 AM
That would be nice, a widget that says your laundry is now dry!
Sharky II
Sep 25, 10:39 AM
Can't believe aperture doesn't support more RAW types yet.
Until it supports more/all of the raw types, it will never be a real 'pro' application imho
Until it supports more/all of the raw types, it will never be a real 'pro' application imho
alent1234
Dec 28, 07:15 AM
the Consumerist was recently bought by Consumer's Union. The "non profit" organization that sells the magazine Consumer's Reports. the same rag that has different testing standards for different products to push the snobby/elite/more expensive ones.
last year they tested some child car seats differently to say the cheaper ones were deadly
last year they tested some child car seats differently to say the cheaper ones were deadly
dernhelm
Mar 23, 05:21 PM
Apple is all for open standards...except when they are not.
A little like Microsoft. Embrace and extend...
:-)
Of course, this isn't really about open standards. Last I checked, H264 video has no encryption associated with it per se. You have to add your own on top.
That's what everyone is doing, Netflix, Amazon, etc. Netflix licenses theirs already, Apple will do so too.
A little like Microsoft. Embrace and extend...
:-)
Of course, this isn't really about open standards. Last I checked, H264 video has no encryption associated with it per se. You have to add your own on top.
That's what everyone is doing, Netflix, Amazon, etc. Netflix licenses theirs already, Apple will do so too.
(DL)*DARK*
Mar 26, 03:36 PM
Two questions:
1) Is that an iPad on the table?
2) Who paid for the coffee? :D
-Kevin
1: I believe so.
2: Jobs, probably.
1) Is that an iPad on the table?
2) Who paid for the coffee? :D
-Kevin
1: I believe so.
2: Jobs, probably.
ThomasJL
Jun 24, 05:10 PM
I really hope the iPhone comes to T-Mobile USA. I am using an unofficially unlocked and jailbroken 1st generation iPhone on T-Mobile right now. The service has been wonderful.
AT&T is horrendous. I was a former customer, and they would overcharge me every month. It took approximately 3 calls every month, lasting at least 45 minutes each, to solve the problem.
AT&T is horrendous. I was a former customer, and they would overcharge me every month. It took approximately 3 calls every month, lasting at least 45 minutes each, to solve the problem.
ArchaicRevival
Apr 19, 10:56 AM
This is so exciting! I'm not sure if I'm more excited about Detox or the White iPhone! :D
No comments:
Post a Comment