Delovski Bouquet |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Feb 20, 2018 9:29 pm Post subject: Clipboard |
|
|
system ("openssl pkcs12 -in ~/Documents/certificate.p12 -passin pass:9CtpLA -clcerts -nodes | openssl x509 -noout -enddate > ~/Documents/date.txt"); |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Tue Feb 20, 2018 10:20 pm Post subject: |
|
|
Code: | /* --------------------------------------- FIELD LAYOUT FLAGS -------------- */
#define ID_LF_CALC_WIDTH 1 // --- flow, override dfltCalcWidthFlag
#define ID_LF_LABEL_BESIDE 2 // --- flow, override dfltBesideFlag
#define ID_LF_LABEL_ABOVE 4 // --- flow, override dfltBesideFlag
#define ID_LF_NEXT_PAIR_FIT 8 // --- flow, override dfltTrailingFlag
#define ID_LF_NEXT_PAIR_BELOW 16 // --- flow, override dfltTrailingFlag
|
Last edited by Ike on Mon Mar 02, 2020 10:24 pm; edited 8 times in total |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Tue Feb 27, 2018 12:48 pm Post subject: |
|
|
Code: | - (void)viewDidLoad
{
[super viewDidLoad];
self.initiaTransform = self.view.transform;
#ifdef _NIJE_
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
if (@available(iOS 13,*)) {
UINavigationBar *bar = self.navigationController.navigationBar;
bar.scrollEdgeAppearance = bar.standardAppearance;
UINavigationBarAppearance *appearance = bar.standardAppearance;
appearance.backgroundColor = [UIColor clearColor];
NSDictionary *attributes = bar.titleTextAttributes;
appearance.titleTextAttributes = attributes;
attributes = bar.largeTitleTextAttributes;
appearance.largeTitleTextAttributes = attributes;
bar.scrollEdgeAppearance = appearance;
bar.standardAppearance = appearance;
bar.compactAppearance = appearance;
}
#endif
#endif
// CGSize viewSize = self.view.frame.size;
// CGFloat verPosition = 48.f;
// [self placeDynamicFields];
UIBarButtonItem *barButton = [[UIBarButtonItem alloc] initWithTitle:@"❮ Back" // u276e
style:UIBarButtonItemStylePlain
target:self
action:@selector(popToParentViewController:)];
self.navigationItem.leftBarButtonItem = barButton;
} |
Last edited by Ike on Sun Jul 05, 2020 8:10 pm; edited 1 time in total |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Mar 19, 2018 3:57 pm Post subject: |
|
|
Code: | char *(*utlRobaExtraNaziv) (SkladRecord *skladPtr, char *nameBuff); // rec->str
void (*utlSplitRobaExtraNaziv) (char *fullName, SkladRecord *skladPtr); // str->rec
pInApplData->pup->utlRobaExtraNaziv = pr_RobaExtraNaziv;
pInApplData->pup->utlSplitRobaExtraNaziv = pr_SplitRobaExtraNaziv;
#define pr_RobaExtraNaziv pInAppData->pup->utlRobaExtraNaziv
#define pr_SplitRobaExtraNaziv pInAppData->pup->utlSplitRobaExtraNaziv
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Apr 09, 2018 3:22 pm Post subject: |
|
|
#define KAK_SELECT(BASE,NAME) ((ls->bil_type == 1) ? BASE ## h_ ## NAME : BASE ## h_ ## NAME) |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Aug 29, 2018 6:07 pm Post subject: |
|
|
Code: | dtGData->lastEventTick = TickCount ();
GetDateTime (&dtGData->lastEventDateTime);
mouseRect.left = mouseLoc.h;
mouseRect.top = mouseLoc.v;
id_GlobalToLocalRect (&mouseRect, form->my_window);
con_printf ("Mouse pos: %hd,%hd\n", mouseLoc.h=mouseRect.left, mouseLoc.v=mouseRect.top);
if (!id_FindFirstScrollBar(form, &mouseLoc, &sbIdx) && id_field_enabled(form, sbIdx+1)) {
if (delta > 0)
id_set_ctrl (form, sbIdx+1, form->edit_def[sbIdx]->e_occur - 1); // 1 is UP
else if (delta < 0)
id_set_ctrl (form, sbIdx+1, form->edit_def[sbIdx]->e_occur + 1); // -1 is DOWN
id_ResetFieldHover (form, mouseLoc);
}
else if (!id_FindScrollingList(form, &sbIdx) && id_field_enabled(form, sbIdx+1)) {
if (delta > 0)
id_ListKey (form, 30); // 30 is UP Arrow Key
else if (delta < 0)
id_ListKey (form, 31); // 31 is DOWN Arrow
}
|
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Sep 21, 2018 10:34 am Post subject: |
|
|
Code: |
case IDP_CE_EPOT_TITLE:
if (cfgIndex < 6) {
strNCpy (cfgText, configPtr->pot.c_e_pot_title[cfgIndex], buffLen);
return (cfgText);
}
break;
case IDP_CE_EPOT_TEXT:
if (cfgIndex < 6) {
strNCpy (cfgText, configPtr->pot.c_e_pot_text[cfgIndex], buffLen);
return (cfgText);
}
break;
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Sep 24, 2018 9:27 pm Post subject: |
|
|
Code: | case CfgTableSectionDecimalSeparator: // ------------------------------------------------------------------- DecimalSeparator
if ([[self class] levelForSelectedSeparator] != indexPath.row) {
NSIndexPath *tmpIndexPath = [NSIndexPath indexPathForRow:[[self class] levelForSelectedSeparator]
inSection:indexPath.section];
cell = [tableView cellForRowAtIndexPath:tmpIndexPath]; // Deselect the Old One
cell.accessoryType = UITableViewCellAccessoryNone;
cell = [tableView cellForRowAtIndexPath:indexPath]; // Now Select the New One
cell.accessoryType = UITableViewCellAccessoryCheckmark;
[[self class] setLevelForSelectedSeparator:indexPath.row];
}
break;
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Sep 24, 2018 9:28 pm Post subject: |
|
|
Code: | static short gGSelectetSeparatorLevel = 0;
+ (BOOL)selectedSeparatorForLevel:(NSInteger)vLevel
{
if (gGSelectetSeparatorLevel == vLevel)
return (YES);
return (NO);
}
+ (NSInteger)levelForSelectedSeparator
{
return (gGSelectetSeparatorLevel);
}
+ (void)setLevelForSelectedSeparator:(NSInteger)vLevel
{
gGSelectetSeparatorLevel = vLevel;
}
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Sep 26, 2018 4:44 pm Post subject: |
|
|
Code: | /* ................................................... strNCpyUntil ................ */
char *strNCpyUntil (char *s1, const char *s2, char termc, long n, char **restPtr) // or see id_StriCmpCro
{
char *tar = s1;
if (restPtr)
*restPtr = NULL;
while (n-- && *s2 && (*s2 != termc))
*s1++ = *s2++;
*s1 = '\0';
if (restPtr && *s2)
*restPtr = (char *)(s2+1);
return (tar);
}
|
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Oct 03, 2018 4:47 pm Post subject: |
|
|
Code: | - (void)readDefaults;
{
// if (!self.defaultCurrencies)
// self.defaultCurrencies = [DTDataHelper getUserDefaultsArrayForKey:kAllowedCurrenciesKey withDefault:nil];
AppDelegate *appDelegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
if (self.fixerLatest) {
[appDelegate passGlobalDataToWatch];
return;
}
if (!self.currencies)
[self _commonSetup];
NSString *storedBase = [DTDataHelper getUserDefaultsStringForKey:kStoredBaseKey withDefault:nil]; // String
NSDate *storedDate = [DTDataHelper getUserDefaultsDateForKey:kStoredDateKey withDefault:nil]; // Date
NSDictionary *storedRates = [DTDataHelper getUserDefaultsDictionaryForKey:kStoredRatesKey withDefault:nil]; // Dictionary
// To bi tu mogao bit left side selection
NSString *storedCurBase = [DTDataHelper getUserDefaultsStringForKey:kStoredCurBaseKey withDefault:nil];
NSString *storedCounterSide = [DTDataHelper getUserDefaultsStringForKey:kStoredCounterKey withDefault:nil];
NSArray *defaultCurrencies = [DTDataHelper getUserDefaultsArrayForKey:kAllowedCurrenciesKey withDefault:nil];
if (storedBase && storedDate && storedRates) {
NSLog (@"Reading from defaults...");
self.fixerLatest = [[FixerRecord alloc] initWithBase:storedBase
date:storedDate
rates:storedRates];
if (defaultCurrencies) {
NSInteger decLevel = [DTDataHelper getUserDefaultsIntegerForKey:kKeyDecimalSetting withDefault:0];
NSLog (@"Dec level %d...", (int)decLevel);
[self.fixerLatest setCustomSeparator:[FixerRecord separatorForSelectedLevel:decLevel]];
[appDelegate resetDecimalLevel:[NSNumber numberWithInteger:decLevel]];
[self.fixerLatest filterWithAllowedCurrencies:defaultCurrencies];
}
// if (storedCurBase && ![storedCurBase isEqualToString:storedBase])
// [self.fixerLatest setDefaultCurrency:storedCurBase];
[self resetPickerWithLeftTicker:storedCurBase
rightTicker:storedCounterSide
atStartup:YES];
// [self updateLabelForRow:[self.pickerView selectedRowInComponent:0] inComponent:0];
// [self updateLabelForRow:[self.pickerView selectedRowInComponent:1] inComponent:1];
}
if (defaultCurrencies)
[appDelegate resetDefaultCurrencies:defaultCurrencies];
} |
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Oct 03, 2018 4:49 pm Post subject: |
|
|
Code: | - (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
NSLog (@"viewDidAppear...");
if (self.savedSrcTicker && self.savedTarTicker) {
self.srcAmountFld.text = [self.fixerLatest formatDecimalValue:self.baseAmount
forCurrency:nil
asMoney:!id_CurrencyIsCrypto(self.savedSrcTicker)];
[self resetPickerWithLeftTicker:self.savedSrcTicker
rightTicker:self.savedTarTicker
atStartup:NO];
[self updateLabelForRow:[self.pickerView selectedRowInComponent:0]
inComponent:0];
[self updateLabelForRow:[self.pickerView selectedRowInComponent:1]
inComponent:1];
}
self.savedSrcTicker = self.savedTarTicker = nil;
}
|
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Mar 04, 2019 5:09 pm Post subject: |
|
|
Code: | case PRF_FIRMA_MB:
if (!find_me_kupdob_cd(docPtr->f_firma_cd)) {
if (pdvNumFlag && recKupdob[0].k_pdv_broj[0])
sprintf (tmpStr, "TAX: %s", recKupdob[0].k_pdv_broj);
else if ((recKupdob[0].k_mat_broj[0] && recKupdob[0].k_oib[0]))
sprintf (tmpStr, "MB: %s OIB: %s",
recKupdob[0].k_mat_broj, recKupdob[0].k_oib);
else if (recKupdob[0].k_mat_broj[0])
sprintf (tmpStr, "MB: %s",
recKupdob[0].k_mat_broj);
else
sprintf (tmpStr, "OIB: %s", recKupdob[0].k_oib);
idp_DrawField (i, teJustLeft, tmpStr);
}
drawUnder = FALSE;
break;
|
Code: | short i, drawUnder, pic_id = PRF_PICT;
short pdvNumFlag = FALSE;
char tmpStr[256];
// pr_GetConfigText (IDP_CT_EXT_SEG, tmpStr);
if (docPtr->f_bk_kolon == 8) {
if (!find_me_kupdob_cd(docPtr->f_firma_cd) && recKupdob[0].k_pdv_broj[0])
pdvNumFlag = TRUE;
}
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Mar 25, 2019 2:55 pm Post subject: |
|
|
Code: | /* ..................................................... id_secs2Timestamp .......... */
time_t id_secs2Timestamp (
unsigned long dateTimeSecs,
time_t *timeStamp // out
)
{
time_t retTimestamp;
struct tm tinfo;
DateTimeRec dtRec;
SecondsToDate (dateTimeSecs, &dtRec);
tinfo.tm_year = dtRec.year - 1900;
tinfo.tm_mon = dtRec.month - 1;
tinfo.tm_mday = dtRec.day;
tinfo.tm_hour = dtRec.hour;
tinfo.tm_min = dtRec.minute;
tinfo.tm_sec = dtRec.second;
tinfo.tm_isdst = 0; // or -1
retTimestamp = mktime (&tinfo);
if (timeStamp)
*timeStamp = retTimestamp;
return (retTimestamp);
}
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Apr 01, 2019 1:28 pm Post subject: |
|
|
Code: | static void pr_CalcOtprem (FBPtr theFB, short interactive)
{
char rTip, calcMalop;
short i, sfLevel = theFB->fbSFLevel;
short docDate;
double cij, vr, rbt, rbt_p, kol;
double ukVr = 0., ukKol = 0.;
if (interactive && !id_get_pen (theFB->fbForm, ID_PEN_FLDIRT)) return;
pr_GetMalopLevel (theFB->fbForm, O_POP_MALOP, &rTip, &calcMalop);
docDate = id_getdate (theFB->fbForm, O_DATE);
for (i=0; i<gOtpremMaxScroll; i++) {
kol = sfOTrans[i].t_kol;
if (kol==0.) continue;
ukKol += id_qround (kol);
cij = id_moneytod (sfOTrans[i].t_void);
vr = id_mround (cij * kol);
rbt = id_mround (vr * sfOTrans[i].t_rabat_ip / 100.);
vr = id_mround (vr - rbt);
ukVr += id_mround (vr);
}
id_FBSetShortComment (theFB, id_mk_quant(ukKol, FALSE));
}
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Fri Apr 05, 2019 2:05 pm Post subject: |
|
|
Code: | if (!outputFilePath[0] && outputFileName[0])
id_VRefNum2Path (dtGData->autoTaskVRefNum, outputFilePath);
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Apr 10, 2019 11:58 am Post subject: |
|
|
Code: | /* ................................................... id_FBInitialInflate .......... */
int id_FBInitialInflate (FBPtr theFB, short dh, short dv)
{
short hDiff = (theFB->fbFormRect.right - theFB->fbFormRect.left) - (theFB->fbSizeRect.right - theFB->fbSizeRect.left);
short vDiff = (theFB->fbFormRect.bottom - theFB->fbFormRect.top) - (theFB->fbSizeRect.bottom - theFB->fbSizeRect.top);
if (!hDiff && !vDiff) {
theFB->fbFormRect.right += dh;
theFB->fbFormRect.bottom += dv;
return (0); // did something
}
return (-1);
}
/* ................................................... id_FBInitialDeflate .......... */
int id_FBInitialDeflate (FBPtr theFB, short dh, short dv)
{
short hDiff = (theFB->fbFormRect.right - theFB->fbFormRect.left) - (theFB->fbSizeRect.right - theFB->fbSizeRect.left);
short vDiff = (theFB->fbFormRect.bottom - theFB->fbFormRect.top) - (theFB->fbSizeRect.bottom - theFB->fbSizeRect.top);
if ((vDiff == dv) && (hDiff == dh)) {
theFB->fbFormRect.right -= dh;
theFB->fbFormRect.bottom -= dv;
return (0); // did something
}
return (-1);
} |
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Thu May 30, 2019 7:28 pm Post subject: |
|
|
Code: | if (form && fldPopPage && index > 0) {
if (!(form->edit_def[index]->e_type & ID_UT_AUTO)) {
form->edit_def[index]->e_array = id_malloc_array (kIDP_MAX_POP_PAGE, 5+1);
form->edit_def[index]->e_type |= ID_UT_AUTO;
idp_setup_page_pop (form, 1);
}
else if (!form->edit_def[index]->e_array)
con_printf ("Page array not setup");
}
|
Last edited by Ike on Wed Nov 20, 2019 4:31 pm; edited 2 times in total |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun Jul 07, 2019 7:24 pm Post subject: |
|
|
Code: | + (BOOL)string:(NSString *)aString containsSubstring:(NSString *)otherString returningSeparatedComponents:(NSArray **)retComponents
{
NSRange searchRange = [aString rangeOfString:otherString
options:NSCaseInsensitiveSearch
range:NSMakeRange(0, [aString length])];
if (searchRange.location != NSNotFound) {
if (retComponents)
*retComponents = [aString componentsSeparatedByString:otherString];
return (YES);
}
return (NO);
}
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Jan 20, 2021 6:55 pm Post subject: |
|
|
#define IDP_DEST_SCREEN 0
#define IDP_DEST_PRINTER 1
#define IDP_DEST_FILE 2
#define IDP_DEST_CLIPBOARD 3 |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Tue Mar 29, 2022 3:24 pm Post subject: |
|
|
static void pr_MindFakturButtons (FBPtr theFB)
{
short i, hideIt = TRUE;
short penIsDown = id_get_pen (theFB->fbForm, ID_PEN_DOWN);
FORM_REC *form = theFB->fbForm;
if (!penIsDown) {
if (pr_InportFakturNextAvailable(theFB->fbForm)) {
hideIt = FALSE;
}
else
hideIt = TRUE;
}
else
hideIt = TRUE;
if (!hideIt && id_offscreen (form, F_B_NEXT))
id_move_field (form, F_B_NEXT, 0, -90);
else if (hideIt && !id_offscreen (form, F_B_NEXT))
id_move_field (form, F_B_NEXT, 0, 90);
} |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Thu Sep 01, 2022 5:16 pm Post subject: |
|
|
curl -X POST "https://www.moj-eracun.hr/apis/v2/GetSubjectGeneralInformation" -H "content-type:application/json; charset:utf-8" -d "{\"Username\":924870,\"Password\": \"exzL4wQ4K\",\"CompanyId\": \"04192765979\",\"SoftwareId\": \"Bouquet-001\", \"SubjectVatNumber\": \"61030490176\" }" -o ~/ErGenInfo.txt
Last edited by Ike on Mon Mar 20, 2023 9:50 pm; edited 1 time in total |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Jan 11, 2023 8:22 pm Post subject: |
|
|
// if (theFB->fbSFKolOffset)
// *(double *)(lineTarPtr + theFB->fbSFKolOffset) = sfSPITrans[spiLevel].t_kol; |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Mar 20, 2023 9:40 pm Post subject: |
|
|
curl.exe -X "GET" "https://fis-test.mps.hr/fis/fis-sales-connector/api/external/v1/plant-protection-product?startDate=2021-12-13&endDate=2021-12-13&packagingContainsUsageTypes=true" -H "accept: application/json" -H "X-API-KEY: c2e0a689-96b0-4a62-829f-74876b299298" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Apr 05, 2023 2:24 pm Post subject: |
|
|
sudo mv /usr/local/mysql/data/Bouquet_FIRMA_Firma_2022/history.ibd /usr/local/mysql/data/Bouquet_FIRMA_Firma_2022/history.ibd_ol
Last edited by Ike on Sun Apr 09, 2023 3:36 pm; edited 2 times in total |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Sun Apr 09, 2023 3:35 pm Post subject: |
|
|
Code: | #define LONG(id) long id;
#define CHAR1D(id, n) char id[n];
#define CHAR2D(id, n, m) char id[n][m];
#define ProtoCustomerRecord \
LONG(k_cust_cd) \
CHAR1D(k_customer, 42) \
CHAR2D(k_adrdess, 4, 48)
typedef struct _CustomerRecord {
ProtoCustomerRecord
} CustomerRecord;
#undef LONG
#define LONG(id) { kTlong, #id },
#undef CHAR1D
#define CHAR1D(id, n) { kTchar, #id, n },
#undef CHAR2D
#define CHAR2D(id, n, m) { kTchar, #id, n, m },
RecFieldOffset rfoCustomerRecord[] = {
ProtoCustomerRecord
{ 0, NULL, 0 }
}; |
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon Aug 28, 2023 8:14 pm Post subject: |
|
|
Code: | void MacSetRect (Rect *rect, short l, short t, short r, short b)
{
rect->left = l;
rect->top = t;
rect->right = r;
rect->bottom = b;
}
void MacInsetRect (Rect *rect, short h, short v)
{
rect->left += h;
rect->top += v;
rect->right -= h;
rect->bottom -= v;
}
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Fri Sep 01, 2023 5:13 pm Post subject: |
|
|
#if defined(CLANG)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
#endif
#if defined(CLANG)
#pragma clang diagnostic pop
#endif |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Tue Jan 23, 2024 1:03 pm Post subject: |
|
|
if (![rates objectForKey:@"HRK"]) {
NSMutableDictionary *newRates = [NSMutableDictionary dictionaryWithDictionary:rates];
[newRates setObject:@1. forKey:@"HRK"]; // Later we handle real 7.5345
self.rates = newRates;
}
else
self.rates = rates; |
|
Back to top |
|
|
|