How to convert a mySQL date from an NSString to a NSDate ?
You can create a static method like this: [crayon-60108825b00b5555701900/]
You can create a static method like this: [crayon-60108825b00b5555701900/]
Vous pouvez créer une méthode statique comme celle là : [crayon-60108825b0daa247289464/]
Si votre NSDictionary (ou NSMutableDictionary) s'appelle "myDictionary", utilisez : [crayon-60108825b11dc482632161/]
If your NSDictionary (or NSMutableDictionary) is named "myDictionary", just use : [crayon-60108825b1b9c656222895/][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]
Basic question, and sometimes we’re thinking of non « basic » answer because as a beginner, we’re not comfortable enough on using all magical stuff from objective-C/Cocoa… Well, in reality, we can let Quartz do that by itself 😀
Some beginners may have difficulties to insert into their SQL queries quotes like in « WPTechnology’s articles »…
You surely often see on several application an UIAlertView telling you to wait until something happens (sending information to a server, etc) like this :
J’ai fait une classe avec des méthodes statiques & dynamiques (appelons la myWonderfulTool.h), que je voudrais pouvoir utiliser dans tous mes autres fichiers .m sans avoir à toujours appeler la syntaxe :
I’ve made a class including static & dynamics methods (say myWonderfulTool.h), that I want to use in all my other .m files without having to always call the syntax : [code= »c# »]#include « myWonderfulTool.h »[/code] This is very simple to do.