objective c - ObjectiveC modal dialog. There is something I am missing with the class interaction -


निम्न कोड में (एपल उदाहरण पृष्ठों से)

  - (शून्य) showCustomDialog: (NSWindow *) विंडो // उपयोगकर्ता ने संवाद देखने को कहा है। इसे प्रदर्शित करें {If (! MyCustomDialog) [NSBundle loadNib नामांकित: @ "MyCustomDialog" स्वामी: स्वयं]; [एनएसएपीपी शुरूआती है: myCustomDialog modalForWindow: खिड़की मोडलडिलाएटेट: शून्य नहीं किया गया चुने हुए: शून्य संदर्भइन्फ़ो: शून्य]; [एनएसएपी रनमॉडलफॉरवॉन्डो: मायकस्टमडिलाओग]; // संवाद यहाँ ऊपर है [एनएसएपी अंत शेट: मैकस्टमडायलोग]; [MyCustomDialog आदेशऑटोः स्व]; }   

मेरे कस्टडीडियोलॉग वैरिएबल कभी भी कुछ भी कैसे सेट है, और कब?

यह आपकी कक्षा में एक आउटलेट होगा, संवाद के निबन्ध में, फ़ाइल के मालिक को यह कहते हुए निर्धारित किया जाता है कि आप इसे किससे फोन कर रहे हैं, और आउटलेट इसके साथ जुड़ा हुआ है। मालिक के साथ निब को लोड करते समय, आउटलेट आबादी है।

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

javascript - Read complete data from stream from onMessage -