User talk:Hanqing Hu
From Gannodss
Contents |
6/20
I learned the basics of Objective-C language, including creating class, inheritance, memory and the foundation tools. I also tried to create a windows application but find out the book uses the older version of Xcode. I will look for tutorials from other source to figure out the difference. By Monday I should be able to create some simple window application. I also tried the iphone interface builder. It is similar to cocoa applications. I just don't quite know what are most of the component used for.
6/23
I learned part of building GUI using cocoa including action and outlet, binding and helper object, although I don't totally understand how binding and key-word coding/observing works. I've also gone through the iphone tutorial on the iphone website.
6/26
Keep learning xcode for document -base cocoa application. Looked at some of the examples on the iphone web pages. I'm looking for some detailed guide that can explain what's going on in the iphone xcode. It is kinda different from what I've learned. I think the major difference is the window control part.
6/27
I'm still leaning cocoa's document based app. I did another iphone example and tried to created a simple window application on iphone. I think I get a hold of how iphone application control the window, view and event. The differences between iphone application and mac: 1. I have to add a view on top of a window. And there could be several views in a window. 2. I have to implement methods to handle touch screen. For example, it didn't know what return key means until I tell the iphone to do something.
6/30
Still leaning cocoa. I started to implement the interface for the iphone currency converter. I have a basic look of the view but still working on getting the table view connected to my datasource and delegate. I also need to research on how to process RSS feed using xcode.
7/1
I finish building the currency converter GUI part. The code seems a little messy because there are lots of changes but overall it works.
7/2
I implemented the XML parser class today but I haven't tested it yet. For some reason my browser couldn't show the correct RSS feed content and I need to see the file to finish the implementation. I think the entire application is only several methods away from being done. So probably I can finish this by tomorrow.
7/3
I finish building the currency converter. I used a XML request to load a sample RSS feed and then extract the currency name. So I don't have to hard code everything any more.
7/7
I learned some image and graphics programming using cocoa. I didn't do anything special today.
7/8
Learn more about objective-x and cocoa.
7/9
I start writing the tutorial for the currency converter
7/15
Start working on the new draft of difference between java, c++ and objective-C
7/16
Keep working on the tutorial file. I finish the class section today and will work on variables and memory management section.
7/17
I finished the variable section of the tutorial. I also added key value coding to the class section.
7/18
I was working on the memory management section of the tutorial. It went very slow because it is very important but I don't have much to say. I'm not a memory manage guru myself and I still cling on the old java way. That's why I did some research but it seems to go nowhere. I think I will work on array and string first and then revisit the memory topic.
7/21
Still working on the tutorial. I try to explore how to create video on iphone and it looks like it's possible. It's even possible to zoom in and out. I think I will start to think about video messaging besides doing my other projects.
7/22
I was working on the array and string section of the tutorial. I added inheritance to the class section of the tutorial. I also investigate into the video recording using iphone. The description was vague but it seemed they shot a lot of photo in a short time and the display them all. About the date planner project, I decided to try something new. I want to add some special GUI effect even though it is not practical. Otherwise the project is not very different with the currency conversion one. I'm learning how to make animation and handle touch event for the GUI.
7/23
I was searching for ways to save file on the iphone OS, but there is no result. This realy limits the usefulness of the planner project. I added some new stuff to the tutorial.
7/28
I finish building the first part of the GUI for movie application. The other part determine whether I'm going to use SOAP or use other format.
7/29
I finished building the GUIs for both movie application and the yahoo local application. What's left is to implement the xml parser class and load data onto the interfaces.
7/30
I'm having some difficulty figuring out a program error in my movie application. If the error is fixed, the rest of the program should be very easy.
7/31
still got some problem with the program.
8/1
Everything solved. I finished the movie application. The reason of the error before was that I kept creating empty arrays and strings under the same memory location.
8/4
I finish the yahoo local application, but the yahoo map might be too small for the screen. I'm trying to fix this problem. Also I might figure out a way to store data from my application. I think I will try it out tomorrow.
8/5
Finally figured out why the keyboard wasn't working the way I wanted it to. I forgot to assign the textfield's delegate to my control class. Just a little thing but it took me long time. I was also trying new things on the movie and local application. I will add default zip code and default theater to the movie application.
8/6
I tried to add some new features to my movie application but it didn't work out quite well. It keeps generating errors and exceptions and I couldn't figure out why. I will look for more tutorials and examples and see how other people did it. I will start writing the tutorial of the local application tomorrow.
8/7
Working on tutorial and add-on features.There were still something not working right.
8/8
Still working on the tutorial and new features.
8/11
Finished the tutorial for the yahoo local today. Started the movie application tutorial. I also want to try the date planner one ore time just to prove I can save files on iphone.
8/12
I was working on the DatePlanner application. The file output is weird and I'm still trying to figure out how to write to a file.
8/13
I was working on the tutorial for the movie application and the DatePlanner.There are two classes, NSFileHandle and NSFileManager that can read or write to a file. The problem is the file path must be a full file path on the mac. This won't work once I transfer the program to the iphone. I have to think of something else to solve this problem.
8/14
I almost finished the DatePlanner. Just need to look up several more class references and figure out a way to create and manipulate date.
8/15
I finish the dateplanner. It still needs some work but the concept works. However, it is really a pain to work with file in objectivee-C, much worse than C++ and Java. I will avoid it if possible.
8/18
Nothing really to to talk about. I did some screen cast for the currency converter.
