chevron-up bell reply instagram twitter2 feed3 finder search-25px-p0

Tag Archives: Objective-C

Selector in Objc/Swift

In this short article you will know: Selector in Objc Selector in Swift Passing value using Selector Selector in Objc: Selector is a concept of Objective-C Runtime, which allows to turn a method's name (NSString) into a SEL type. Basically you cand find @selectoreverywhere, s……

Runtime in Objective-C

Objective-C is a dynamic language. With Runtime, objects can be represented through struct in C, and methods can be done via c language function. Runtime is written in assembly and c. With the benefits of Runtime, we have another way to call class and instance methods. The foll……

Singleton in Objective-C/Swift

What is behind the Singleton? Singleton: Instantiation of a class to ONLY one object Features of Singleton: One class only can have only one instance; It must can create this instance automatically; This instance must be provided to other objects. Benefits of Singleton: All o……

Key-Value Coding and Key-Value Observing in Objective-C

What is KVO/KVC KVC(Key-Value Coding) is a coding style which coming from Functional Programming, KVO(Key-Vlaue Observing) is the technology that underlies Cocoa Bindings, and it provides a way for objects to get notified when the properties of other objects are changed. How do……

iOS TableView Development Tips

The following are some frequently used iOS TableView tips while developing: Change the tableview background color: Sometimes you probably need to change the whole table view background. self.tableView.backgroundColor = colorTableview; ……

Swift Extension and Objective-C category

Category in Objective-C, Extension in Swift are the same concept. They can help you to organise your class code. With category and extension, you don't have to create a inherited class. Extension in Swift Step 1: Create a Swift file Then in the Swift file: .gist table { margin……