I sent Apple the idea to add sproutCore apps to the appStore for downloading into MobileMe (probably this idea is not new for Apple). I believe if Apple will do this, many of new "MobileMe-Apps" would be created in a short time. It would be great if these apps could communicate with iPhone and Macs like iCal and AddressBook today. I think this is the best way in contrast to Google´s planned Chrome operating system and to Microsoft´s /Adobe´s flash player solutions. With this, the cloud-app market could be flooded!
The cocoacast podcast is not resumable in iTunes if gets stopped by a time-out error. However, (i m not sure), it seems to be resumable when downloded from a download manager like Speed Download.
Question1:
Any ideas on how to fix the problem in iTunes?
Question 2:
Or is there a way to neatly integrate the podcasts downloaded from the website through Speed Download in the podcasts playlist?
(Sorry, it seems I posted in the wrong place but i cannot figure out the right place for this topic)
iTunes store claims that the items should be re-downloadable: http://support.apple.com/kb/HT1725. Not sure if they imply that they will re-download the whole file from scratch or from the right position. Download managers, such as SpeedDownload remember the file position at the last reliable point before interruption, and will attempt to start downloading from that point again. In any case, this is something that is beyond our control.
Hi
here is Phiel again, with a new problem, about an old challenge on Localisation. Especially with the AlertPanel.
I can't use my Localisable.strings file hum ... very strange.
I tried the Macros "NSLocalizedString" in myDocument.m ( as in the demo ) and even I tried localizedStringForKey with the bundle :
First make sure the file name is Localizable.strings not Localisable.strings (probably a typo in your post above) then make sure the Localizable.strings files are in the RaiseMan target "Copy Bundle Resources" phase. I see that the key is in French, just make sure the key is the same across languages ("Effacer" = "Effacer" in french and "Effacer" = "Delete" in english for example).
If your Mac is running in French you must have a french Localizable.strings file in the French.lproj directory.
In episode 15, In the Demo associated with "Using NsDefault". You show and explain the code of the method : windowControllerDidLoadNib (from MyDocument class),
but you don't show or explain where tableView come from.
I answer to myself.
In fact, I try to code the demo following the data and code given by Boris, but to complicate my task ;o)) I use Advanced Raise Man more than Raise man, and IB release 3.1.2. So there are some differences between the podcast and that I do.
Anyway, I have now correctly connected my NSTableView in IB, created an IBOutlet NSTableview in MyDocument class specification and it works.
Surprisingly, other user did not had the same issue. I know that compiled and executed Philippe's code before numerous times and had no issues. Maybe you should consider creating a new project and importing code (I know it could be tedious and error prone so I do not want to do it until I absolutely have to).
Very strange, I hope someone who had this issue would comment and we could solve it together.
I'm trying to work on an old challenge (I know I'm very late) , RaiseMan Advanced, (advanced ok ... but with a bug =;o)) )
I downloaded the code from the code library, but when I try to build the project I get a lot of warnings and one error.
The error is about the info copy.plist cause the builder is searching it on /Users/boris/Documents/....etc..
Don't get me wrong, boris, You are great and cocoacast is very interresting, but I have not yet created a user "boris" on my mac ;o))
Not sure to what you are refering to as "Builder" but just edit the info copy.plist file. It should be simple enough. It was created a while ago with old version of Xcode, so some twicking may be needed.
and thanks for your quick answer.
In fact, when I talked about builder it was just for "build and go" command ( the Xcode automatic make ).
I have edited the differents files. but I don't find which one content "Your user path" (/Users/boris/Documents.... I don't know if it is coded directly into the xcode project file, but anyway I can't open it with textedit....
Did the other users had the same problem as me ?
the whole message:
mkdir /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced/build/Development/RaiseManAdvanced.app/Contents
cd /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced "/Users/boris/Documents/CocoaProjects/Chapter6/RaiseManAdvanced/Info copy.plist" -genpkginfo /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced/build/Development/RaiseManAdvanced.app/Contents/PkgInfo -expandbuildsettings -o /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced/build/Development/RaiseManAdvanced.app/Contents/Info.plist
error: The file “Info copy.plist” does not exist.
Please have a look at the application target info (right click on RaisemanAdvanced in the "Targets" section and select "Get Info") then search for "Boris", you will see that the "Package" configuration option "Info.plist File" will show up, you need to change the path and the file name to match yours (just look at the info.plist info in the Resource folder to see the path).
Hey, I just found your podcast. I am new to programming the mac and have not programmed in a long long time. Wow does Cocoa make things easier then programming in the past!!!
I have Aaron Hillegass's book Cocoa Programming more Mac OS X and am having some problems. I see that you went through that book early on and I have started watching some of those podcasts.
I am currently stuck on the creating RaiseMan without Bindings. I get an error because of a null key value. I am pulling my hair out over it (being new this is very tricky for me). Hopefully your podcast will let me figure out the problem!
Building RaiseMan without bindings is both challenging and rewarding in a sense that you would learn the internals of the Binding working and makes you appreciate the work Apple did for us with introduction of bindings.
The code library (http://cocoacast.com/?q=node/7) would be one source where you can look at the solution and find help debugging, but you can also email us to cocoacast@gmail.com and also ask people here for help.
Together we could make progress much faster, which is the whole premise of the podcast.
I'm following your shows since the early beginnings. The new website (I guess you use Drupal...) and also the paid subscriptions is a great improvement. As a self-employed developer I know how hard it is to constantly learn new ideas while also earning money for a living. This is why I really appreciate all the work from you all: Boris, Philippe, Vlad and Russ. I am very thankful that you all share the enthusiasm for Cocoa, therefore I get really new ideas and important insights without all the hazzle of evaluating everything myself.
I wish you all the best and I hope many people will join.
So, keep on coding and sharing your projects with us!
I'm just about to write a tutorial on developing a Desktop Application that is Bonjour enabled and can be 'Remote Controlled' from an iPhone. (Using Bonjour)
I'm going to include the linking of Interface objects to Controller classes (IBOutlet / IBAction etc) and give the code used.
I'll also go into how to do the development for the iPhone (To be fair once I have learnt a bit more myself ;) )
It'll be a slow process but I'm just writing to see if this is something I could contribute to Cocoa Cast - if so how would you like me to go about it?
Just sent you a direct tweet. If the article is good, we'd love to publish it on our site. Please send an email to cocoacast@gmail.com so we can get in touch.
[Vlad]
Zino Studio
Zino Studio is a proud sponsor of CocoaCast shows.
Is there a way to neatly
Is there a way to neatly integrate the podcasts downloaded from the website through Speed Download in the podcasts playlist?
puppies for sale
SproutCore
Is´nt sproutCore (http://www.sproutcore.com/) a thema for CocoaCast? I´ve found this very interesting article: http://www.roughlydrafted.com/2008/06/14/cocoa-for-windows-flash-killer-...
I sent Apple the idea to add sproutCore apps to the appStore for downloading into MobileMe (probably this idea is not new for Apple). I believe if Apple will do this, many of new "MobileMe-Apps" would be created in a short time. It would be great if these apps could communicate with iPhone and Macs like iCal and AddressBook today. I think this is the best way in contrast to Google´s planned Chrome operating system and to Microsoft´s /Adobe´s flash player solutions. With this, the cloud-app market could be flooded!
I'm curious about your mind!
syntax error before 'filename'
I sent this note to Cocoacast earlier today:
I'm enjoying your iPhone app coding tutorial.
Getting an error...
In file included from /pathto/../MainTableViewController.m
error: syntax error before 'MainCell'
Here's what the code looks like in that file...
#import
@interface MainTableViewController : UITableViewController {
IBOutlet MainCell *cell;
}
@end
Boris wrote back promptly with this...
What you are missing is forward class declaration. Your code should look like this:
#import
@class MainCell;
@interface MainTableViewController : UITableViewController {
IBOutlet MainCell *cell;
}
@end
The solution worked. Thank you, Boris.
Podcast not resumable in iTunes
The cocoacast podcast is not resumable in iTunes if gets stopped by a time-out error. However, (i m not sure), it seems to be resumable when downloded from a download manager like Speed Download.
Question1:
Any ideas on how to fix the problem in iTunes?
Question 2:
Or is there a way to neatly integrate the podcasts downloaded from the website through Speed Download in the podcasts playlist?
(Sorry, it seems I posted in the wrong place but i cannot figure out the right place for this topic)
not sure
Chris,
iTunes store claims that the items should be re-downloadable: http://support.apple.com/kb/HT1725. Not sure if they imply that they will re-download the whole file from scratch or from the right position. Download managers, such as SpeedDownload remember the file position at the last reliable point before interruption, and will attempt to start downloading from that point again. In any case, this is something that is beyond our control.
--vlad
Localisation problem: episode 17 (march 2007)
Hi
here is Phiel again, with a new problem, about an old challenge on Localisation. Especially with the AlertPanel.
I can't use my Localisable.strings file hum ... very strange.
I tried the Macros "NSLocalizedString" in myDocument.m ( as in the demo ) and even I tried localizedStringForKey with the bundle :
NSBundle *thisBundle = [NSBundle bundleForClass:[self class]];
NSString *locString = [thisBundle localizedStringForKey:@"Effacer" value:@"Pas de traduction" table:@"Localizable.strings"];
NSLog(@"traduction: %@",locString);
without any success .... I always get the Key text and not the message text.
However my Localizable.strings seems to be correct (each line is terminated by a ";")
Any idea will be welcome ....
Hi Phiel, First make sure the
Hi Phiel,
First make sure the file name is Localizable.strings not Localisable.strings (probably a typo in your post above) then make sure the Localizable.strings files are in the RaiseMan target "Copy Bundle Resources" phase. I see that the key is in French, just make sure the key is the same across languages ("Effacer" = "Effacer" in french and "Effacer" = "Delete" in english for example).
If your Mac is running in French you must have a french Localizable.strings file in the French.lproj directory.
Hope this helps.
~Philippe G
Hi Philippe, Thanks for your
Hi Philippe,
Thanks for your post.
My files are in the RaiseMan "Copy Bundle Resource" and my files are correctly named (Localizable.strings).
I noticed that InfoPlist.strings contains just a file named English, but I don't know if it's related to my problem.
Anyway, I must go ahead with the next podcast, and I will go back to this problem later, with a new project.
Question about episode 15
Hi,
In episode 15, In the Demo associated with "Using NsDefault". You show and explain the code of the method : windowControllerDidLoadNib (from MyDocument class),
but you don't show or explain where tableView come from.
[tableView setBackgroundColor:[NSKeyedUnarchiver unarchiveObjectWithData:colorAsData]];
It's seems to be an instance of NSTableView, but I'm not sure, could you explain a little bit more about this variable.
Thanks
Philippe.
I answer to myself. In fact,
I answer to myself.
In fact, I try to code the demo following the data and code given by Boris, but to complicate my task ;o)) I use Advanced Raise Man more than Raise man, and IB release 3.1.2. So there are some differences between the podcast and that I do.
Anyway, I have now correctly connected my NSTableView in IB, created an IBOutlet NSTableview in MyDocument class specification and it works.
Philippe
Excellent!
I'm glad our rather old episodes are still useful!
~Philippe
Surprisingly, other user did
Surprisingly, other user did not had the same issue. I know that compiled and executed Philippe's code before numerous times and had no issues. Maybe you should consider creating a new project and importing code (I know it could be tedious and error prone so I do not want to do it until I absolutely have to).
Very strange, I hope someone who had this issue would comment and we could solve it together.
Boris
Problem with an old challenge
Hi,
I'm trying to work on an old challenge (I know I'm very late) , RaiseMan Advanced, (advanced ok ... but with a bug =;o)) )
I downloaded the code from the code library, but when I try to build the project I get a lot of warnings and one error.
The error is about the info copy.plist cause the builder is searching it on /Users/boris/Documents/....etc..
Don't get me wrong, boris, You are great and cocoacast is very interresting, but I have not yet created a user "boris" on my mac ;o))
Sorry for my poor english....
Phil.
Hi Phil, Not sure to what you
Hi Phil,
Not sure to what you are refering to as "Builder" but just edit the info copy.plist file. It should be simple enough. It was created a while ago with old version of Xcode, so some twicking may be needed.
Let me know if you need more help.
Boris
Hi Boris, and thanks for your
Hi Boris,
and thanks for your quick answer.
In fact, when I talked about builder it was just for "build and go" command ( the Xcode automatic make ).
I have edited the differents files. but I don't find which one content "Your user path" (/Users/boris/Documents.... I don't know if it is coded directly into the xcode project file, but anyway I can't open it with textedit....
Did the other users had the same problem as me ?
the whole message:
mkdir /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced/build/Development/RaiseManAdvanced.app/Contents
"/Users/boris/Documents/CocoaProjects/Chapter6/RaiseManAdvanced/Info copy.plist" -genpkginfo /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced/build/Development/RaiseManAdvanced.app/Contents/PkgInfo -expandbuildsettings -o /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced/build/Development/RaiseManAdvanced.app/Contents/Info.plist
cd /Users/philippe/Documents/Cocoa-Dev/Raisemanadvanced
error: The file “Info copy.plist” does not exist.
Application Target Settings...
Hi Phiel,
Please have a look at the application target info (right click on RaisemanAdvanced in the "Targets" section and select "Get Info") then search for "Boris", you will see that the "Package" configuration option "Info.plist File" will show up, you need to change the path and the file name to match yours (just look at the info.plist info in the Resource folder to see the path).
Hope this helps,
~Philippe
Hi Philippe, Thanks for your
Hi Philippe,
Thanks for your help, it works fine now....
So I can start to search the bug right now
Philippe.
Thanks you guys!
Hey, I just found your podcast. I am new to programming the mac and have not programmed in a long long time. Wow does Cocoa make things easier then programming in the past!!!
I have Aaron Hillegass's book Cocoa Programming more Mac OS X and am having some problems. I see that you went through that book early on and I have started watching some of those podcasts.
I am currently stuck on the creating RaiseMan without Bindings. I get an error because of a null key value. I am pulling my hair out over it (being new this is very tricky for me). Hopefully your podcast will let me figure out the problem!
Thanks again!
RaiseMan without Bindings
Building RaiseMan without bindings is both challenging and rewarding in a sense that you would learn the internals of the Binding working and makes you appreciate the work Apple did for us with introduction of bindings.
The code library (http://cocoacast.com/?q=node/7) would be one source where you can look at the solution and find help debugging, but you can also email us to cocoacast@gmail.com and also ask people here for help.
Together we could make progress much faster, which is the whole premise of the podcast.
Thanks,
~Boris
Nice Job! And Thank you
Thank you for your content, I find the new advanced topics very helpful. Keep up the great work!
u do a great job
i just explore ur site yesterday n i am very excited about ur podcasts.
thanx 4 sharing ur cocoa-learning experience.
go ahead, guys, ur on a right way ;)
sincerly,
tiriqs
Stay tuned and we will bring
Stay tuned and we will bring more on!:)
Are you interested in any particular topics?
Good luck CocoaCast!
I'm following your shows since the early beginnings. The new website (I guess you use Drupal...) and also the paid subscriptions is a great improvement. As a self-employed developer I know how hard it is to constantly learn new ideas while also earning money for a living. This is why I really appreciate all the work from you all: Boris, Philippe, Vlad and Russ. I am very thankful that you all share the enthusiasm for Cocoa, therefore I get really new ideas and important insights without all the hazzle of evaluating everything myself.
I wish you all the best and I hope many people will join.
So, keep on coding and sharing your projects with us!
Thomas
Contributing
Hi CocoaCast,
I'm just about to write a tutorial on developing a Desktop Application that is Bonjour enabled and can be 'Remote Controlled' from an iPhone. (Using Bonjour)
I'm going to include the linking of Interface objects to Controller classes (IBOutlet / IBAction etc) and give the code used.
I'll also go into how to do the development for the iPhone (To be fair once I have learnt a bit more myself ;) )
It'll be a slow process but I'm just writing to see if this is something I could contribute to Cocoa Cast - if so how would you like me to go about it?
I'll be putting it on my blog at :
http://eggsylife.blogspot.com
Many thanks in advance.
Eggsy
Twiter: @eggsy84
contributing
Just sent you a direct tweet. If the article is good, we'd love to publish it on our site. Please send an email to cocoacast@gmail.com so we can get in touch.
[Vlad]