How make iPhone HOT (yes, increase the temperature)??

2012-08-08 Thread Rodrigo Zanatta Silva
Hi. I am thinking to do a funny program that make the iPhone to be HOT. I intensionally want the device increase your temperature. Using the iPhone, I knot it will be hot if I use the 3G Internet. Programing, I can try the program continually transfer files. What other strategy I can use to do

@class create a new instance?

2011-04-25 Thread Rodrigo Zanatta Silva
HI, someone said to me that *@class* directive create a new instance of the class automatic. I tried to find information about this, but didn't found. For me, @class is only to solve cyclic includes. There are any side effect using it? The object variable is the same in this 2 example below, or

Re: @class create a new instance?

2011-04-25 Thread Rodrigo Zanatta Silva
probably should consider protocols, it's hard to judge from your sample. Patrick On 25.Apr.2011, at 17:02, Rodrigo Zanatta Silva wrote: HI, someone said to me that *@class* directive create a new instance of the class automatic. I tried to find information about this, but didn't found

Re: How call upper layer function

2011-04-20 Thread Rodrigo Zanatta Silva
Wow.. You understand. I tried my best but, but wasn't enough. :P You give-me a great idea - LevelDown *test = [[LevelDown alloc] initWithLevelUp: self]; Ok, use global variable is a way to do, but people aways say global variable is a bad idea. I understand objective-c. I only didn't have an

Re: How call upper layer function

2011-04-20 Thread Rodrigo Zanatta Silva
Now i remember the problem about this solution. To this work, LevelUp have to include LevelDown and LevelDown have to include LevelUp. (This is a cyclic include and will fail) To solve this, I read in a book to use the @class. I do that. LevelUp have a #import levelDown.h and LevelDown have a

Re: How call upper layer function

2011-04-20 Thread Rodrigo Zanatta Silva
lol, you are correct. The book didn't say this. You have to include in .M not in .H. Now I understand how to use the @class. This make sense now. Thanks.. Now the problem is REALLY solved :P 2011/4/20 Quincey Morris quinceymor...@earthlink.net On Apr 20, 2011, at 11:34, Rodrigo Zanatta Silva

How call upper layer function

2011-04-19 Thread Rodrigo Zanatta Silva
I think this is simple, but i am have no idea. I create a upper class: #import downClass.h @interface MyUpperClass : NSObject and in than I create downClass *test = [[downClass alloc] init]. Than in my downClass is just a think like @interface downClass: NSObject They are not Inheritance, so

Re: How call upper layer function

2011-04-19 Thread Rodrigo Zanatta Silva
of LevelUp and LevelDown in the same object. Am I correct, or there are another way? I'm not remembering if java have problem like that. 2011/4/19 Conrad Shultz con...@synthetiqsolutions.com -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/19/11 1:07 PM, Rodrigo Zanatta Silva wrote: I

Re: Cocoa witch's broom

2011-04-15 Thread Rodrigo Zanatta Silva
at 11:52 AM, Rodrigo Zanatta Silva rodrigozanattasi...@gmail.com wrote: lol, bad english.. I mean use it. Use it is rare too? You can do a dynamic format to create a string. Using format strings to create human viewed strings is very common and in fact the best way to create such strings when

Cocoa witch's broom

2011-04-14 Thread Rodrigo Zanatta Silva
Hi. I am starting a project that will be a program to learn. My idea is use every single function of Cocoa framework to show any behavior. For newbie like me, same time is difficult read the Apple docs and know what the function exact do, and what object I have to use in same cases. Ok, but

Re: Cocoa witch's broom

2011-04-14 Thread Rodrigo Zanatta Silva
a program to use every method in Cocoa is such a great idea. What you should probably do instead is pick a small simple idea and implement it. Perhaps you can make an app that lists the native trees of Brazil and their diseases. :) Allyn On Apr 14, 2011, at 9:28 AM, Rodrigo Zanatta Silva wrote: Hi

Re: Cocoa witch's broom

2011-04-14 Thread Rodrigo Zanatta Silva
lol, bad english.. I mean use it. Use it is rare too? You can do a dynamic format to create a string. 2011/4/14 Mike Abdullah cocoa...@mikeabdullah.net On 14 Apr 2011, at 18:11, Rodrigo Zanatta Silva wrote: Lol, this will be a open source project. I will not do this alone and not do

Book for expert programmer about cocoa and Objective-C

2011-04-01 Thread Rodrigo Zanatta Silva
Hi. I need to have a good book in my side to program with Objective-C using the cocoa. I read the beginner books like ... for absolute beginner, starting to program with But now, I need a book for professional. Book that is BIG, DIFFICULT and is HARDCORE about anything for cocoa and

Re: How hidden the Keyboard in a UIWebView

2011-03-23 Thread Rodrigo Zanatta Silva
AM, Rodrigo Zanatta Silva wrote: Anyone have any idea? I am stuck... It's easy do this with UITextView, but the text field in a web page have less control. I really need a new idea, please, anyone give-me a idea??!?!? Please be patient. If no one responds, it's probably because they don't

Re: How hidden the Keyboard in a UIWebView

2011-03-15 Thread Rodrigo Zanatta Silva
Anyone have any idea? I am stuck... It's easy do this with UITextView, but the text field in a web page have less control. I really need a new idea, please, anyone give-me a idea??!?!? 2011/3/14 Rodrigo Zanatta Silva rodrigozanattasi...@gmail.com I searched a lot, and all thing that hidden

How hidden the Keyboard in a UIWebView

2011-03-14 Thread Rodrigo Zanatta Silva
I searched a lot, and all thing that hidden the keyboard is when you are in a UITextField. This is the problem. I am in a UIWebView and the user click in a text box in the web page, so the iOS open the keyboard. I can know when the keyboard will show by the UIKeyboardWillShowNotification. But, I