Dive into the world of programming languages used for app development.

Posts under General subtopic

Post

Replies

Boosts

Views

Activity

Is Objective - C Dead?
I know that Xcode still lets you write apps in Objective - C, but there is hardly any (new) documentation, and very few new apps are written in it. To add to the question - how viable would it be to learn and write a new app in Objective - C in 2021?
3
0
1.6k
Dec ’21
Emulator file scan problem
I tried to find the file inside the ios emulator. When I scan the directory all the time, it finds my Mac Book local directory. I don't know why the external folder is being read by the emulator. Turn it off or Is there any way to access the folder inside the emulator? The code proceeds from a test application written in Objective-C. Here's the code:    if ((dir = opendir("/Users/macAccount")) != nullptr) {     while ((diread = readdir(dir)) != nullptr) {       printf ("target : %s", diread->d_name);     }     closedir (dir);   } ==> result (This is the contents of my account on the macbook.)  .android| DataGripProjects| Public| .ssh| Movies| .vimrc| Applications| .gradle| .Trash| Mon.tar.gz| .npm| ...
1
0
715
Dec ’21
[iOS] Shared Resources for two Apps from the same developer
Is it possible that AppA and AppB which are from the same developer share some local resources on a given device.For instance:Can the data written by App A, be read by App B (through Shared Defaults or any other mechanism)?The following link is to a similar question raised on stackoverlfow. I wanted to be certain thus, raising this question on Apple Dev Forums.https://stackoverflow.com/questions/9079378/shared-resources-for-two-apps-from-the-same-developer
11
0
9.5k
Dec ’21
How detect SDK version
I have the following code:@implementation NSWindow (Coordination) - (NSPoint)convertPointFromScreen:(NSPoint)point { NSRect rect = NSMakeRect(point.x, point.y, 1, 1); return [self convertRectFromScreen:rect].origin; }I get a compiliation warning:Category is implementing a method which will also be implemented by its primary classI know Swift has builtin preprocessor directives to detect SDK version, but don't know how to do this in objc. Any suggestions?
6
0
8.2k
Nov ’21
Is Objective - C Dead?
I know that Xcode still lets you write apps in Objective - C, but there is hardly any (new) documentation, and very few new apps are written in it. To add to the question - how viable would it be to learn and write a new app in Objective - C in 2021?
Replies
3
Boosts
0
Views
1.6k
Activity
Dec ’21
Emulator file scan problem
I tried to find the file inside the ios emulator. When I scan the directory all the time, it finds my Mac Book local directory. I don't know why the external folder is being read by the emulator. Turn it off or Is there any way to access the folder inside the emulator? The code proceeds from a test application written in Objective-C. Here's the code:    if ((dir = opendir("/Users/macAccount")) != nullptr) {     while ((diread = readdir(dir)) != nullptr) {       printf ("target : %s", diread->d_name);     }     closedir (dir);   } ==> result (This is the contents of my account on the macbook.)  .android| DataGripProjects| Public| .ssh| Movies| .vimrc| Applications| .gradle| .Trash| Mon.tar.gz| .npm| ...
Replies
1
Boosts
0
Views
715
Activity
Dec ’21
[iOS] Shared Resources for two Apps from the same developer
Is it possible that AppA and AppB which are from the same developer share some local resources on a given device.For instance:Can the data written by App A, be read by App B (through Shared Defaults or any other mechanism)?The following link is to a similar question raised on stackoverlfow. I wanted to be certain thus, raising this question on Apple Dev Forums.https://stackoverflow.com/questions/9079378/shared-resources-for-two-apps-from-the-same-developer
Replies
11
Boosts
0
Views
9.5k
Activity
Dec ’21
How detect SDK version
I have the following code:@implementation NSWindow (Coordination) - (NSPoint)convertPointFromScreen:(NSPoint)point { NSRect rect = NSMakeRect(point.x, point.y, 1, 1); return [self convertRectFromScreen:rect].origin; }I get a compiliation warning:Category is implementing a method which will also be implemented by its primary classI know Swift has builtin preprocessor directives to detect SDK version, but don't know how to do this in objc. Any suggestions?
Replies
6
Boosts
0
Views
8.2k
Activity
Nov ’21