Questions tagged [modern-runtime]

6 questions
10
votes
3 answers

Seeing the value of a synthesized property in the Xcode debugger when there is no backing variable

I just recently began using synthesized instance variables in my iPhone projects. The problem is, I can't see the synthesized ivars in the debugger. Is there any way to view the properties of an object in the debugger when it's not using the…
kubi
  • 48,104
  • 19
  • 94
  • 118
8
votes
3 answers

Objective-c modern runtime using both properties and ivars in interface block

I've seen code examples (from the book Beginning iPhone 4 Development) where they both declare ivars inside the interface block and then declare properties for the same. Like this: @interface ViewController : UIViewController { UITableView…
Peter Warbo
  • 11,136
  • 14
  • 98
  • 193
4
votes
5 answers

When would you NOT want to use @synthesized instance variables?

In the Modern Objective-C runtime, you can do something like this: @interface MyClass : NSObject { } @property NSString *stringProperty; @end @implementation MyClass @synthesize stringProperty; @end It is my understanding with the modern runtime…
jbrennan
  • 11,943
  • 14
  • 73
  • 115
3
votes
1 answer

Is declare new property in class extension a bad practice in Objective-C?

One strong advantage of class extension is that with class extension you can declare a readonly property in the header file and override this property in class extension as readwrite property. Like below : //SomeClass.h @interface SomeClass :…
Jimmy
  • 1,094
  • 10
  • 22
0
votes
2 answers

How to list all modern UI apps?

I would like to list all Modern UI apps installed on my Windows 8 machine. Is there a way to list all installed Modern UI apps from a standard desktop application (with administrator permissions).
Friedrich
  • 645
  • 11
  • 26
0
votes
1 answer

Detecting and Implementing Scrollbar Style in Window 8/RT Application

I am developing a Custom Control to be placed inside a ScrollViewer, I have Custom coded a generic.xaml for applying visual style for the Scrollviewer.
Arun Selva Kumar
  • 2,593
  • 3
  • 19
  • 30