Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-17-2012, 09:50 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2012
Location: Ohio
Posts: 3
BillyRay is on a distinguished road
Post Passing Data In ios5

.............

Last edited by BillyRay; 01-20-2012 at 07:04 PM.
BillyRay is offline   Reply With Quote
Old 01-19-2012, 12:51 AM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 42
Posts: 1,244
dljeffery is on a distinguished road
Default

Well, so what is happening, or not happening?
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
Old 01-19-2012, 08:51 AM   #3 (permalink)
Registered Member
 
Join Date: Jan 2012
Location: Ohio
Posts: 3
BillyRay is on a distinguished road
Default

Quote:
Originally Posted by dljeffery View Post
Well, so what is happening, or not happening?
Sorry i forgot to upload my images. I am basically trying to find a way where I can pass my UIImageView data to my other UIImageView in a different controller.
BillyRay is offline   Reply With Quote
Old 01-19-2012, 11:48 AM   #4 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 42
Posts: 1,244
dljeffery is on a distinguished road
Default

Still, what is happening, or not happening?
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
Old 01-19-2012, 12:40 PM   #5 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by BillyRay View Post
Sorry i forgot to upload my images. I am basically trying to find a way where I can pass my UIImageView data to my other UIImageView in a different controller.
How are you creating and organizing your view controllers?

Are you using storyboards, or nib files? Are you using a navigation controller? Are these images global data that should be available anywhere in your app?

Probably the cleanest thing to do is to set up a data container singleton that holds data that is application-wide. Take a look at the password generator app linked in my signature. That sample project uses a data container singleton, so it shows how it's done.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-19-2012, 03:46 PM   #6 (permalink)
Registered Member
 
Join Date: Jan 2012
Location: Ohio
Posts: 3
BillyRay is on a distinguished road
Default

Hello,
I am organizing my view controllers with storyboards and connecting them by Segue's from a UIButton to a Viewcontroller. This is how I am navigating between views.



And for the UIImageView I have it setup when you click an image (which is a button) the UIImageView displays that Image.

Example.....

-(IBAction)pictureSelected{
ImageView.image = picture

The code I used above....

-(IBAction)m_300m{
metalCases.image = metal_300m;


I am trying to find away to connect or transfer that UIImageView into a different ViewController.


Sorry I am still new to Xcode and Objective-c and still learning

Also I am now looking into setting up a data container singleton.



Thanks Duncan C

Joe
BillyRay is offline   Reply With Quote
Reply

Bookmarks

Tags
help needed, image, ios 5 segue, passing data, uiimageview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 400
10 members and 390 guests
7twenty7, Atatator, glenn_sayers, guusleijsten, iphonedevshani, QuantumDoja, sacha1996, Sami Gh, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,122
Posts: 402,907
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:43 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0