I am a total noob when its about Kotlin, but I think it is fun to use and in my free time, I am trying to learn it. I got some books and went through ...
I am a total noob when its about Kotlin, but I think it is fun to use and in my free time, I am trying to learn it. I got some books and went through ...
I'm trying to observe change of an NSMutableOrderedSet in my ViewModel with combine. I want to know when some element is added or removed of NSMutable ...
In my macOS Objective-C application, I have created a subclass of NSMutableSet. What I want to achieve is a NSMutableSet that does not use isEqual: as ...
I have an NSObject class call Details that holds 3 properties. And the impelentation of this class is In another class call Request Class i wou ...
I want to store a Swift Set in NSUserDefaults. Given that I can read a NSMutableSet value from UserDefaults using: ... it seems like I should be a ...
I have an array of NSSet instances as mentioned in below code. These all N arrays are defined in N instances of NSSet by using [NSSet setWithArray: ...
I have label and NSMutable Set. I want to assign my set value to label.text. mutSet.allObjects.componetsJoinedByString("\n") throws compile time ...
I have two entities Student and Subjects. Student can have multiple subjects. I am getting NSMutableSet object from Student (NSManagedObject) Now ...
Is there a way to convert NSMutableSet to NSSet? I have tried several methods: moving to an NSArray and the setWithArray; instantiating an NSSet with ...
In Swift 3, I would like to be able to create a protocol which allows me to add elements and iterate through using for element in. The protocol should ...
I have a Objective-C class called FactorHelper whose definition is below. It has a property called factors which is an NSMutableArray of NSNumbers. I ...
I am using Core Data in my app and am dealing with a many to many relationship between two entities. My goal is to have the user select which of one e ...
I'm trying to draw a path (with MKMapView). But I have: NSInvalidArgumentException ', reason:' *** - [NSMutableOrderedSet addObject:]: object can ...
I was sorting an nsmutableSet but I met a weird problem. but the output is : ( 1, 2, 3, 4, 5, 6 ), ( 10, 8, 9 ), ( 15, 16, 17, 18 ) ) why it is(1 ...
I have an NSMutableSet set that contains custom made objects who are a subclass of SKNode. I am making a game where these objects are added and remove ...
I am creating a label (CorePlot) object in a for loop and trying to add it to NSMutableSet which I need to pass a a parameter. Strangely only one ob ...
Create one nsmutableset with capacity for example 3, but you can add more than 3 objects into it. So what is the real capacity ? From Apple Docs, see ...
Why does this code results to "Type 'CGPoint' does not conform to protocol 'AnyObject'"? ...
I am trying to create a custom NSMutableSet that doesn't use the standard isEqual: and hash selectors on objects. Typically I want to use this with P ...
I am having two NSArray which contains integer values. I want to get common values from both arrays and for this am using NSMutableSet. Here is my co ...