Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about nsobject

Read more about nsobject

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - nsobject

Collectionview in NSObject Class doesn't work?

I wrote a class contain a collectionview to show in main viewcontroller, but it was "never" shows the cell data. And the cell background color wasn't change to black..(change color is only f...
test-img

Mach

swift

uicollectionview

uicollectionviewcell

nsobject

Votes: 0

Answers: 2

Latest Answer

I could be wrong but I have a feeling you do something like this in your viewDidLoad let cellClass = CellClass() As soon as the didLoad function completes its execution, cellClass no longer persists ...
test-img

Shawn Frank

Why can't I mutate an NSObject allocated as mutable, referenced as immutable, then cast back to mutable?

I'm allocating an NSMutableAttributedString, then assigning it to the attributedString property of an SKLabelNode. That property is an (NSAttributedString *), but I figured that I could cast it to an ...
test-img

eglynum

objective-c

nsattributedstring

nsobject

nsmutableattributedstring

Votes: 0

Answers: 1

Latest Answer

Is it true that I can't mutate an NSObject that was allocated as mutable just because it was referenced as immutable? No, your general intuition here is correct. Ignoring for a second the concept of...
test-img

Itai Ferber

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved