GCKUIUtils ক্লাস
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ইউজার ইন্টারফেস ইউটিলিটি পদ্ধতি।
- থেকে
- 3.0
উত্তরাধিকারসূত্রে এনএসওবজেক্ট।
|
(nullable UIViewController *) | + currentViewController |
| রুট ভিউ কন্ট্রোলার দিয়ে শুরু করে ভিউ কন্ট্রোলার হায়ারার্কির মাধ্যমে নেভিগেট করে বর্তমানে সক্রিয় ভিউ কন্ট্রোলার ফিরিয়ে দেয়। আরও...
|
|
(NSString *) | + timeIntervalAsString: |
| MM:SS বা H:MM:SS ফর্ম্যাটে একটি সময়ের ব্যবধান ফর্ম্যাট করে৷ আরও...
|
|
(NSString *) | + localTimeAsString: |
| বর্তমান লোকেলের উপর ভিত্তি করে একটি স্থানীয় সময় ফর্ম্যাট করে। আরও...
|
|
+ (nullable UIViewController *) currentViewController |
|
|
|
রুট ভিউ কন্ট্রোলার দিয়ে শুরু করে ভিউ কন্ট্রোলার হায়ারার্কির মাধ্যমে নেভিগেট করে বর্তমানে সক্রিয় ভিউ কন্ট্রোলার ফিরিয়ে দেয়।
+ (NSString *) timeIntervalAsString: |
|
(NSTimeInterval) |
timeInterval |
|
MM:SS বা H:MM:SS ফর্ম্যাটে একটি সময়ের ব্যবধান ফর্ম্যাট করে৷
+ (NSString *) localTimeAsString: |
|
(NSTimeInterval) |
localTime |
|
বর্তমান লোকেলের উপর ভিত্তি করে একটি স্থানীয় সময় ফর্ম্যাট করে।
- থেকে
- 4.3.4
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eGCKUIUtils\u003c/code\u003e provides user interface utility methods for iOS development, available since version 3.0.\u003c/p\u003e\n"],["\u003cp\u003eIt offers methods to access the current view controller within the hierarchy.\u003c/p\u003e\n"],["\u003cp\u003eIt includes functionalities for formatting time intervals and local times into readable strings.\u003c/p\u003e\n"]]],["The `GCKUIUtils` class provides static utility methods for user interface operations. It can retrieve the currently active `UIViewController` by traversing the view controller hierarchy. Additionally, it offers methods to format time: `timeIntervalAsString:` formats a given time interval into MM:SS or H:MM:SS format, and `localTimeAsString:` formats local time based on the user's current locale.\n"],null,["# GCKUIUtils Class\n\n[Class Methods](#pub-static-methods) \nGCKUIUtils Class Reference \n\nOverview\n--------\n\nUser interface utility methods.\n\nSince\n: 3.0\n\nInherits NSObject.\n\n|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Class Method Summary -------------------- ||\n| (nullable UIViewController \\*) | + [currentViewController](/cast/docs/reference/ios/interface_g_c_k_u_i_utils#a8a1fccf9f23a664915d0fd6353c144bd) |\n| | Returns the currently active view controller, by navigating through the view controller hierarchy beginning with the root view controller. [More...](#a8a1fccf9f23a664915d0fd6353c144bd) |\n| ||\n| (NSString \\*) | + [timeIntervalAsString:](/cast/docs/reference/ios/interface_g_c_k_u_i_utils#aba20dac2503632862cb2ad2881be3aeb) |\n| | Formats a time interval in MM:SS or H:MM:SS format. [More...](#aba20dac2503632862cb2ad2881be3aeb) |\n| ||\n| (NSString \\*) | + [localTimeAsString:](/cast/docs/reference/ios/interface_g_c_k_u_i_utils#ac47b0182e973e7c77d5540db4c47de36) |\n| | Formats a local time based on the current locale. [More...](#ac47b0182e973e7c77d5540db4c47de36) |\n| ||\n\nMethod Detail\n-------------\n\n|--------------------------------------------------------|---|---|---|\n| + (nullable UIViewController \\*) currentViewController | | | |\n\nReturns the currently active view controller, by navigating through the view controller hierarchy beginning with the root view controller. \n\n|---------------------------------------|---|------------------|----------------|---|\n| + (NSString \\*) timeIntervalAsString: | | (NSTimeInterval) | *timeInterval* | |\n\nFormats a time interval in MM:SS or H:MM:SS format. \n\n|------------------------------------|---|------------------|-------------|---|\n| + (NSString \\*) localTimeAsString: | | (NSTimeInterval) | *localTime* | |\n\nFormats a local time based on the current locale.\n\nSince\n: 4.3.4"]]